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

Managed C++/CLI

 
AnswerRe: GetProcesses in C++ Pin
Christian Graus1-Jun-07 11:47
protectorChristian Graus1-Jun-07 11:47 
QuestionUI thread not allowing Garbage Collection? Pin
SE_GEEK1-Jun-07 7:08
SE_GEEK1-Jun-07 7:08 
QuestionNEW dialog ID problem Pin
sonavi1-Jun-07 2:11
sonavi1-Jun-07 2:11 
AnswerRe: NEW dialog ID problem Pin
Mark Salsbery1-Jun-07 5:09
Mark Salsbery1-Jun-07 5:09 
QuestionWindows Forms Application with mixed code Requires an annoying Console Window Pin
earlgraham31-May-07 12:31
earlgraham31-May-07 12:31 
AnswerRe: Windows Forms Application with mixed code Requires an annoying Console Window Pin
Mark Salsbery31-May-07 14:38
Mark Salsbery31-May-07 14:38 
GeneralRe: Windows Forms Application with mixed code Requires an annoying Console Window Pin
earlgraham1-Jun-07 5:24
earlgraham1-Jun-07 5:24 
GeneralRe: Windows Forms Application with mixed code Requires an annoying Console Window Pin
Mark Salsbery1-Jun-07 5:44
Mark Salsbery1-Jun-07 5:44 
Did setting it to WINDOWS automatically change the Linker\Advanced\Entry Point setting?

For a forms app, the Linker\Advanced\Entry Point setting is "main" and the Linker/System/Subsystem is WINDOWS.

For a Win32 app, Linker\Advanced\Entry Point is WinMainCRTStartup (or wWinMainCRTStartup for
unicode) and the Linker/System/Subsystem is WINDOWS.

So, it seems to me, you need Linker\Advanced\Entry Point set to WinMainCRTStartup (or
WinMainCRTStartup), the Linker/System/Subsystem set to WINDOWS, and change your "main" to
"_tWinMain" (or whatever the appropriate WinMain prototype is these days Smile | :) ) ...
WinMainCRTStartup will call a "WinMain", not "main".

Mark





"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Windows Forms Application with mixed code Requires an annoying Console Window Pin
earlgraham1-Jun-07 10:37
earlgraham1-Jun-07 10:37 
GeneralRe: Windows Forms Application with mixed code Requires an annoying Console Window Pin
Mark Salsbery1-Jun-07 12:14
Mark Salsbery1-Jun-07 12:14 
Questionradioc box problem Pin
sonavi30-May-07 23:09
sonavi30-May-07 23:09 
AnswerRe: radioc box problem Pin
Paul Conrad14-Jul-07 13:41
professionalPaul Conrad14-Jul-07 13:41 
QuestionDebugging problem Pin
HZ_7930-May-07 22:00
HZ_7930-May-07 22:00 
Questioncrtdbg.h - _ASSERT_EXPR Pin
Tal S.29-May-07 21:38
Tal S.29-May-07 21:38 
AnswerRe: crtdbg.h - _ASSERT_EXPR Pin
Mark Salsbery30-May-07 5:09
Mark Salsbery30-May-07 5:09 
GeneralRe: crtdbg.h - _ASSERT_EXPR Pin
Tal S.31-May-07 2:06
Tal S.31-May-07 2:06 
GeneralRe: crtdbg.h - _ASSERT_EXPR Pin
Mark Salsbery31-May-07 5:35
Mark Salsbery31-May-07 5:35 
GeneralRe: crtdbg.h - _ASSERT_EXPR Pin
Tal S.31-May-07 9:45
Tal S.31-May-07 9:45 
GeneralRe: crtdbg.h - _ASSERT_EXPR Pin
Mark Salsbery31-May-07 9:50
Mark Salsbery31-May-07 9:50 
QuestionInter-process communications Pin
gapfulgence29-May-07 7:21
gapfulgence29-May-07 7:21 
AnswerRe: Inter-process communications Pin
Christian Graus29-May-07 12:44
protectorChristian Graus29-May-07 12:44 
GeneralRe: Inter-process communications Pin
gapfulgence29-May-07 13:02
gapfulgence29-May-07 13:02 
Questionerror to the input string..please help Pin
lavy288327-May-07 4:09
lavy288327-May-07 4:09 
AnswerRe: error to the input string..please help Pin
Christian Graus27-May-07 10:42
protectorChristian Graus27-May-07 10:42 
GeneralRe: error to the input string..please help Pin
lavy288328-May-07 1:36
lavy288328-May-07 1:36 

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.