Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #if [edited] Pin
toxcct22-Dec-05 23:41
toxcct22-Dec-05 23:41 
GeneralRe: #if [edited] Pin
Eytukan23-Dec-05 0:37
Eytukan23-Dec-05 0:37 
AnswerRe: #if Pin
khan++22-Dec-05 23:35
khan++22-Dec-05 23:35 
GeneralRe: #if Pin
Smith#22-Dec-05 23:39
Smith#22-Dec-05 23:39 
GeneralRe: #if Pin
toxcct22-Dec-05 23:43
toxcct22-Dec-05 23:43 
GeneralRe: #if Pin
Smith#22-Dec-05 23:50
Smith#22-Dec-05 23:50 
GeneralRe: #if Pin
toxcct22-Dec-05 23:58
toxcct22-Dec-05 23:58 
GeneralRe: #if Pin
toxcct22-Dec-05 23:40
toxcct22-Dec-05 23:40 
2 things to try to demonstrate (on more time D'Oh! | :doh: ) that you're wrong :

on the link you provide, it tells that the macro is not defined by VisualC++ compiler :
__MSDOS__       Turbo C, Borland C, and DJGPP


the second thing is that, even if the compiler sets this macro, the program won't be able to determine while running, if it is launched from windows, or from a plain MS-DOS console. such a test must be done a runtime, not compile time, and even less a preprocessing time.


TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VisualCalc 3.0]
GeneralRe: #if Pin
khan++22-Dec-05 23:53
khan++22-Dec-05 23:53 
GeneralRe: #if Pin
Smith#23-Dec-05 0:06
Smith#23-Dec-05 0:06 
GeneralRe: #if Pin
toxcct23-Dec-05 0:10
toxcct23-Dec-05 0:10 
GeneralRe: #if Pin
Smith#23-Dec-05 0:33
Smith#23-Dec-05 0:33 
GeneralRe: #if Pin
toxcct23-Dec-05 1:01
toxcct23-Dec-05 1:01 
GeneralRe: #if Pin
Russell'23-Dec-05 0:15
Russell'23-Dec-05 0:15 
GeneralRe: #if Pin
Smith#23-Dec-05 0:35
Smith#23-Dec-05 0:35 
QuestionGetMenu() returns NULL for Visual Studio 2003 Pin
Owner drawn22-Dec-05 22:02
Owner drawn22-Dec-05 22:02 
AnswerSomebody help :( Pin
Owner drawn23-Dec-05 0:21
Owner drawn23-Dec-05 0:21 
GeneralOT Pin
Eytukan23-Dec-05 0:44
Eytukan23-Dec-05 0:44 
AnswerRe: GetMenu() returns NULL for Visual Studio 2003 Pin
PJ Arends23-Dec-05 10:48
professionalPJ Arends23-Dec-05 10:48 
QuestionHandling Win32 Exceptions Pin
mikobi22-Dec-05 21:57
mikobi22-Dec-05 21:57 
AnswerRe: Handling Win32 Exceptions Pin
ThatsAlok22-Dec-05 22:54
ThatsAlok22-Dec-05 22:54 
GeneralRe: Handling Win32 Exceptions Pin
mikobi22-Dec-05 23:00
mikobi22-Dec-05 23:00 
GeneralRe: Handling Win32 Exceptions Pin
toxcct22-Dec-05 23:19
toxcct22-Dec-05 23:19 
GeneralRe: Handling Win32 Exceptions Pin
mikobi22-Dec-05 23:27
mikobi22-Dec-05 23:27 
GeneralRe: Handling Win32 Exceptions Pin
Owner drawn22-Dec-05 23:44
Owner drawn22-Dec-05 23:44 

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.