CodePudding user response:
PB can't write DLL, only know that there are written by c + +CodePudding user response:
I PB9.0 COM can be used to generate DLL and idl interface, but can't useCodePudding user response:
Can call, stick your calling code, the error is comingCodePudding user response:
Invoked prompts the wrong myole=create oleobjectInt a
A=myole. Connecttonewobject (" PB90. N_clinic4 ")
Messagebox (" connect ", a)
If a & lt;> 0 then
Messagebox (" ERROR!" , "connect to newobject error!" )
Return
End the if
Int r_v
R_v=myole. The init ()
Messagebox (" r_v r_v)
If r_v & lt;> 0 then
Messagebox (" information ", "INIT error!" )
Return
end if
CodePudding user response:
The declaration in the external functions provides the called function?CodePudding user response:
There is a written in global external functions provides the Function of integer init (ref int r_v) library 'clinic4. DLL'CodePudding user response:
CodePudding user response:
Nobody???????CodePudding user response:
The path to the DLL?CodePudding user response:
What path? Path is generated by default with PBL in a directory, when used under the application directory, registration is successful, also is the specific call DLL function, the inside tip call external function error