pff.save

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

pff.save

Post by AriSilva »

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 executa.save 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 executa.save is uncommented.
What am I doing wrong?
Attachments
BRUMA_10_Entrevista_Executa.zip
(1.57 KiB) Downloaded 175 times
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: pff.save

Post by Gregory Martin »

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