Click here to Skip to main content
15,901,373 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralUsing VC++ Express compiler in Visual Studio 6 IDE Pin
adrian cooper5-Aug-04 2:09
adrian cooper5-Aug-04 2:09 
GeneralDiffrence between VC++ and managed Pin
X20404-Aug-04 12:24
X20404-Aug-04 12:24 
GeneralRe: Diffrence between VC++ and managed Pin
Anders Molin4-Aug-04 12:45
professionalAnders Molin4-Aug-04 12:45 
GeneralRe: Diffrence between VC++ and managed Pin
John M. Drescher4-Aug-04 12:46
John M. Drescher4-Aug-04 12:46 
GeneralRe: Diffrence between VC++ and managed Pin
Bo Hunter5-Aug-04 12:43
Bo Hunter5-Aug-04 12:43 
GeneralRe: Diffrence between VC++ and managed Pin
John M. Drescher6-Aug-04 4:45
John M. Drescher6-Aug-04 4:45 
QuestionHow to wrap an Unmanaged COM Object in Managed C++ Pin
johnbMA3-Aug-04 14:44
johnbMA3-Aug-04 14:44 
AnswerExcellent Question Pin
ursus zeta9-Aug-04 12:33
ursus zeta9-Aug-04 12:33 
This is such an excellent question, I'm amazed that no one replied.
From the sound of it, you undoubtedly know alot more about this subject than I do. I've recently been reading, ".NET and COM: The Complete Interoperability Guide", by Adam Nathan. Everything I know, I learned from this book. And, I'm very new at it, but, it's a great book.
As you probably already know, the Runtime Callable Wrapper that the Type Library Importer generates is essentially what you would want to create for your COM objects. Your problem is the sheer complexity of the original DLL.
But, the obvious question is: Why must you wrap the COM objects in managed code? There really is no such thing as "pure .NET". (After all, .NET calls the underlying Win32 functions just like everything else.) I'm guessing that you will eventually want to create an application suite for the upcoming 64-bit operating system.
In Adam Nathan's book, there is a section towards the end where he describes manually defining COM types in source code. .NET compilers can produce metadata and IL, which is what the type library importer produces.
Unfortunately, I have no practical experience with this, but, I would guess it is a very time-consuming process, and the potential for systemic errors would be huge.

QuestionHow to make the system beep Pin
eddstar2-Aug-04 10:38
eddstar2-Aug-04 10:38 
AnswerRe: How to make the system beep Pin
Anonymous12-Aug-04 11:20
Anonymous12-Aug-04 11:20 
GeneralC++/CLI Array problem Pin
Brian Olej1-Aug-04 7:25
Brian Olej1-Aug-04 7:25 
GeneralRe: C++/CLI Array problem Pin
palbano2-Aug-04 6:35
palbano2-Aug-04 6:35 
GeneralRe: C++/CLI Array problem Pin
Brian Olej2-Aug-04 7:14
Brian Olej2-Aug-04 7:14 
GeneralRe: C++/CLI Array problem Pin
palbano2-Aug-04 7:54
palbano2-Aug-04 7:54 
GeneralRe: C++/CLI Array problem Pin
Bo Hunter2-Aug-04 14:18
Bo Hunter2-Aug-04 14:18 
GeneralRe: C++/CLI Array problem Pin
Brian Olej2-Aug-04 18:05
Brian Olej2-Aug-04 18:05 
GeneralRe: C++/CLI Array problem Pin
cppmanuf3-Aug-04 19:18
cppmanuf3-Aug-04 19:18 
GeneralRe: C++/CLI Array problem Pin
Brian Olej4-Aug-04 2:49
Brian Olej4-Aug-04 2:49 
GeneralRe: C++/CLI Array problem Pin
Bo Hunter5-Aug-04 12:40
Bo Hunter5-Aug-04 12:40 
GeneralReparing Access database Pin
Member 69261831-Jul-04 20:46
Member 69261831-Jul-04 20:46 
GeneralRe: Reparing Access database Pin
palbano2-Aug-04 6:28
palbano2-Aug-04 6:28 
GeneralC++ vs Managed Pin
---Mark---30-Jul-04 10:39
---Mark---30-Jul-04 10:39 
GeneralRe: C++ vs Managed Pin
palbano31-Jul-04 19:02
palbano31-Jul-04 19:02 
Generalassign mfc handle to dotnet form Pin
luke0530-Jul-04 1:36
luke0530-Jul-04 1:36 
GeneralUpdating multiple treeviews Pin
Sam Barham29-Jul-04 13:45
Sam Barham29-Jul-04 13:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.