引用dll的錯誤?? |
缺席
|
mine
中階會員 發表:28 回覆:129 積分:56 註冊:2004-03-31 發送簡訊給我 |
請問有人能用D7 or D5 載入這隻dll檔嗎ftp://211.21.197.2/switchnt.dll
我在定義後編譯時出現了初始值失敗0Xc000008 這訊息
function TS_CloseConference( ConferenceID:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_ConnectStatus( PortNumber:Integer;var PortString:Integer;Direction:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_CreateConference(Mode,PortCount:Integer;var PortString,ConferenceID:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_DisconnectAll():Integer;stdcall;external 'switchnt.dll';
function TS_GetDevicePortNo( DeviceType, DeviceLineNo:Integer;var PortNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_GetTonePortNo( ToneType, ToneSetNo:Integer;var PortNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_JoinConference( ConferenceID,PortNumber:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_OnePortDisconnectAll( PortNumber, Direction:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SetBusyTone(var Cadence :Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SetRingbackTone(var Cadence :Integer; SetNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_StartSwitch(var TotalPort:LongInt; SwitchApid:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_StopSwitch( SwitchApid:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_Switch( Action:Integer; PortA:Integer; PortB:Integer; Direction:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SwitchToAudioIn( Action, PortNo, SetNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SwitchSCSA( Action, PortA, SCSABus, SCSASlot, Direction:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SwitchToSpeaker( Action, PortNo, SetNo, Mode:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_UnjoinConference( ConferenceID, PortNumber:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_SetConferenceRoomSize( RoomSize:Integer;var MaxRoomNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_GetPortTimeSlot( PortNo:Integer;var OutSCSAbus, OutSCSAslot, InSCSAbus, InSCSAslot:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_OpenConferenceRoomNumber( RoomNo:Integer):Integer;stdcall;external 'switchnt.dll';
function TS_OnlineChangeClockSource(BoardNo, ClockSource:Integer):Integer;stdcall;external 'switchnt.dll';
這時內部的函式宣告 相同的驅動有能人能載入這dll嗎?或是不吝指教
讓我知道一下我那裡用錯了 感謝
|
mine
中階會員 發表:28 回覆:129 積分:56 註冊:2004-03-31 發送簡訊給我 |
幾經測試還是無法找到解答這是新改寫的switchnt.pas 雖然可以用但是編譯初期仍會出現0xc00008的錯誤訊息 有人可以幫我解釋一下錯誤在那嗎?
Unit Switchnt;
// PURPOSE:
// Contains declarations for use by applications and other DLLs that
// link to this DLL. It is not used to build the DLL itself.
//
{$WEAKPACKAGEUNIT} interface (*$HPPEMIT '' *)
(*$HPPEMIT '#include
|
mine
中階會員 發表:28 回覆:129 積分:56 註冊:2004-03-31 發送簡訊給我 |
//
// MODULE: switchnt.h
//
// PURPOSE:
// Contains declarations for use by applications and other DLLs that
// link to this DLL. It is not used to build the DLL itself.
// #ifndef INC_DLLSKEL_H
#define INC_DLLSKEL_H
#endif // INC_DLLSKEL_H #include
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |