我在VC里写了一个程序如下:
int winmain(....
{
}..void CALLBACK Fun1(int a,int b)
{
printf("a= %d b= %d",a,b);
}然后我在Delphi写了一个调用
procedure Call_VC()
begin
asm
push 1
push 2
call @Address // the Address from VC Fun1
end;
end;现在的问题是程序运行时一切正常,当程序退出时出现 runtime error 0x......
各位有研究过没有。
int winmain(....
{
}..void CALLBACK Fun1(int a,int b)
{
printf("a= %d b= %d",a,b);
}然后我在Delphi写了一个调用
procedure Call_VC()
begin
asm
push 1
push 2
call @Address // the Address from VC Fun1
end;
end;现在的问题是程序运行时一切正常,当程序退出时出现 runtime error 0x......
各位有研究过没有。
用不着了。