Click here to Skip to main content
15,902,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionis it technically right to refer programs written for MS-DOS as 16 bit Pin
Jayapal Chandran28-Oct-10 19:43
Jayapal Chandran28-Oct-10 19:43 
AnswerRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Gerben Jongerius28-Oct-10 19:46
Gerben Jongerius28-Oct-10 19:46 
GeneralRe: is it technically right to refer programs written for MS-DOS as 16 bit [modified] Pin
Jayapal Chandran29-Oct-10 22:32
Jayapal Chandran29-Oct-10 22:32 
AnswerRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Peter_in_278028-Oct-10 19:59
professionalPeter_in_278028-Oct-10 19:59 
GeneralRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Jayapal Chandran29-Oct-10 22:39
Jayapal Chandran29-Oct-10 22:39 
AnswerRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Eytukan28-Oct-10 21:24
Eytukan28-Oct-10 21:24 
GeneralRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Jayapal Chandran29-Oct-10 22:38
Jayapal Chandran29-Oct-10 22:38 
AnswerRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Aescleal28-Oct-10 23:41
Aescleal28-Oct-10 23:41 
It's not a bad description to start with as all DOS programs start life as 16 bit programs. The calling convention for DOS was all real mode and register based so most parameters had to be 16 bit. If you wanted to pass 32 you had to use a structure or pack them in two registers.

However while all DOS programs start execution as 16 bit, by the early 90s most were starting to branch out a bit and would switch to either 16 or 32 bit protected mode fairly quickly, switching back to 16 bit real (or V86) mode when they needed to make system calls. it was a complete rat's nest and you're better off ignoring it unless you're interested in how the whole sorry mess evolved in the name of compatability.

Cheers,

Ash
GeneralRe: is it technically right to refer programs written for MS-DOS as 16 bit Pin
Jayapal Chandran29-Oct-10 22:38
Jayapal Chandran29-Oct-10 22:38 
Questionsizeof string array in for loop? Pin
ALLERSLIT28-Oct-10 4:40
ALLERSLIT28-Oct-10 4:40 
AnswerRe: sizeof string array in for loop? PinPopular
Chris Losinger28-Oct-10 4:56
professionalChris Losinger28-Oct-10 4:56 
GeneralRe: sizeof string array in for loop? Pin
ALLERSLIT28-Oct-10 5:23
ALLERSLIT28-Oct-10 5:23 
AnswerRe: sizeof string array in for loop? Pin
Sauro Viti28-Oct-10 5:23
professionalSauro Viti28-Oct-10 5:23 
GeneralRe: sizeof string array in for loop? Pin
ALLERSLIT28-Oct-10 5:29
ALLERSLIT28-Oct-10 5:29 
GeneralRe: sizeof string array in for loop? Pin
Sauro Viti28-Oct-10 6:08
professionalSauro Viti28-Oct-10 6:08 
AnswerRe: sizeof string array in for loop? Pin
Aescleal28-Oct-10 23:29
Aescleal28-Oct-10 23:29 
QuestionProblem with ScrollBar(MFC VC6) Pin
ashtwin28-Oct-10 1:50
ashtwin28-Oct-10 1:50 
AnswerRe: Problem with ScrollBar(MFC VC6) Pin
Richard MacCutchan28-Oct-10 2:58
mveRichard MacCutchan28-Oct-10 2:58 
GeneralRe: Problem with ScrollBar(MFC VC6) Pin
ashtwin28-Oct-10 21:23
ashtwin28-Oct-10 21:23 
GeneralRe: Problem with ScrollBar(MFC VC6) Pin
Richard MacCutchan28-Oct-10 23:05
mveRichard MacCutchan28-Oct-10 23:05 
QuestionEncoderParameter in GDIPLUS Pin
002comp28-Oct-10 0:40
002comp28-Oct-10 0:40 
QuestionUse of Non-Unicode DLL in Unicode project Pin
chevu27-Oct-10 21:45
chevu27-Oct-10 21:45 
AnswerRe: Use of Non-Unicode DLL in Unicode project [modified] Pin
Aescleal27-Oct-10 22:07
Aescleal27-Oct-10 22:07 
AnswerRe: Use of Non-Unicode DLL in Unicode project Pin
Alain Rist27-Oct-10 22:41
Alain Rist27-Oct-10 22:41 
QuestionWindows 7 VS 2008 fatal error LNK1168: cannot open file.exe for writing Pin
transoft27-Oct-10 17:16
transoft27-Oct-10 17:16 

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.