*Experts* Nerseus Posted September 15, 2003 *Experts* Posted September 15, 2003 I can't remember this offhand and a search on google didn't get what I expected (too vague I guess). Can C# (or managed .NET) compile a "standard" DLL? Meaning, such that the DLL can be used from in, say VB6, or that you'd define through DllImport (such as BitBlt or timeGetTime or other Win32 DLL functions)? I'm not concerned about difficulty, just wanting to know if it's possible (maybe some kind of attribute decorations or somesuch)? Thanks a bunch :) -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
*Gurus* Derek Stone Posted September 15, 2003 *Gurus* Posted September 15, 2003 You can interop with a .NET assembly via COM using a CCW (COM-callable wrapper), however you can not create a standard DLL unless you use C++, whether managed or unmanaged. Quote Posting Guidelines
*Experts* Nerseus Posted September 15, 2003 Author *Experts* Posted September 15, 2003 That's what I thought... couldn't find anything to back it up though. I'll investigate whether I can code a simple C++ DLL that wraps calls to a C# assembly. Yuckums, working with older code :) -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts