Microsoft P-Code

Microsoft P-Code

Microsoft's P-Code, short for packed code, is an intermediate language that provides an alternate binary format to native code for any compiled binary (e.g.: DLLs, ActiveX controls, or Applications). Its primary goal is to produce smaller files. P-Code binaries require an additional runtime library to execute. Both the 16-bit Visual C++ and Visual Basic compilers support P-Code.

Using P-Code in Visual Basic

(Version 6) Open the 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, i.e.:

 //Turn P-Code on
 #pragma optimize("q", on)

 //Turn P-Code off
 #pragma optimize("q", off)

This feature is only supported in 16-bit version of Visual C++, however.

See also



Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Microsoft Visual Studio — Visual Studio 2010 SP1 editing a WPF application Developer(s) …   Wikipedia

  • Microsoft Expression Web — Expression Web 4 running on Windows 7 …   Wikipedia

  • Microsoft Expression Studio — Microsoft Expression Developer(s) Microsoft Stable release 4.0 / June 7, 2010; 16 months ago ( …   Wikipedia

  • Microsoft Codename "Velocity" — is a distributed cache platform for in memory caches spread across multiple systems. Any number of systems can be a part of the cache; the velocity runtime pools together the individual caches on each machine to present an unified view to the… …   Wikipedia

  • Microsoft Agent — Microsoft provides examples on its website for the use of Agent. Microsoft Agent is a technology developed by Microsoft which employs animated characters, text to speech engines, and speech recognition software to enhance interaction with… …   Wikipedia

  • Code bloat — is the production of code that is perceived as unnecessarily long, slow, or otherwise wasteful of resources. Code bloat can be caused by inadequacies in the language in which the code is written, inadequacies in the compiler used to compile the… …   Wikipedia

  • Code name — A code name or cryptonym is a word or name used clandestinely to refer to another name or word. Code names are often used for military purposes, or in espionage. They may also be used in industry to protect secret projects and the like from… …   Wikipedia

  • Code managé — Managed code En informatique, le managed code (en français, code géré, ou code managé) permet d améliorer la sûreté de fonctionnement d un programme (et de simplifier le travail du programmeur). Ce terme fait partie de la terminologie Microsoft,… …   Wikipédia en Français

  • Microsoft Binary Format — In computing, Microsoft Binary Format (MBF) was a format for floating point numbers used in Microsoft s BASIC language products including MBASIC, QuickBasic and GW BASIC.[1] MBF double precision numbers consist of a sign bit, an eight bit… …   Wikipedia

  • Microsoft Access — Microsoft Office Access 2010 running on Windows 7 Developer(s) Microsoft Corporation …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”