Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build exe fails when called in method
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00875705
Message ID:
00875725
Views:
16
Lauren,

I'm not sure if that's the same problem as discussed in Re: Was expected to be fixed but it's not Thread #760584 Message #760870 but it worth taking look at.

>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform