Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: socket program help Pin
Mila0253-Apr-07 21:37
Mila0253-Apr-07 21:37 
AnswerRe: socket program help Pin
Moak4-Apr-07 4:38
Moak4-Apr-07 4:38 
QuestionNamespaces Pin
Cpugeek3-Apr-07 15:01
Cpugeek3-Apr-07 15:01 
AnswerRe: Namespaces Pin
Mark Salsbery3-Apr-07 16:14
Mark Salsbery3-Apr-07 16:14 
GeneralRe: Namespaces Pin
Cpugeek4-Apr-07 13:39
Cpugeek4-Apr-07 13:39 
GeneralRe: Namespaces Pin
Mark Salsbery4-Apr-07 13:59
Mark Salsbery4-Apr-07 13:59 
GeneralRe: Namespaces Pin
Cpugeek4-Apr-07 15:04
Cpugeek4-Apr-07 15:04 
GeneralRe: Namespaces Pin
Mark Salsbery4-Apr-07 15:22
Mark Salsbery4-Apr-07 15:22 
No problem - I'm pretty sure everyone does this stuff for the first time Smile | :)

What version of Visual Studio? Note that in 2003, the managed C++ syntax wasn't formalized so
it uses "managed extensions for C++" syntax. For VS 2005, the managed syntax for C++ is an
official extension to the language (and is different from 2003).

From solution explorer, right-click the project and choose "Properties"

For VS 2003 .NET
Configuration Properties/General/Use Managed Extensions

For VS2005
Configuration Properties/General/Common Language Runtime Support (you'll probably want the "/clr"
setting for an existing unmanaged project).

After a complete rebuild, your app will be a .NET assembly. Instead of CPU machine code, it is
compiled to MSIL. At runtime, it's just-in-time compiled to machine code.
You probably won't notice it, except in the debugger. The first time I tried it on a large
solution with an MFC exe using DirectX, Windows Media, GDI+, etc it built and ran first try, no
problems.



"If you can dodge a wrench, you can dodge a ball."

GeneralRe: Namespaces Pin
Cpugeek4-Apr-07 15:40
Cpugeek4-Apr-07 15:40 
QuestionVisual C++ 6 question Pin
act_x3-Apr-07 14:58
act_x3-Apr-07 14:58 
AnswerRe: Visual C++ 6 question Pin
Michael Dunn3-Apr-07 17:19
sitebuilderMichael Dunn3-Apr-07 17:19 
AnswerRe: Visual C++ 6 question Pin
ThatsAlok18-Apr-07 21:01
ThatsAlok18-Apr-07 21:01 
AnswerRe: AlphaBlend and masking problem Pin
Christian Graus3-Apr-07 12:57
protectorChristian Graus3-Apr-07 12:57 
QuestionQuestion on DirectDraw Pin
Remco Hoogenboezem3-Apr-07 11:47
Remco Hoogenboezem3-Apr-07 11:47 
QuestionCopying Directories and Files [modified] Pin
nakranir3-Apr-07 9:51
nakranir3-Apr-07 9:51 
QuestionRe: Copying Directories and Files Pin
David Crow3-Apr-07 10:19
David Crow3-Apr-07 10:19 
AnswerRe: Copying Directories and Files Pin
nakranir3-Apr-07 11:29
nakranir3-Apr-07 11:29 
GeneralRe: Copying Directories and Files Pin
kakan3-Apr-07 19:33
professionalkakan3-Apr-07 19:33 
GeneralRe: Copying Directories and Files Pin
David Crow4-Apr-07 2:47
David Crow4-Apr-07 2:47 
GeneralRe: Copying Directories and Files Pin
ThatsAlok18-Apr-07 21:00
ThatsAlok18-Apr-07 21:00 
QuestionDetermine if the current user is member of the Administrators Group Pin
RomTibi3-Apr-07 9:30
RomTibi3-Apr-07 9:30 
AnswerRe: Determine if the current user is member of the Administrators Group Pin
Mark Salsbery3-Apr-07 9:47
Mark Salsbery3-Apr-07 9:47 
GeneralRe: Determine if the current user is member of the Administrators Group Pin
RomTibi3-Apr-07 11:00
RomTibi3-Apr-07 11:00 
GeneralRe: Determine if the current user is member of the Administrators Group Pin
RomTibi4-Apr-07 7:05
RomTibi4-Apr-07 7:05 
GeneralRe: Determine if the current user is member of the Administrators Group Pin
Mark Salsbery4-Apr-07 7:29
Mark Salsbery4-Apr-07 7:29 

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.