|
-
Nov 26th, 2001, 11:16 AM
#1
Thread Starter
Lively Member
No reference of DLL outside application
I have made AciveX DLL in vb6. My question is how to make DLL working only when my application instantiates it and not otherwise, in other words if the user browse and tries to make a reference to a my DLL in vb6 project it should be disallowed.
-
Nov 28th, 2001, 11:17 AM
#2
Set the instancing of the the class module to no2 - PublicNotCreatable. In your project that's calling this dll, I think you need to add this class from the project window rather than compiling the dll and accessing it from your app - not 100% sure on that one though.
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
|