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

Managed C++/CLI

 
GeneralConverting System::String to char* Pin
peter271324-Oct-03 9:10
peter271324-Oct-03 9:10 
GeneralRe: Converting System::String to char* Pin
Tom Archer2-Nov-03 13:20
Tom Archer2-Nov-03 13:20 
GeneralMixing managed and UNmanaged code... Pin
raitz23-Oct-03 1:46
raitz23-Oct-03 1:46 
GeneralRe: Mixing managed and UNmanaged code... Pin
Nemanja Trifunovic23-Oct-03 6:05
Nemanja Trifunovic23-Oct-03 6:05 
GeneralHelp would be greatly appreciated Pin
Andrew Torrance22-Oct-03 22:09
Andrew Torrance22-Oct-03 22:09 
GeneralSlow Windows Forms Designer Pin
Anonymous22-Oct-03 14:13
Anonymous22-Oct-03 14:13 
General__value type doubt... Pin
raitz22-Oct-03 4:44
raitz22-Oct-03 4:44 
GeneralRe: __value type doubt... Pin
Tom Archer6-Nov-03 17:36
Tom Archer6-Nov-03 17:36 
As covered in Chapter 1 of my "Extending MFC Applications with the .NET Framework", this can never work because __value types are allocated dynamically in the C++ heap (free store) whereas __gc types are allocated on the CLR heap. In your example, the TEST struct is a __value type but contains a __gc embedded type. If you need TEST::str to be of type String*, then you need to make the TEST struct a __gc struct. That will compile without errors.


Cheers,
Tom Archer
* Inside C# -Second Edition
* Visual C++.NET Bible
* Extending MFC Applications with the .NET Framework
Generalprintf position Pin
nail8521-Oct-03 21:30
nail8521-Oct-03 21:30 
GeneralRe: printf position Pin
Blake Coverett25-Oct-03 19:33
Blake Coverett25-Oct-03 19:33 
GeneralHi ! How can we call .Net Web Service method from C++ Client Pin
Abhishek Avasthi21-Oct-03 4:20
Abhishek Avasthi21-Oct-03 4:20 
GeneralRe: Hi ! How can we call .Net Web Service method from C++ Client Pin
leppie21-Oct-03 8:48
leppie21-Oct-03 8:48 
Generaltelnet Client Pin
mohammad arif20-Oct-03 21:27
mohammad arif20-Oct-03 21:27 
General'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 6:14
raitz20-Oct-03 6:14 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 8:18
igor196020-Oct-03 8:18 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 8:43
raitz20-Oct-03 8:43 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 8:55
igor196020-Oct-03 8:55 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 9:18
raitz20-Oct-03 9:18 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 9:23
igor196020-Oct-03 9:23 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 9:49
raitz20-Oct-03 9:49 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 9:16
igor196020-Oct-03 9:16 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 9:45
raitz20-Oct-03 9:45 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 9:51
igor196020-Oct-03 9:51 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
raitz20-Oct-03 9:59
raitz20-Oct-03 9:59 
GeneralRe: 'PostThreadMessage' in managed c++... Pin
igor196020-Oct-03 10:04
igor196020-Oct-03 10:04 

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.