views:

30

answers:

2

I need to build a COM DLL to do some simple serial port stuff.

It has to be a Class DLL (COM); I have no control over that. I also have no control over the fact that it has to run on some very old machines which do not have the .NET framework installed and never will have.

Can it be (easilly) done using VB Express 2008?

+1  A: 

VB.Net Express 2008? No - this is .Net through-and-through - you'll always be reliant on the .Net Framework being installed.

You'd need Visual C++ Express if any of the Express offerings are going to be of use to you - it's the only Express offering that can compile to native machine code rather than .Net.

Will A
Ok, sounds good. I am actually more at home with C++. Any usefls URLs?
LeonixSolutions
+1  A: 

You can't do it with VB.NET. There is no support for building .NET-less dlls in VS anymore except using C++.

VB6 is the last VB version to support what you want to do.

Jim Leonardo
Ok, sounds good. I am actually more at home with C++. Any usefls URLs?
LeonixSolutions
http://msdn.microsoft.com/en-us/library/ee663263(v=VS.85).aspx http://msdn.microsoft.com/en-us/library/t9adwcde.aspx
Vagaus
Thanks for the link.
LeonixSolutions