wrightb5
asked on
Can VB create Windows DLL
I am trying to make a windows dll, with exposed functions, in VB. In C++ you could use a .def file to specify the exported functions. What is the equivalent in VB?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can create a windows DLL in visual basic
EGL: Its an activeX dll, I've never seen a Win32 DLL written in Visual Basic.
Yes I know but It is now possible Have you seen the article yet?
I know it works because I make them all the time. No need to register it either. It intercepts the compiler.
http://www.windowsdevcenter.com/pub/a/windows/2005/04/26/create_dll.html
http://www.windowsdevcenter.com/pub/a/windows/2005/04/26/create_dll.html
Although that is a clever work around...the reliability of the article is in question. You are better off using PowerBasic or something to accomplish a task like this. I've never been a fan of the Visual Basic hacks, ie (inline asm via op codes in vb, ** vb windows dlls **,etc). If you plan on distributing software you cannot have DLLs that were created this way. Although they might work, the fact is, VB was not ment to do this. If you want a language that you dont have to "hack" to make a windows dll, then program in c/c++,delphi,etc.
ASKER
After looking around all day I was begining to suspect this. At least I can start trying to think of some other way now.
Very prompt reply, thanks.
Ben