Re: Deploying an EXE & DLL
You can include a class module within a standard VB project. When the standard VB project is compiled into an Exe the class module will become a part of it, just like a .bas module.
However, if you compile your class module into a .Dll file, then both your Dll and your Exe become two, separate, distinct files and must both be included in any deployment package.
Re: Deploying an EXE & DLL
I see.. but what should i put into the class module? Is it just a include statement to include the dll? OR I will need to write a new wrapping function to call the dll? Thanks for your help in advance...
Re: Deploying an EXE & DLL
If it's not you who wrote the DLL, then there's not much you can do.
Re: Deploying an EXE & DLL
Quote:
Originally Posted by maximilien
I see.. but what should i put into the class module? Is it just a include statement to include the dll? OR I will need to write a new wrapping function to call the dll? Thanks for your help in advance...
Class modules contain code, and are saved as .cls files. They only become .dll files if you compile the .cls file. If you didn't want to deal with two separate files (like an .exe and .dll), then create your .cls file, and simply add it to your project.
Re: Deploying an EXE & DLL
Can have some example for .dll and .cls source code.
Re: Deploying an EXE & DLL