以下c++代码翻译成delphi,如何做呢? ( 积分: 200 )

  • 主题发起人 主题发起人 我的一方
  • 开始时间 开始时间

我的一方

Unregistered / Unconfirmed
GUEST, unregistred user!
cdCAPI CDEnterReleaseControl(<br> cdHSource hSource,<br> cdReleaseEventCallbackFunction* pFunc,<br> cdContext Context<br>);<br>ypedef cdUInt32 cdSTDCALL cdReleaseEventCallbackFunction (<br> cdReleaseEventID EventID, /* Event ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br> const void * pData, /* Pointer to the event data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; */<br> cdUInt32 DataSize, /* Size of the event data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br> cdContext Context /* Context handle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br>);<br>以上两个谁能帮我翻译成delphi下的,我翻译了一下,但是会出现 在动态链接库中无法定位CDEnterReleaseControl
 
cdCAPI CDEnterReleaseControl(<br> cdHSource hSource,<br> cdReleaseEventCallbackFunction* pFunc,<br> cdContext Context<br>);<br>ypedef cdUInt32 cdSTDCALL cdReleaseEventCallbackFunction (<br> cdReleaseEventID EventID, /* Event ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br> const void * pData, /* Pointer to the event data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; */<br> cdUInt32 DataSize, /* Size of the event data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br> cdContext Context /* Context handle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/<br>);<br>以上两个谁能帮我翻译成delphi下的,我翻译了一下,但是会出现 在动态链接库中无法定位CDEnterReleaseControl
 
确实够难的,我帮你顶下,极度GZ
 
大家帮帮忙啊,我是实在没办法在来求大家的,我都弄了好几天了。
 
没弄过,cdc指的啥?cdHSource/cdContext又是啥?<br>你给的信息太少了。
 
function CDEnterReleaseControl(hSource: Cardinal; pFunc: Pointer; Context: Cardinal): Cardinal; stdcall;<br><br>function cdReleaseEventCallbackFunction(EventID: Cardinal; Data: Pointer; DataSize, Context: Cardinal): Cardinal; stdcall;
 
后退
顶部