Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling / Other Errors with Class Libraries
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00519247
Message ID:
00519882
Views:
17
>>>>you have to recompile the classlib, and maybe cleanup the project. The paths are repeated in the compiled code, and the compiling is automatic, based on timestamp. Manual changes done from a browse won't advance the timestamp, therefore the need to force a recompile.
>>>
>>>Dragan,
>>>
>>>How do I force the recompile on the class libraries? Do you mean to Recompile All Files in the Build Options?
>>>
>>>Renoir
>>
>>Either that option, or just COMPILE CLASS yourclassname
>
>BTW, if you use classes without source code (say, GH), you can not use Recompile all option.

Yes, you can. When you build your final exe, you just do it in steps. First you use Recompile All option. Then you copy the fresh class libraries which have no source code from their source file (ZIP) into your project directory again. Then you build EXE with Recompile All option unchecked. So, all your source code is recompiled. I personally use Recompile All option very seldom. Usually before I do the final build for the distribution EXE version. BTW, this procedure is described in GHL's Readme.doc
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform