|
-
Jan 12th, 2006, 10:33 AM
#1
Thread Starter
Junior Member
Deploying an EXE & DLL
Hi all,
I am new to DLL....and found some issues which hope anybody here can help me...I am developing an EXE by using a DLL, I am wondering whether I can compile the DLL together with the EXE, so that I do not need to attach the DLL together during deployment. TQ....
-
Jan 12th, 2006, 10:58 AM
#2
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.
-
Jan 15th, 2006, 10:50 AM
#3
Thread Starter
Junior Member
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...
-
Jan 15th, 2006, 10:57 PM
#4
Hyperactive Member
Re: Deploying an EXE & DLL
If it's not you who wrote the DLL, then there's not much you can do.
Signed, Rodik ([email protected])
Programmer,usesVB6ED
===========================
Copyright©RodikCo,2002.
Dont mind this signature ;] Its old
-
Jan 16th, 2006, 06:29 AM
#5
Re: Deploying an EXE & DLL
 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.
-
Jan 25th, 2006, 09:42 PM
#6
New Member
Re: Deploying an EXE & DLL
Can have some example for .dll and .cls source code.
-
Jan 26th, 2006, 07:00 AM
#7
Re: Deploying an EXE & DLL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|