-
Hi.
I've been told to consult some books that would help me building up my own .dll.
I was wondering if, before I buy one of these books, I could find some good help on the internet. Maybe microsoft.com? I didn't find anything explanatory enough there.
I simply need to compile a .dll and use it in one of my application. I've read on some people using their own dll in here. Please help me out!
Thanks,
David Laplante
-
you can't create a dll using VB. For this, you need Visual C++
a good source of information is the MSDN.
have a look at
http://www.msdn.microsoft.com/default.asp
------------------
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. :D
-
Depending on what your definition of a "real" dll is. You can create dll's in VB, they are called "Active X" Dlls. They are not a "real" dll in the sense that they still require the VB runtime library, however if your using the dll from a VB program that runtime library has to be there anyway. If you want to create a "real" dll that doesn't reguire any runtime support that you would have to use C.
-
VB Creates COM DLLs, which are different than standard C++ Dlls.
COM Dlls (in my opinion) are much more powerful than standard DLLs. They might not be as fast as C++ DLLS, but you can quickly create reusable components. You also get the benefits of COM & DCOM (Location transparency, Interface compatibility [hopefully], language independance, etc.)
COM/ActiveX Components are much more powerful than standard DLLs.
FYI -- You can create COM (ActiveX) Dlls using C++.....would you guys not consider these REAL DLLs as well?
[This message has been edited by Clunietp (edited 02-07-2000).]
-
I couldn't agree with you more Clunietp. I guess I had forgoten that VB created DLL are really COM Dll's. Maybe its because I don't really care where the DLL was created. I'll I know is that I can create resuable and realible DLL's with VB. I guess I'm not a purist that believes that you can only build real :rolleyes: with C++.
As lonq as we continue to support and promote VB as real :) language maybe someday the rest of the programmer community will believe us (Okay I'll get off my soapbox now)
[This message has been edited by Glenn (edited 02-07-2000).]
-
For folks that can't understand what's going on here....
The verdict is :
You CAN use an activex dll with your VB application!
--------------------------------------------
-
Okay then I will try to build my DLL using Visual C++, but... then I need to code in C? This should not be a problem but, can't I build up a dll using VB code?
Thanks for your time!
-
In VB, I just tried starting up a new project. At the 'New Projet' screen, I choosed 'ADDIN'... Then in the file menu, the option Make MyAddIn.dll. It'll build up a dll, but is that what I need?
-
No I don't think so
for real dlls you'll need C++
------------------
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. :D