Click here to Skip to main content
15,917,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ compiler Pin
BoudewijnEctor7-Jul-03 23:05
BoudewijnEctor7-Jul-03 23:05 
GeneralRe: C++ compiler Pin
Mike Dimmick7-Jul-03 23:06
Mike Dimmick7-Jul-03 23:06 
GeneralRe: C++ compiler Pin
BoudewijnEctor8-Jul-03 5:03
BoudewijnEctor8-Jul-03 5:03 
GeneralRe: C++ compiler Pin
Mike Dimmick8-Jul-03 5:19
Mike Dimmick8-Jul-03 5:19 
GeneralRe: C++ compiler Pin
BoudewijnEctor8-Jul-03 21:37
BoudewijnEctor8-Jul-03 21:37 
GeneralRe: C++ compiler Pin
Mike Dimmick8-Jul-03 22:49
Mike Dimmick8-Jul-03 22:49 
GeneralRe: C++ compiler Pin
BoudewijnEctor11-Jul-03 1:59
BoudewijnEctor11-Jul-03 1:59 
GeneralRe: C++ compiler Pin
Mike Dimmick11-Jul-03 2:32
Mike Dimmick11-Jul-03 2:32 
Ah, so this is a Managed C++ project (requiring the .NET framework).

If you're targeting native code, you can't use the Windows Forms model. You'll have to either write directly to the Win32 programming API, or use one of the many C++ wrappers (e.g. MFC, ATL, WTL).

For information on programming Windows apps using the Win32 API, read the classic Programming Windows, Fifth Edition [^] by Charles Petzold.

If you want to use MFC, read Jeff Prosise's Programming Windows with MFC [^].

If you want to use ATL or WTL, look in the appropriate sections on CodeProject. I wouldn't recommend this unless you're experienced in C++, especially with templates.

Your existing codebase requires the /clr switch.

You will get a slight performance hit with the Managed Extensions, especially as the code is first JIT-compiled, but it shouldn't be much more than a few percent. If you decide to go this route, see the Performance area on the MSDN .NET Framework Developer Center[^] for information on using the framework efficiently.

--
Mike Dimmick
GeneralDisable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 19:58
xxhimanshu7-Jul-03 19:58 
GeneralRe: Disable Right Click Context menu!!! Pin
FlyingDancer7-Jul-03 20:36
FlyingDancer7-Jul-03 20:36 
GeneralRe: Doesnt work!!! Pin
xxhimanshu7-Jul-03 21:23
xxhimanshu7-Jul-03 21:23 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage7-Jul-03 22:49
professionalRage7-Jul-03 22:49 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:06
xxhimanshu7-Jul-03 23:06 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 22:53
Ryan Binns7-Jul-03 22:53 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:08
xxhimanshu7-Jul-03 23:08 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 23:16
Ryan Binns7-Jul-03 23:16 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage8-Jul-03 0:44
professionalRage8-Jul-03 0:44 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns8-Jul-03 0:47
Ryan Binns8-Jul-03 0:47 
GeneralRe: Disable Right Click Context menu!!! Pin
Iain Clarke, Warrior Programmer7-Jul-03 23:48
Iain Clarke, Warrior Programmer7-Jul-03 23:48 
GeneralAbout IOCTL_DISK_VERIFY Pin
FlyingDancer7-Jul-03 19:31
FlyingDancer7-Jul-03 19:31 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 3:16
David Crow8-Jul-03 3:16 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:34
FlyingDancer8-Jul-03 3:34 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:41
FlyingDancer8-Jul-03 3:41 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 4:47
David Crow8-Jul-03 4:47 
GeneralWant to get an ActiveX control for displaying picture Pin
Xilin7-Jul-03 18:20
Xilin7-Jul-03 18:20 

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.