|
-
Mar 15th, 2003, 01:48 AM
#1
Thread Starter
Lively Member
question about ActiveX DLL
i just found out that i could make my own DLL's from VB (some idiot told me that i can't make my dll's thru VB, has to be thru VC++ at least.. ugh).. so anyways.. i was, somehow, able to make a dll that has local variables.. and it worked.. how come? then a dll is simply a defined class? i thought it was just a couple of independent functions.. i need some clarification on that, plz.. thx
-
Mar 15th, 2003, 04:41 AM
#2
Well ...
There are two types of DLLs, one is what you get from C, where you can just put a bunch of functions into a file and call it a DLL. The other is a COM DLL, which you can make through VB. A COM DLL is a component, or a class. You cannot put together individual functions and create a COM DLL. If you indeed want to only collect a few frequently used functions in a DLL, use a class, add the functions as methods of the class, set the instancing property of the class to Global and then compile the DLL in VB.
.
-
Mar 15th, 2003, 04:44 AM
#3
Thread Starter
Lively Member
oh.. so that idiot was right :P.. i'm the idiot 
thx, bee..
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
|