|
-
Aug 15th, 2001, 05:59 PM
#1
Thread Starter
Need-a-life Member
DLL - Public Functions
Hi!! I'm kinda new to this, actually it's the first DLL I've compiled so... I've written the program of my DLL, compiled it an added its reference to my new application. The problem is that I cannot see the public variables I've declared in a bas module (in my DLL) the same happens with the functions and subroutines (in the DLL).
Can anybody explain me what do I have to do?
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Aug 15th, 2001, 07:32 PM
#2
The variables in the module in the DLL are only public to the DLL project. To make them available to the User of the DLL you'd have to put them in a Public type of class. This is usually done through the properties of the class. If you are just making a function library type of thing then put those things in a class and make it GlobalMultiUse.
-
Aug 15th, 2001, 08:50 PM
#3
Hyperactive Member
Set it for multiuse, but not globalmultiuse. Globalmultiuse makes the methods and properties available as if they were just a global function. I doubt that any of the calls to your dll are frequent enough to require being global in scope...especially since you'll likely use your dll for one or two apps...
GlobalMultiUse will just add extra overhead as far as the compilation is concerned
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
|