Microsoft KB Archive/116324

{|
 * width="100%"|

PRB: Visual Workbench Cannot Debug Windows P-Code Applications

 * }

Q116324

1.00 1.50 WINDOWS kbtool kbprb -- The information in this article applies to: - The Visual Workbench Integrated Debugger included with: Microsoft Visual C++ for Windows, versions 1.0 and 1.5 -- SYMPTOMS ======== Using the Visual C++ integrated debugger to debug a Windows-based application compiled with the /Oq compiler option (to generate P-code) causes the following error message to be returned: 'C:\MSVC\SAMPLES\GENERIC\GENERIC.EXE' is not a valid executable file. The same application compiled without the /Oq option does not generate the error message during debugging. RESOLUTION ========== This is by design. P-code applications can only be debugged in the CodeView debugging environment. NOTE: Because CodeView does not run under Windows NT, P-code applications must be debugged under 16-bit Windows. Additional reference words: 1.00 1.50 KBCategory: kbtool kbprb KBSubcategory: WBDebug

Keywords : kb16bitonly

Issue type :

Technology :