Microsoft P-Code - Your Art History Reference Guide!

ArtHistoryClub Information Site on Microsoft P-Code Art History Art History Search        Art History Browse             News        Gallery        Forums        Articles        Weblinks        welcome to our free resource site for all art history lovers!

Microsoft P-Code

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.

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.

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)

See also

External link

Last updated: 01-04-2007 01:18:57
The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. See original document.
Art History Search | Art History Browse | Contact | Legal info