Discussions about creating CAPI applications to run on Android devices
Post Reply
Posts: 333
Joined: July 22nd, 2016, 3:55 pm

Post by AriSilva » March 25th, 2020, 6:49 pm

I´m using the pff object to write a pff and then execute it.
Everything was working fine until I tried to save the object to be able to have a look at it, and then the pff did not execute anymore, issuing an error in the name of the ent file.
In fact, the saved pff file was wrong, both the Application and the InputData parameters.
The attached file has 3 files:
1. pff_exec.txt - the function that creates the pff and make it run. The command on line 50 is commented.
2. ...Modelo.pff - the source pff that is input for the function
3. ---Executa.pff - the generated pff, if the is uncommented.
What am I doing wrong?
(1.57 KiB) Downloaded 3 times

Gregory Martin
Posts: 1290
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC


Post by Gregory Martin » March 26th, 2020, 8:23 am

I think this is the same problem as this: viewtopic.php?f=1&t=3856

This works correctly on Windows but not on Android. It's fixed for CSPro 7.4 but for now, you can get correct behavior if you save the PFF using a filename that starts with different characters than the source PFF. So instead of BRUMA, try _BRUMA. If you do this, things should work.

Post Reply