Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX. Problem with using it in .APP
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
XFRX. Problem with using it in .APP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01319845
Message ID:
01319845
Vues:
71
Hi,

I have come across the following problem:

The .EXE application calls an .APP project. The .APP project is using XFRX to convert a report to a PDF file. So far, it works.

But after calling .APP, the EXE application that is also using XFRX always display a message the .FRX file not found.

I have traced the problem to the line
loSession = XFRX("XFRX#INIT")
in the .APP application. That is, after this line, the EXE application XFRX cannot find .FRX file.

The .APP application is converting .FRX residing on the disk and the EXE is converting .FRX in the .EXE file. Could this be the problem?

How can I reset the XFRX to look for .FRX file in the .EXE instead of on the driver?

Thank you in advance for any suggestions.

UPDATE: I found out that a way to make the program work is to call XFRX in .EXE first. Then, if I call XFRX in the .APP and then back in the .EXE, everything works. So it seems like XFRX is initialized or does something first time (even though I use all local variables) that stays in the memory. Unless I am confusing something.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform