Solved

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

Posted on 2003-11-26
5
439 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

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