Solved

How to create a simple non-COM DLL with VB.NET ?

Posted on 2003-11-26
5
431 Views
Last Modified: 2012-05-04
So I can call it's functions by old-fashioned Declare Function XXX in "yyy.dll" ...
It must be something trivial, but I cannot find it :(

Thanks,
boazm
0
Comment
Question by:boazm
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9825929
I think you can't.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9825937
As long as you couldn't do with "normal" vb.
0
 
LVL 7

Accepted Solution

by:
Z_Beeblebrox earned 250 total points
ID: 9826115
You should be able to do this with C++.Net (unmanaged), but not with C# or VB.Net because they only produce manage code, which means it runs on top of the .Net framework, and so are not standard win32 DLLs.

Zaphod.
0
 

Expert Comment

by:afoster053101
ID: 9829337
I know you can't.  You'll have to do in in C++
0
 

Expert Comment

by:baudspeed
ID: 13058726
a chap here figured out how to do it

http://www.blitzbasic.com/codearcs/codearcs.php?code=716

simply removes the managed component
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

861 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

25 Experts available now in Live!

Get 1:1 Help Now