Microsoft P-Code
From Free net encyclopedia
(Difference between revisions)
Revision as of 13:01, 8 April 2006
Cynical (Talk | contribs)
clean up using [[Wikipedia:AutoWikiBrowser|AWB]]
Next diff →
Cynical (Talk | contribs)
clean up using [[Wikipedia:AutoWikiBrowser|AWB]]
Next diff →
Current revision
Microsoft's P-Code, short for packed code, is an alternate binary format for any compiled binary (eg: DLLs, ActiveX controls, or Applications). Its primary goal is to produce smaller files. Both the Visual C++ and Visual Basic compilers support P-Code.
[edit]
Using P-Code in Visual Basic
(version 6) Open your project; open the Project Properties dialog; click on the Compile tab; click the option button Compile to P-Code.
[edit]
Using P-Code in Visual C++
To turn on use of P-Code, use the Pragma directive, ie:
//Turn P-Code on #pragma optimize("q", on)
//Turn P-Code off #pragma optimize("q", off)
This feature does not appear to be supported in recent versions of Visual C++, however.
[edit]
See also
- P-Code (Pascal)
[edit]
External link