Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build exe fails when called in method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Build exe fails when called in method
Divers
Thread ID:
00875705
Message ID:
00875705
Vues:
55
Hi All,

Here's what I've got:
1. VFP8
2. A project of medium size (web-connect based web-application). This project builds just fine from the command line, or from the project manager. No .err file, no complaints. I have even scanned the .pjx file and complied every artifact "by hand" one at at time with no errors.
3. I have packed and re-indexed the .pjx file.
build exe myapp.exe from myapp.pjx recompile  
works fine, creates a valid .exe file.

but this:
lo = createobject([test])
lo.buildEXE()

define class test as custom
  function buildExe()
    build exe myapp.exe from myapp.pjx recompile
  endfunc
enddefine
Fails with a "Function argument value, type, or count is invalid" error. The .exe is created, but it is non-viable (just a 24K "header" of some sort, not the app).

I can't repro this for every project, just the larger (useful) ones. Again, the app compiles with no errors, the pathing is exactly the same in both cases, no project hooks are active AFAIK (how do I tell this?).

Anyone face this one before?

TIA,
-lc
-lc
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform