Solved

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

Posted on 2003-11-26
5
429 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
Comment Utility
I think you can't.
0
 
LVL 16

Expert Comment

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

Accepted Solution

by:
Z_Beeblebrox earned 250 total points
Comment Utility
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
Comment Utility
I know you can't.  You'll have to do in in C++
0
 

Expert Comment

by:baudspeed
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now