Вниз
Скачать: CL | DM;

проблема с DLL   Найти похожие ветки 

← →
___Guest___   (2004-03-17 17:06) [0]

library comb;
uses
 SysUtils,
 Classes;

{$R *.res}

function  temp:string; stdcall;
begin
  result:="hello world";
end;

Exports
   temp name "temp" ;

begin
end.
в программе пишу
....
implementation
function temp: string; stdcall; External "comb" name "temp";
{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
 s: string;
begin
 s:=temp;
 ShowMessage(s);
end;

так вот: сообщение выводит, но сразу после этого  - "Invalid pointer operation"
В чем проблема?!


← →
RoadStar ©   (2004-03-17 17:11) [1]

uses
ShareMem,
...


← →
Defunct ©   (2004-03-17 17:17) [2]

___Guest___   (17.03.04 17:06)  

function  temp:ShortString; stdcall;
begin
 result:="hello world";
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.027 c
3-1078393464
Bless1
2004-03-04 12:44
2004.04.04
Куда исчезают параметры TADOStoredProc?


3-1078153268
pashaz
2004-03-01 18:01
2004.04.04
DBEHGrid


6-1074880350
kor@l
2004-01-23 20:52
2004.04.04
Twebbrowser


1-1079524553
Comp
2004-03-17 14:55
2004.04.04
TStringGrid и DrawFocusRect


1-1079345571
Bes
2004-03-15 13:12
2004.04.04
насчет Plugin ом....




   Наверх