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

Managed C++/CLI

 
QuestionDataGridView Pin
mikobi28-Jun-07 6:38
mikobi28-Jun-07 6:38 
AnswerRe: DataGridView Pin
Sivakumar R29-Jun-07 5:22
Sivakumar R29-Jun-07 5:22 
GeneralRe: DataGridView Pin
mikobi3-Jul-07 5:04
mikobi3-Jul-07 5:04 
QuestionPostMessage to a remote thread ?! Pin
bend0r!28-Jun-07 6:24
bend0r!28-Jun-07 6:24 
AnswerRe: PostMessage to a remote thread ?! Pin
Perspx2-Jul-07 11:27
Perspx2-Jul-07 11:27 
QuestionWindows Search Utility Pin
SD102128-Jun-07 5:57
SD102128-Jun-07 5:57 
AnswerRe: Windows Search Utility Pin
SD102128-Jun-07 5:58
SD102128-Jun-07 5:58 
QuestionNeed Help: ActiveX Control Method is taking a Variant as Parameter (.Net 1.1) Pin
Oliver Sch.28-Jun-07 0:55
Oliver Sch.28-Jun-07 0:55 
Hoi there,

i need some help with an ActiveX Control under VC++ .Net
The Method is defined as:

UploadBuffer(VARIANT* VarPBuffer).

After using the Wizzard i got a Windows Form and a Wrapper Class for the control with the following signature:

public short UploadBuffer(ref object VarPBuffer)

and ILDasm shows UploadBuffer:int16(Object&)

Now here's the problem Wink | ;)

I got an array of unsigned chars which need to be transfered to the activex controll buffer. In VC++ with MFC this was done this way:

COleVariant *m_Buffer;
CByteArray *m_Array;

...
...

m_Array = new CByteArray;
m_Array->SetSize (1024 * 768);
m_Buffer=new COleVariant (*m_Array);

How do i get this thingie working under .Net ;/ It's realy driving me crazy (And no i can't just recompile the ocx because its comercially sold and the source code is not available)

I hope someone is able to help me Wink | ;)

Thx.






QuestionParsing and Invoking functions problem Pin
Arris7427-Jun-07 11:24
Arris7427-Jun-07 11:24 
Questionvery simple question : Pin
Ylno27-Jun-07 11:10
Ylno27-Jun-07 11:10 
AnswerRe: very simple question : Pin
Christian Graus27-Jun-07 11:27
protectorChristian Graus27-Jun-07 11:27 
AnswerRe: very simple question : Pin
Mark Salsbery27-Jun-07 11:41
Mark Salsbery27-Jun-07 11:41 
GeneralRe: very simple question : Pin
Christian Graus27-Jun-07 11:56
protectorChristian Graus27-Jun-07 11:56 
GeneralRe: very simple question : Pin
Mark Salsbery27-Jun-07 12:13
Mark Salsbery27-Jun-07 12:13 
QuestionSTL Pin
tom groezer27-Jun-07 7:48
tom groezer27-Jun-07 7:48 
AnswerRe: STL Pin
Christian Graus27-Jun-07 11:32
protectorChristian Graus27-Jun-07 11:32 
QuestionTextbox Difficult Pin
mikobi27-Jun-07 3:54
mikobi27-Jun-07 3:54 
AnswerRe: Textbox Difficult Pin
Christian Graus27-Jun-07 12:20
protectorChristian Graus27-Jun-07 12:20 
GeneralRe: Textbox Difficult Pin
mikobi27-Jun-07 21:04
mikobi27-Jun-07 21:04 
GeneralRe: Textbox Difficult Pin
mikobi28-Jun-07 22:02
mikobi28-Jun-07 22:02 
GeneralRe: Textbox Difficult Pin
mikobi3-Jul-07 6:42
mikobi3-Jul-07 6:42 
Questiondeterministic cleanup in C++/CLI Pin
rockonedge26-Jun-07 21:48
rockonedge26-Jun-07 21:48 
AnswerRe: deterministic cleanup in C++/CLI Pin
Geo Pa27-Jun-07 3:52
Geo Pa27-Jun-07 3:52 
Questionbyte C# to C++ Pin
C#Coudou26-Jun-07 19:22
C#Coudou26-Jun-07 19:22 
AnswerRe: byte C# to C++ Pin
C#Coudou26-Jun-07 19:39
C#Coudou26-Jun-07 19:39 

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.