H
hexiangdong
Unregistered / Unconfirmed
GUEST, unregistred user!
我用DELPHI调用VC写的dll,其中它包括了几个函数<br>BOOL WINAPI IFInitInterface(DWORD dwCodeProtocol, DWORD dwDriverProtocol, LPCTSTR pDriverParam)<br><br>BOOL WINAPI Login_R(LPCTSTR SystemID, LPCTSTR Password)<br><br>int WINAPI SubmitA(unsigned char OrgTON, unsigned char OrgNPI, <br>LPCTSTR OrgAddr, unsigned char DestTON,unsigned char DestNPI, <br>LPCTSTR DestAddr,unsigned char PRI, unsigned char RD, unsigned char RP, <br>unsigned char SRR, unsigned char MR, unsigned char DCS, unsigned char PID,<br> LPCTSTR Schedule, LPCTSTR Expire, unsigned long Default_ID,<br> unsigned char UDHI, unsigned long UDLen, LPCTSTR UserData, <br>unsigned long* SM_ID, unsigned char* FCS)<br>由于delphi与vc的数据类型有差别,我总是调用不成功,所以请各位大侠帮忙写一下,delphi<br>如何声明,如何调用