Solved

Can VB create Windows DLL

Posted on 2004-04-06
7
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

615 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