Hi,
I have a VB 6.0 DLL that I wrote and a VB program that uses the DLL. I need to be able to distribute both. I want to distribute the executable without the source code for the DLL and the source code for the VB calling program.
First, what is the best way to compile the DLL? Should I use the Package and Deployment or just File|Make. If I use the Package and Deployment, It creates a Package folder and a sub folder Support. I assume I would have to distribute the .CAB, setup.exe and SETUP.LST that are in the Package folder but I would not distribute anything in the Support folder. Is that true?
If I then run the setup.exe on another computer will it register the DLL on that computer? If, yes where does it put it? Someone told me that I should create a batch file to register the DLL on another computer. If I need to do that does anyone have a sample that I could use to understand how to do this.
Do I have to use REGSRVR32 to register the DLL?
Also, to make it unique I understand I need a GUID. Does this get created when I run the Make or the Package and Deployment or do I have to do something special.
I don't want to distribute the source for the DLL so I can't just send them the sourec for the DLL and the calling program and let them run the Package and Deployment for both. But I have to give them the source code for the calling program because they have to customize it for their needs.
Any ideas or samples would be greatly appreciated.
Thanks
Austral
I have a VB 6.0 DLL that I wrote and a VB program that uses the DLL. I need to be able to distribute both. I want to distribute the executable without the source code for the DLL and the source code for the VB calling program.
First, what is the best way to compile the DLL? Should I use the Package and Deployment or just File|Make. If I use the Package and Deployment, It creates a Package folder and a sub folder Support. I assume I would have to distribute the .CAB, setup.exe and SETUP.LST that are in the Package folder but I would not distribute anything in the Support folder. Is that true?
If I then run the setup.exe on another computer will it register the DLL on that computer? If, yes where does it put it? Someone told me that I should create a batch file to register the DLL on another computer. If I need to do that does anyone have a sample that I could use to understand how to do this.
Do I have to use REGSRVR32 to register the DLL?
Also, to make it unique I understand I need a GUID. Does this get created when I run the Make or the Package and Deployment or do I have to do something special.
I don't want to distribute the source for the DLL so I can't just send them the sourec for the DLL and the calling program and let them run the Package and Deployment for both. But I have to give them the source code for the calling program because they have to customize it for their needs.
Any ideas or samples would be greatly appreciated.
Thanks
Austral