Solved

Compile to p-code?

Posted on 1998-11-04
1
144 Views
Last Modified: 2010-04-30
What exactly is this option in VB5: Compile to p-code?  I've noticed when using this option my compiled programs seem to run faster and it definitly compiles a lot faster.  Is this one of those Pentium things where the program compiled this way will only run on Pentium?  or will my program run on any computer?

Thanks for the help
0
Comment
Question by:dokken
1 Comment
 
LVL 12

Accepted Solution

by:
mark2150 earned 40 total points
ID: 1443079
P-code is Pseudo Code and not Pentium code. Pseudo code is like tokenized basic back in the interpretive days. The compile time is reduced as 80x86 code is not generated. The runtime should be *longer* as the p-code has to be converted to x86 opcodes to run. What p-code gives you is platform independence. you should be able to send a p-code module to a VB runtime on another (non 80x86) platform (are there any?) have it run there without mod. Since I don't know of VB interpreters running on anything other than wintel boxes, the use of this is moot.

M

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question