Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems Compiling an EXE
Message
From
24/10/2002 14:38:08
 
 
To
24/10/2002 14:22:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00715001
Message ID:
00715061
Views:
10
Yes, I've deleted the previous EXE.
I have also rebuilt the project (option 1 in build dialog), and built an App (option 2 in build dialog)...both with no errors. I only get the error when I try to build an EXE.

This is crazy!

*** I tried the program you sent...and believe it or not it found two messed up reports...now why didn't the EXE builder pick this up???

Anyway thanks lots!!!!!!!!!!!!!!!!!


>Ok, have you tried the obvious (that is what usually gets me) manually delete any .exe and .app in the directory and try again. If it still doesn't work, I have a prg I got off the UT (from Mike Yearwood I think) that steps through the project and compiles each item in the project manually and notifies you if there is a problem:
>
>local lcOnError
>lcOnError = ON("ERROR")
>local lcName
>lcName = ""
>on error do comperr with lcName
>local lcAlias
>lcAlias = ALIAS()
>SELECT 0
>USE MI.PJX AGAIN alias myproj
>LOCAL lcTalk
>lcTalk = SET("talk")
>SET TALK OFF
>SCAN
>  lcName = myproj.name
>  DO CASE
>  CASE INLIST(TYPE,"xi")
>    LOOP
>  CASE TYPE = "M" && menu
>    LOOP
>  CASE TYPE = "P" && PROGRAM
>    COMPILE (m.lcName)
>  CASE TYPE = "R" && REPORT
>    COMPILE (m.lcName)
>  CASE TYPE = "K" && SCREEN
>    COMPILE FORM (m.lcName)
>  CASE TYPE = "V" && CLASSLIB (VCX)
>    COMPILE classlib (m.lcName)
>  ENDCASE
>  WAIT WINDOW lcName NOWAIT
>ENDSCAN
>use in myproj
>if !empty(lcAlias)
>  select (lcAlias)
>endif
>ON ERROR &lcOnError
>SET TALK &lcTalk
>return
>
>procedure comperr
>lparameters tcName
>?tcName
>return
>
>
>>There are no differences...I copy the entire project files, etc. to my laptop everytime I go on the road...(The entire folder structure).
>>
>>Like I said...I've compliled this project literally 100's of times on my desktop without difficulty.
>>
>>I am the same user, everything...It just doesn't make sense.
>>
>>I was able to successfully complile this project this tuesday before I left the office.
>>
>>>What is the difference in the environment between the laptop and the pc that does not work? Any different path statement, dlls missing, antivirus software temporarily turned off, etc? Location of temporary files both in foxpro and the windows environment different? Delete the foxuser tables and try again... Different config.fpw files? Are you the same user on both machines? Just running down the list of stuff to check...
>>>
>>>Tracy
>>>
>>>>I have an project that I have compliled 100's of times without problems for years. I tried compiling it today and I get the following error at the end of the compile:
>>>>
>>>>Function argument value, type, or count is invalid (Error 11) and it doesn't create the EXE. (Yet, there are no errors during the compile, and the status bar says Build Application Complete)
>>>>
>>>>I have done the following:
>>>>
>>>>I have used the rebuild project option (no errors)
>>>>I have built an APP file (no errors)
>>>>I have reapplied the 7.0 SP1 update
>>>>I have copied another version of the project from my laptop (which does compile without error into an EXE)...and I still get the error on my desktop.
>>>>
>>>>I don't know what to do at this point...
>>>>
>>>>Any Ideas?
>>>>
>>>>Thanks.
>>>>
>>>>Bob Bartel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform