Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiled exe does not work with frx2any?
Message
De
14/01/2006 15:14:05
Koos Veel
Gamma Research
Aruba
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FRX2Any
Titre:
Compiled exe does not work with frx2any?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01086841
Message ID:
01086841
Vues:
180
Dear all,

We use Frx2Any in an application written in VFP 9.0 SP1 but we cannot make it work from the compiled .exe. In developers mode it works perfect but after compiling an installation the calls to the application object are returned without any result.
The following is the way we set it up (the file frx2any.app is in the root directory of the program):
*-- The compiler gives an error if we say "set classlib to..." so we make a variable:
#DEFINE cnOUTPUT_FILE  		4
lcFrx2AnyLibrary = 	"FRX2Any"	 
SET CLASSLIB TO &lcFrx2AnyLibrary IN FRX2Any.APP ALIAS FRX2Any
*
loFile = CREATEOBJ('FRX2Any.PDFFile')
*
IF TYPE('loFile') = 'O'
	*-- Enter licence key.
loFile.UNLOCK('123456-123456-123456-123456-123456-123456-123456-123456')
	*-- NOTE: loFile.cExportFileName should not include file extension.
	loFile.cExportFileName = "OutputFile"
	*-- NOTE: loFile.cSaveFolder should contain only path to the output file.
	loFile.cSaveFolder = "c:\OutputFiles\"
	loFile.lDisplayStatus  = .F.
	loFile.nOutPutType = cnOUTPUT_FILE  
	loFile.SAVE("MyReport")
	loFile.RELEASE()
ENDIF
The loFile object is instantiated without problem but lcReportFullName never exists.
Anybody knows what we do wrong here?

Regards,

Koos Veel.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform