C中调用的dll,请帮忙翻译成delphi,谢(25分)

  • 主题发起人 smiledayly1
  • 开始时间
S

smiledayly1

Unregistered / Unconfirmed
GUEST, unregistred user!
extern "C" __stdcall __declspec(dllexport) int Startup(
const char* a
const unsigned short b
const char* c
const char* d
const unsigned char e
const unsigned int f
const unsigned char g= 30,
const unsigned char h= 5,
const unsigned char i= 3,
const unsigned int j= 10000,
const unsigned char k= 0,
const unsigned char l= 0);
}

这是在c中定义的dll调用,对应的 delphi中的调用是什么,哪位大虾知道?
 
没有知道?
没有知道?
没有知道?
 
高手呢?出来帮一下嘛
高手呢?出来帮一下嘛
 
应该是这样吧,不是很确定[:D]
function Startup(const a:pchar;const b:byte;const c,d:pchar;const e:byte;const f:dowrd;const g:byte=30;const h:byte=5;const i:byte=3;const j:dword=10000;const K:byte=0;const l:byte=0):integer;extern '函数名' in 'Dll名.dll'; stdcall;
 
这样:
function Startup(const a:pchar;const b:byte;const c,d:pchar;const e:byte;const f:dowrd;const g:byte=30;const h:byte=5;const i:byte=3;const j:dword=10000;const K:byte=0;const l:byte=0):integer;stdcall;External'dllexport.dll';
 
这样也不对,哪位大帮忙,发个email给我,我把 dll回给你,帮我调试一下,谢谢
smiledayly@163.com
 
gzbxmcx说的应该对。
 
接受答案了.
 

Similar threads

I
回复
0
查看
744
import
I
I
回复
0
查看
581
import
I
I
回复
0
查看
776
import
I
I
回复
0
查看
801
import
I
顶部