VB production standard DLL containing custom data type parameters
Time:10-02
The search on the net, know how to use vb production standard DLL, but now I want to do the standard DLL is a custom data types of passing parameters, could you tell me how to do this the DLL, thanks to the great spirit guide, PS: VC is not, it will only a bit of VB,
CodePudding user response:
VB produced by the so-called "standard" DLL, can only be called by VB program, can't be other language program calls,
The principle of making standard DLL is that by replacing the parameters of the linker, let the linker will standard module functions as export output, but because of VB is closed source, no one can really change the VB compiler and runtime, and VB program, no matter DLL or exe need the support of the VB virtual machine, even native code,
"Standard" DLL written in VB, because still rely on VB virtual machine, and lack the necessary initialization, so I can't run normally, unless call DLL is VB program, because before this, VB virtual machine has been initialized by the program,
CodePudding user response:
In a word, using VB to make the so-called standard DLL is meaningless, and suggest that you do not waste time here,
CodePudding user response:
Yes, I will only a little VB, do the DLL using VB to call, can you do? Do Active DLL, written in the standard module functions, compile time is can't use a custom type as a parameter, how to do?