Weather / Spam / www |
Lyon Weather
aldweb against spam
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1355 |
PPapplet question. |
01/02/2006 @ 00:09 by Nevin
|
I am attempting to implement the 5 way navigator PP applet. I have installed the PP compiler and I have compiled both kTouch.pas on the PP compiler and kTouch.ibas with the iziBasic, but for some reason the 5 way navigator buttons are still not recognized. Could it be that the button codes for the navigator on my lifedrive are different than the T5 that khertan made the applet for? I am almost postive my code is identical to his. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 01/02/2006 @ 02:07 by Khertan
visitor |
Normally it s the same ...
but if you want to be sure ... just do a :
if $A<>"" then PRINT $A endif
after the return of the pp applet ... and when you will push one of your hard keys you will see the code that is ... :)
ps : sorry for my poor english |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 01/02/2006 @ 04:47 by Nevin
visitor |
I tried it but I am just getting a blank screen it is not printing anything there must be a problem with my applet. Both the applet and the .prc compile, but it just does not work. Do you have a copy of the PPApplet in Notepad that I could copy and paste. I think that it would be helpful(no comments preffered). I tried an online translator to translate your comments from french to english with limited success earlier today. My son speaks french, but he is only 8 and has limited translation ability. I must have a minor error somewhere, but I have been throught the code many times and cannot find it. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 01/02/2006 @ 16:43 by Nevin
visitor |
I am starting to think that I am doing something wrong when compiling. I tried to work with the IbHelloPP program and I get the "PP applet was not found!" and "PP armlet was not found! when I try to run the program after compiling.
This is what I have done: I have installed: -PPShell -pp.exe for arm (from the arm folder) -PalmAPI.pas(from examples -> units folder) What I have done: -I am using PIAF POSE as my editor. -I have copied all text files to my Lifedrive and then converted them to pdocs (They are named: iBHelloPP.ibas, iBHelloPP.pas, iBHelloPParm.pas) - I have used PPShell(pp.exe) to compile both .pas files. - I have used iziBasic to compile the .ibas file. - The program runs, much the same as kTouch.pas ran, but there is no comunication with the PPapplets.
Questions? a) What am I missing? b) Is there any linking RESOURCEFILE linking I need to do? or is it done automatically? c) Do I need to compile all files seperately and in which order?
Thank you for what ever help you are able to give. Sorry for all the questions. It just seems like it should be so easy and I can't get it to work.
Nevin
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 02/02/2006 @ 06:28 by Pierre
visitor |
Hi Nevin
I am not an iziBasic user, only a PP's one
In order to compile *.prc with Arm code you need : - to compile first all your armlets; it will generate code as resource - to compile then your main prog, the 'ARM' resource will, then, be include into your code. - at last, compile your iziBasic prog.
Have a look here : http://www.ppcompiler.org/articles.php?lng=en&pg=1163 this is a 'how to' about Armlets with PP (in english).
Hope it heps.
Pierre, au travail. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 02/02/2006 @ 20:20 by aldweb
visitor |
Hello,
You made a little mistake dear Pierre
The right processing is: 1. Compile your iziBasic source code first 2. Then, compile the PP applets that will be injected in the iziBasic application
Or: 1. Compile the PP applet 2. With BIRD, migrate it to a resource file 3. Declare this resource file in your iziBasic source code 4. Compile the iziBasic source code which will automagically integrate the resource file, so the PP applet
First way of doing is easier for beginners. Second way is faster once the PP applet is fixed and the iziBasic source code still needs enhancements.
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 02/02/2006 @ 20:57 by Khertan
visitor |
is it ok now ? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7 -------- 03/02/2006 @ 05:20 by Nevin
visitor |
Thanks, So simple. Worked right away. I can't believe that I did not compile in that order just by chance. I think I have used up my weekly quota of questions. Thanks again. Nevin |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 8 -------- 04/02/2006 @ 17:19 by aldweb
visitor |
OK, Nevin, you then have the week-end to prepare your next set of questions
Cheers
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 9 -------- 10/04/2006 @ 01:59 by bh77a
visitor |
Hello,
Forgive my ignorance, but I am trying to compile a PP applet (CPDB demo from the sample code) and am having problems. I use iziBasic to compile the xxx.ibas code. I then try to use PPShell to compile CPDBdemo.pas and nothing seems to happen. If it compiles, I do not get any visual feedback. Is a file created in RAM that contains the code resource that I should copy into CPDBdemo application? Does it automatically *inject* the resource into the application resources? Examining it with BIRD tells me that it doesn't.
Any thoughts would be greatly appreciated... I am familiar with PIAF/PP but not PPShell! Here is my setup:
Palm TX iziBasic 6.0 PPShell pp.exe (ARM version from last stable build) PalmAPI.pas PIAF 1.17 |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 10 -------- 10/04/2006 @ 10:17 by aldweb
visitor |
Hello bh77a,
Make sure to coompile first the iziBasic source code. Then, you may very well compile the PP applet with Piaf too, not only with PPShell, which is prefered especially because you are familiar with it. While compiling, the PP basic plain text window should appear and give you a few messages before it tells that compilation ended successfully. At this stage, the PP applet should have been automatically put in the main application because of the compiling directive used. For the CPDBdemo to run, you also need to copy the CPDBSTD120.PRC library to the device. The PP applet does nothing else but to link your main iziBasic code forth and back to this library.
Cheers, aldweb
@+ aldweb |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|
|
|
|
|