QUESTION: My Console Application compiles fine, but when I run it I get a Runtime Error 6. What is this error and how do I fix it? ANSWER: Runtime error 6 is defined in the online help as:
The most probable cause of this error is that the compiler directive for
APPTYPE has not been set to console. Your console application you should set
the APPTYPE to CONSOLE at the beginning of you application. If you are using
dcc32 to compile you program you could also pass the /CC command line option.
Your console application should look something like this:
|
Last Modified: 03-JUL-01