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

Managed C++/CLI

 
GeneralRe: Scrolling down Pin
User 91483317-Nov-04 4:26
User 91483317-Nov-04 4:26 
GeneralClock Simulation in .NET Pin
ZisisSim13-Nov-04 22:58
ZisisSim13-Nov-04 22:58 
GeneralRe: Clock Simulation in .NET Pin
ursus zeta18-Nov-04 13:46
ursus zeta18-Nov-04 13:46 
GeneralPacket Spoofer for a Game Pin
adanufgail13-Nov-04 12:21
adanufgail13-Nov-04 12:21 
GeneralRe: Packet Spoofer for a Game Pin
Flame Gitsnik23-Nov-04 11:02
Flame Gitsnik23-Nov-04 11:02 
QuestionHow do i get processes that are running by the same name in unmanage? Pin
Eyal Kaplan11-Nov-04 20:14
Eyal Kaplan11-Nov-04 20:14 
GeneralUsing magaged C++ class in unmanaged class data member. Pin
Murlai10-Nov-04 20:07
Murlai10-Nov-04 20:07 
GeneralRe: Using magaged C++ class in unmanaged class data member. Pin
ursus zeta11-Nov-04 13:01
ursus zeta11-Nov-04 13:01 
Are both of these classes in the same application? Is the unmanaged class a COM object?
At any rate, when you transfer data to and from managed and unmanaged types or call functions again from managed to unmanaged, or from unmanaged to managed classes or objects, the Interop marshaler takes care of some operations (invisibly from the programmer's point of view). Generally, this involves some data transfer and the marshaler tries to convert defined types to their compatible types in the other domain. The marshaler, because it deals with so many different and disparate types has a well-designed behavior. User-defined types are the most difficult to deal with and sometimes it is necessary to write a custom marshaler to enable the Interop to work properly.
There is lots of information over at the MSDN site.
And, in all honesty, I am not that experienced in this area, but, it is common to experience problems with Interop.
I have been reading: "NET and COM: The Complete Interoperability Guide", by Adam Nathan, and I would highly recommend it as a source of 'official' Interop intel.
A simple suggestion, though: use the same types for your data in both managed and unmanaged classes, and re-write your functions so that they accept those data members, rather than the class.
GeneralRe: Using magaged C++ class in unmanaged class data member. Pin
Nemanja Trifunovic16-Nov-04 3:04
Nemanja Trifunovic16-Nov-04 3:04 
QuestionHow do I change background color and font color in the PowerPoint using Visual C++ MFC Pin
亢头997-Nov-04 23:01
亢头997-Nov-04 23:01 
AnswerRe: How do I change background color and font color in the PowerPoint using Visual C++ MFC Pin
Christian Graus9-Nov-04 10:28
protectorChristian Graus9-Nov-04 10:28 
QuestionHow do I change background color and font color in the PowerPoint using Visual C++ MFC Pin
亢头997-Nov-04 22:59
亢头997-Nov-04 22:59 
GeneralRotating Polygons in fixed Angle Pin
AnsGe6-Nov-04 1:05
AnsGe6-Nov-04 1:05 
GeneralRe: Rotating Polygons in fixed Angle Pin
Christian Graus9-Nov-04 10:28
protectorChristian Graus9-Nov-04 10:28 
GeneralBMP Header Pin
alex5kov2-Nov-04 21:44
alex5kov2-Nov-04 21:44 
GeneralRe: BMP Header Pin
Kamyar Souri6-Nov-04 3:21
Kamyar Souri6-Nov-04 3:21 
Generala question: managed - unmanaged Pin
yoaz2-Nov-04 19:24
yoaz2-Nov-04 19:24 
GeneralWrapping C++ class w/MC++ Pin
BambooMoon2-Nov-04 11:41
BambooMoon2-Nov-04 11:41 
GeneralRe: Wrapping C++ class w/MC++ Pin
ursus zeta4-Nov-04 13:09
ursus zeta4-Nov-04 13:09 
Generalallocate string with specify length Pin
nina8021-Nov-04 12:44
nina8021-Nov-04 12:44 
GeneralManaged wrapper for a dll, with no source code Pin
Malendra1-Nov-04 0:03
Malendra1-Nov-04 0:03 
GeneralTree Pin
Raikou4930-Oct-04 12:50
Raikou4930-Oct-04 12:50 
GeneralRe: Tree Pin
Christian Graus31-Oct-04 9:02
protectorChristian Graus31-Oct-04 9:02 
GeneralCompilation Error: System::Xml::XmlDocument': placement arguments not allowed Pin
raed30-Oct-04 4:35
raed30-Oct-04 4:35 
GeneralRe: Compilation Error: System::Xml::XmlDocument': placement arguments not allowed Pin
raed30-Oct-04 4:37
raed30-Oct-04 4:37 

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.