Solved

Can VB create Windows DLL

Posted on 2004-04-06
7
469 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now