Hello, I want to call DLL's function at Delphi 4, I have declared the function like this:
procedure openport(n:string);external 'c:\eztt95.dll'
the program can be complied, but while executed the follow statement -- openport('0'), it show a error message--'privilege structure', whatis it mean?
I have use same DLL at VB6, it is workable. the declare statemnet is
Private Declare Sub openport lib "c:\eztt95.dll"(ByVal command$)
the execute statement is
have I made some mistake with extrenal function declaration?