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

Managed C++/CLI

 
AnswerRe: What is resposible for Painting DataGridView Pin
led mike25-Sep-07 5:01
led mike25-Sep-07 5:01 
GeneralRe: What is resposible for Painting DataGridView Pin
BuckBrown25-Sep-07 6:10
BuckBrown25-Sep-07 6:10 
GeneralRe: What is resposible for Painting DataGridView Pin
BuckBrown25-Sep-07 7:19
BuckBrown25-Sep-07 7:19 
AnswerRe: What is resposible for Painting DataGridView Pin
KarstenK26-Sep-07 4:02
mveKarstenK26-Sep-07 4:02 
QuestionReading and writing to a named pipe C, C++, C# Pin
higgsbo23-Sep-07 7:41
higgsbo23-Sep-07 7:41 
AnswerRe: Reading and writing to a named pipe C, C++, C# Pin
led mike24-Sep-07 4:57
led mike24-Sep-07 4:57 
AnswerRe: Reading and writing to a named pipe C, C++, C# Pin
KarstenK26-Sep-07 4:06
mveKarstenK26-Sep-07 4:06 
QuestionSomething to reflect upon... Pin
Sandeep Datta22-Sep-07 20:31
Sandeep Datta22-Sep-07 20:31 
Hi,

Please consider the following code fragment in C++/CLI (I am quoting from memory )...

Assembly^ a = Assembly::LoadFile("MyTypes.dll");<br />
Type^ myType = a->GetType("MyNamespace.MyClass");<br />
Object^ obj = Activator::CreateInstance(myType);<br />
<br />
IMyInterface^ itf = (IMyInterface^)obj;


The last line throws an invalid cast exception even if MyClass implements IMyInterface. Any idea whats going on and how to solve this problem?

SDX2000

AnswerRe: Something to reflect upon... Pin
George L. Jackson23-Sep-07 4:50
George L. Jackson23-Sep-07 4:50 
GeneralRe: Something to reflect upon... Pin
Sandeep Datta23-Sep-07 19:50
Sandeep Datta23-Sep-07 19:50 
GeneralRe: Something to reflect upon... Pin
George L. Jackson24-Sep-07 0:35
George L. Jackson24-Sep-07 0:35 
GeneralRe: Something to reflect upon... Pin
Sandeep Datta24-Sep-07 1:22
Sandeep Datta24-Sep-07 1:22 
QuestionC++/CLI OpenGL performance Pin
Xpnctoc22-Sep-07 4:03
Xpnctoc22-Sep-07 4:03 
AnswerRe: C++/CLI OpenGL performance Pin
Luc Pattyn22-Sep-07 5:40
sitebuilderLuc Pattyn22-Sep-07 5:40 
GeneralRe: C++/CLI OpenGL performance Pin
Xpnctoc22-Sep-07 10:34
Xpnctoc22-Sep-07 10:34 
AnswerRe: C++/CLI OpenGL performance Pin
Mark Salsbery22-Sep-07 8:32
Mark Salsbery22-Sep-07 8:32 
GeneralRe: C++/CLI OpenGL performance [modified] Pin
Xpnctoc22-Sep-07 10:29
Xpnctoc22-Sep-07 10:29 
QuestionRe: C++/CLI OpenGL performance Pin
Unbe Kant22-May-09 13:55
Unbe Kant22-May-09 13:55 
AnswerRe: C++/CLI OpenGL performance Pin
Xpnctoc22-May-09 19:07
Xpnctoc22-May-09 19:07 
GeneralRe: C++/CLI OpenGL performance Pin
Unbe Kant22-May-09 21:43
Unbe Kant22-May-09 21:43 
GeneralRe: C++/CLI OpenGL performance Pin
Xpnctoc23-May-09 3:10
Xpnctoc23-May-09 3:10 
GeneralRe: C++/CLI OpenGL performance Pin
Unbe Kant23-May-09 4:15
Unbe Kant23-May-09 4:15 
QuestionUsing C++.net interface in C# Pin
Sandeep Datta22-Sep-07 1:00
Sandeep Datta22-Sep-07 1:00 
AnswerRe: Using C++.net interface in C# Pin
Mark Salsbery22-Sep-07 8:37
Mark Salsbery22-Sep-07 8:37 
GeneralRe: Using C++.net interface in C# Pin
Sandeep Datta22-Sep-07 20:23
Sandeep Datta22-Sep-07 20:23 

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.