Click to See Complete Forum and Search --> : Making DLL that can be used in V/B


Jeong
September 21st, 2001, 08:07 PM
I'm devdeloping my program using V/B.
In my program, I have to implement some functionality.
Someone offered library that can implement that functionality.
I know that only DLL can be called by V/B program.
What is more, the dll source is made by Visual C++.
How can I make a dll to fit to call?
Vaguely, I intend to make dll by wrapping lib.
There are 6-type ways to make dll.
Win32 Dynamic-Link Library
1.empty DLL project.
2.simple DLL project.
3.DLL that exports some symbols.
MFC(AppWizardDll)
4.Regular DLL with MFC statically linked.
5.Regular DLL using shared MFC DLL
6.MFC Extension DLL(using shared MFC DLL)

In the upper list, Which way do I have to select?
Could anyone who know it let me know?
Thank you.


I'm a senior programmer.
Working at CamSight, Dental imaging solutions industry.

Ed_CompSci
September 22nd, 2001, 02:23 PM
Since you are on the subject of DLLs can you tell me where I can learn about them? Books? Websites?

shree
September 22nd, 2001, 07:56 PM
One method that works is as follows:
Start with a Simple DLL project, and write your functions. Don't forget to declare the functions as __stdcall. And finally, make a .def file listing all the functions that you want to call from VB.