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

Managed C++/CLI

 
GeneralRe: Error executing C++ project compiled with /clr flag Pin
wubygtr16-Nov-11 10:09
wubygtr16-Nov-11 10:09 
QuestionFreeze a program and hold execution Pin
Brandon-X120001-Nov-11 11:42
Brandon-X120001-Nov-11 11:42 
AnswerRe: Freeze a program and hold execution Pin
Richard MacCutchan1-Nov-11 23:11
mveRichard MacCutchan1-Nov-11 23:11 
AnswerRe: Freeze a program and hold execution Pin
John Schroedl2-Nov-11 2:42
professionalJohn Schroedl2-Nov-11 2:42 
GeneralRe: Freeze a program and hold execution Pin
Brandon-X120009-Nov-11 0:17
Brandon-X120009-Nov-11 0:17 
AnswerRe: Freeze a program and hold execution Pin
jschell3-Nov-11 8:47
jschell3-Nov-11 8:47 
AnswerRe: Freeze a program and hold execution Pin
elgaabeb9-Dec-11 2:56
elgaabeb9-Dec-11 2:56 
QuestionRunning into issue of managed and unmanaged code Pin
Vijay Rajanna28-Oct-11 7:35
Vijay Rajanna28-Oct-11 7:35 
Hi,

I'm using VC ++ , Visual studio 2010 express edition.

And trying to create simple form application, and a thread and some control classes in my application.

1) But whenever I try to crate a thread class which is derived from "CbaseThread" class, I always get an error .. " Unmanaged class can't derive from a managed Class "

2) If I try to make my thread class as managed, then I can't derived from "CbaseThread", since the class becomes sealed .

3) In one of the control class I need a reference to "FORM1", which is created inside Application.Run (gcnew Form1()).. Even getting this reference is also not possible.

Can anyone please help me..

I can completely manage with "Unmanaged Code.."

How can I have just unmanaged code throughout my application.

If having only unmanaged code is not at all possible, how can i solve above mentioned problem. ie working with both managed and unmanaged code together.

Thanks in advance.

Regards,

Vijay.
AnswerRe: Running into issue of managed and unmanaged code Pin
Mark Salsbery29-Oct-11 6:26
Mark Salsbery29-Oct-11 6:26 
Questionh Pin
rashaangel127-Oct-11 7:52
rashaangel127-Oct-11 7:52 
AnswerRe: h Pin
Richard MacCutchan27-Oct-11 22:13
mveRichard MacCutchan27-Oct-11 22:13 
AnswerRe: My vote of 1 Pin
phil.o27-Oct-11 23:58
professionalphil.o27-Oct-11 23:58 
GeneralRe: My vote of 1 Pin
Richard MacCutchan28-Oct-11 0:47
mveRichard MacCutchan28-Oct-11 0:47 
GeneralRe: My vote of 1 Pin
phil.o28-Oct-11 2:08
professionalphil.o28-Oct-11 2:08 
QuestionHow to use Callback interface from unmanaged code in Managed C++ Pin
dadagiri12322-Oct-11 0:14
dadagiri12322-Oct-11 0:14 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Adam Roderick J26-Oct-11 21:28
Adam Roderick J26-Oct-11 21:28 
GeneralRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Richard MacCutchan26-Oct-11 23:02
mveRichard MacCutchan26-Oct-11 23:02 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Bob Ciora16-Nov-11 0:59
Bob Ciora16-Nov-11 0:59 
QuestionHow and which technology (.NET-WinForms,C++-MIDI MFC based) is the best to use for reading and writing COM Port data? Pin
glitteringsound11-Oct-11 21:55
glitteringsound11-Oct-11 21:55 
Questionprinter driver Pin
dufduf7-Oct-11 20:11
dufduf7-Oct-11 20:11 
AnswerRe: printer driver Pin
Luc Pattyn8-Oct-11 3:48
sitebuilderLuc Pattyn8-Oct-11 3:48 
Question[Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 22:58
Mike@Shanghai3-Oct-11 22:58 
AnswerRe: [Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 23:04
Mike@Shanghai3-Oct-11 23:04 
AnswerRe: [Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 23:49
Mike@Shanghai3-Oct-11 23:49 
GeneralRe: [Need Help] some thing about output Pin
Richard MacCutchan4-Oct-11 1:28
mveRichard MacCutchan4-Oct-11 1:28 

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.