Home > Software engineering >  DLL dynamic repository with question marks in other such as VB call function?
DLL dynamic repository with question marks in other such as VB call function?

Time:10-29




And the function in the figure above, there are question marks, but the provider to provide document is without question, according to the documentation such as usb_VerifyOperInfo one function called, can't find the entrance to the message, using tools to check the number is a function with, such as? Usb_VerifyOperInfo @ @ YGHPADAAH @ Z, don't know how to call in VB? Consult,

CodePudding user response:

Need stdcall method is used to derive the function, in this way can we call other vb

CodePudding user response:

DLL generated by you? Write a. If you are generated, exp file export,

CodePudding user response:

Wrong, yeah. Def file,

CodePudding user response:

Each other to have 3 files, said in VC6 can be normal call, three files below

And the other party sent a ready to call DLL interface test program, is can run, but I call in VB DLL is above mistakes, if by this way, you said to do in VC6 interface, or ask each other to provide the interface can be used in VB DLL have?

CodePudding user response:

Very thank you for your reply and care about my problem, the other party provides three files, please provide a solution, I will call in VB, which need to do?

CodePudding user response:

I said a stupid ah, now that vc can call, then you use vc to encapsulate a DLL,

CodePudding user response:

http://lanshanlhy.blog.163.com/blog/static/302294762010112832031218/

CodePudding user response:

On this, and also provide API

CodePudding user response:

His way this is a c + + export, the export name and you can see is different, and it's the sample code is also a c + +, so the compiler is normal,

CodePudding user response:

The dynamic library files in the current directory don't write path to try

CodePudding user response:

refer to 7th floor jennyvenus response:
http://lanshanlhy.blog.163.com/blog/static/302294762010112832031218/



This friend, according to the article call, no error, interface can be invoked, test to see if I can work in the afternoon, thank you very much,

CodePudding user response:

Using dynamic load,
  • Related