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

Managed C++/CLI

 
GeneralMFC & .NET Serialization Compatibility Pin
alexatn19-Jul-04 9:47
alexatn19-Jul-04 9:47 
QuestionHow to setup hotkey in my application to control vobsub Pin
lakeman200015-Jul-04 21:39
lakeman200015-Jul-04 21:39 
GeneralDebugging Unmanaged Code called from Managed C++ in .NET Pin
Anonymous14-Jul-04 19:32
Anonymous14-Jul-04 19:32 
GeneralMFC and Windows.Forms in .NET Pin
EinarJon14-Jul-04 6:30
EinarJon14-Jul-04 6:30 
GeneralRe: MFC and Windows.Forms in .NET Pin
Anonymous15-Jul-04 9:32
Anonymous15-Jul-04 9:32 
GeneralRe: MFC and Windows.Forms in .NET Pin
sunhui15-Dec-04 15:18
sunhui15-Dec-04 15:18 
GeneralRe: MFC and Windows.Forms in .NET Pin
sunhui15-Dec-04 15:20
sunhui15-Dec-04 15:20 
Generalcalling managed function from unmanged class Pin
3green13-Jul-04 4:12
3green13-Jul-04 4:12 
Have been trying without success to call an managed function from
within an unmanaged class. This would seem to be a basic requirement,
of the dotnet so I am obviously doing something wrong.

Given the class CMyManaged header as:

#pragma once

public __gc class CMyManaged
{
public:
CMyManaged(void);
~CMyManaged(void);


void MyFun(void);
};

and a standard MFC dialog class, I wish to call MyFun() from
within MyMFCDlg().
Now I went about this by declaring a CMyManaged variable m_MyManaged;
in the unmanaged MyMFCDlg() header file. Then in MyMFCDlg.OnInitDialog()
I try to call m_MyManaged.MyFun();
Have tried declaring the managed variable as
gcroot<cmymanaged*> m_MyManaged;

But various means to call MyFun() have all resulted in
compilation errors.


Any help would be appreciated, as the C# dialog box is to limited I
need to continue developing partially in Unmanaged C++.

Many thanks
GeneralRe: calling managed function from unmanged class Pin
palbano13-Jul-04 7:52
palbano13-Jul-04 7:52 
GeneralBackp/Restore HardDisk Image Pin
trustable13-Jul-04 1:21
trustable13-Jul-04 1:21 
GeneralRe: Backp/Restore HardDisk Image Pin
palbano13-Jul-04 7:57
palbano13-Jul-04 7:57 
GeneralRe: Backp/Restore HardDisk Image Pin
Brian Delahunty16-Jul-04 3:46
Brian Delahunty16-Jul-04 3:46 
QuestionANSI / ISO Standard C++ vs. Managed C++? Pin
Link260012-Jul-04 16:06
Link260012-Jul-04 16:06 
AnswerRe: ANSI / ISO Standard C++ vs. Managed C++? Pin
palbano13-Jul-04 7:47
palbano13-Jul-04 7:47 
GeneralRe: ANSI / ISO Standard C++ vs. Managed C++? Pin
Anonymous1-Aug-04 21:18
Anonymous1-Aug-04 21:18 
QuestionCan not catch KeyDown message from RETURN key Pin
Roman Muntyanu12-Jul-04 3:54
Roman Muntyanu12-Jul-04 3:54 
AnswerRe: Can not catch KeyDown message from RETURN key Pin
palbano13-Jul-04 8:00
palbano13-Jul-04 8:00 
GeneralRe: Can not catch KeyDown message from RETURN key Pin
Roman Muntyanu13-Jul-04 8:09
Roman Muntyanu13-Jul-04 8:09 
GeneralChecking Parallel Port Status Pin
Anonymous11-Jul-04 11:23
Anonymous11-Jul-04 11:23 
GeneralRe: Checking Parallel Port Status Pin
User 91483324-Jul-04 1:13
User 91483324-Jul-04 1:13 
GeneralComm Between Managed Thread and Unmanaged Thread Pin
Anonymous10-Jul-04 21:28
Anonymous10-Jul-04 21:28 
Generalapplication class Pin
arabghalizy10-Jul-04 19:43
arabghalizy10-Jul-04 19:43 
GeneralRe: application class Pin
palbano13-Jul-04 7:58
palbano13-Jul-04 7:58 
GeneralMixed DLL : conflicts when using several imported unmanaged LIBs Pin
Bertrand Boichon8-Jul-04 0:14
Bertrand Boichon8-Jul-04 0:14 
GeneralRe: Mixed DLL : conflicts when using several imported unmanaged LIBs Pin
Bertrand Boichon21-Jul-04 6:07
Bertrand Boichon21-Jul-04 6:07 

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.