Jump to content

Microsoft P-Code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ivan Pozdeev (talk | contribs) at 02:50, 20 June 2015 (grammar). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

P-Code, short for pseudo code, was a Microsoft proprietary intermediate language. The term derives from UCSD p-System. The language provided an alternate binary format to machine code (called "native code" in relevant products) for any compiled binary (e.g. DLLs, ActiveX controls, or applications). Its primary goal was to produce smaller (thus faster-loading) executables.[1] P-code output support was provided in 16-bit Visual C++ compilers and all versions of Visual Basic up to VB 6. At runtime, P-code is executed by and inside the Visual Basic virtual machine, msvbvm<version>.dll,[2] which also provides the runtime, implementing the VB standard library and handling special metadata like forms present in such executables. Since the advent of .NET framework, P-code and the VM were abandoned in favor of Common Language Runtime and Microsoft Intermediate Language.

See also

References

  1. ^ Rick Schaut (2006-06-03). "The History of Mac Office, Part I". MSDN Blogs. Retrieved 20 June 2015.
  2. ^ Versions prior to 5 had different naming scheme, see CrackZ - Visual Basic