Solved

Can VB create Windows DLL

Posted on 2004-04-06
7
473 Views
Last Modified: 2009-12-16
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?
0
Comment
Question by:wrightb5
  • 3
  • 3
7 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 125 total points
ID: 10772250
Simple answer NO. VB Can only create COM DLL's.


Sorry :(

-Brian
0
 

Author Comment

by:wrightb5
ID: 10772345
ho hum...
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
0
 
LVL 29

Expert Comment

by:nffvrxqgrcfqvvc
ID: 14690557
You can create a windows DLL in visual basic
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 14693151
EGL: Its an activeX dll, I've never seen a Win32 DLL written in Visual Basic.
0
 
LVL 29

Expert Comment

by:nffvrxqgrcfqvvc
ID: 14693176
Yes I know but It is now possible Have you seen the article yet?
0
 
LVL 29

Expert Comment

by:nffvrxqgrcfqvvc
ID: 14693207
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
0
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 14693444
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.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question