Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem registering 16-bit functions
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem registering 16-bit functions
Divers
Thread ID:
00049046
Message ID:
00049046
Vues:
80
I am attempting to register some 16-bit functions in my application, using RegFn() in the FOXTOOLS.FLL library. The functions I'm trying to register are for an external toolkit from ZyLab for full-text indexing.

At first, the RegFn() attempt was failing universally. I got it to work by temporarily changing the FoxPro default directory to the directory where all the ZyLab .DLL files are. When I did this, the functions registered successfully (and were called successfully, as well).

But when I complile my program and run it as an .EXE, it fails. When it gets to my line of code witht the RegFn() call, it pops up a File Open dialogue. If I cancel from the dialogue, I get a "File does not exist" error. If I select a file in the dialogue, I get an error that reads "DDEInit failed". But, as I said, if I run my source code inside FoxPro, rather than as a compiled .EXE, the functions register and execute with no problems.

Any ideas?

Mark Peter
mpeter@primenet.com
=========================
Mark A. Peter
Los Angeles, CA
mpeter@primenet.com
=========================
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform