aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1355

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

actif  Sujet n° 1355  PPapplet question.

le 01/02/2006 @ 00:09
par Nevin

Anonyme



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.
Ecrire à Nevin   Poster une réponse  Haut

[]   

DébutPrécédent [ 1 2 ] SuivantFin

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1
--------
le 01/02/2006 @ 02:07
par Khertan

Anonyme

visiteur
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
Ecrire à Khertan   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 01/02/2006 @ 04:47
par Nevin

Anonyme

visiteur
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.
Ecrire à Nevin   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3
--------
le 01/02/2006 @ 16:43
par Nevin

Anonyme

visiteur
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

Ecrire à Nevin   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4
--------
le 02/02/2006 @ 06:28
par Pierre

Anonyme

visiteur
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.
Ecrire à Pierre   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5
--------
le 02/02/2006 @ 20:20
par aldweb

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 6
--------
le 02/02/2006 @ 20:57
par Khertan

Anonyme

visiteur
is it ok now ?
Ecrire à Khertan   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 7
--------
le 03/02/2006 @ 05:20
par Nevin

Anonyme

visiteur
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
Ecrire à Nevin   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 8
--------
le 04/02/2006 @ 17:19
par aldweb

Anonyme

visiteur
OK, Nevin, you then have the week-end to prepare your next set of questions

Cheers


@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 9
--------
le 10/04/2006 @ 01:59
par bh77a

Anonyme

visiteur
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
  Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 10
--------
le 10/04/2006 @ 10:17
par aldweb

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut
DébutPrécédent [ 1 2 ] SuivantFin
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^