Solved

Compile to p-code?

Posted on 1998-11-04
1
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

739 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