Board index » cppbuilder » Re: ".NET" for Dummies !
Andre Kaufmann
![]() CBuilder Developer |
Re: ".NET" for Dummies !2004-09-17 02:05:29 PM cppbuilder11 QuoteFortunately, I sought the signs years ago. Hence I'm not using the VCL. Quote
- but itīs C++ code compiled to IL code and therefore needs the framework to run. (At least the IL compiler) QuoteHence, C++/CLI != C++ I can us managed objects, but iīm not forced to - only when iīm using other .NET code. For example C++/CLI gives you some features C++ doesnīt have, e.g. specifying the underlying type of enumerations. Quote
but that isnīt C++ standard either). I admit that accessing memory of VCL objects is easier than that of .NET objects from C++ code. But thatīs by design, since .NET objects are manged objects which may be moved around by the managed heap manager, you have to pin them before you are able to access their memory (e.g. array) from native C++, therefore C++/CLI is easier. Quote
they may be used from other languages or use some other standards like CORBA or COM. In .NET you simply reference the DLL and use the C++/CLI objects directly. And, yes, the C++ objects still cannot be used directly. QuoteAnd what happens if the concept of "object" is absolutely alien for a Quote
Quote
Quote
internet area). You may remove all code calling restricted areas or deny the application to run. Quote
QuoteAgain I ask: Can I mix *real* C++ with C++/CLI on the same function? [snip] Andre |