Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling on server?!
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00448716
Message ID:
00448751
Views:
7
>Hi!
>
>There is no difference for VFP where you compile EXE file. However, when you're building COM object in EXE file (like object required for FoxISAPI), you will require to register that object remotely. Just copy exe file to server and run regsvr32 application at server.

Actually, Regsvr32 won't work with a VFP EXE. You will get an error message saying that the file is not a DLL or OCX. In order to register a COM EXE on a remote box, run the EXE with the /regserver parameter.

To unregister, run it with the /unregserver parameter.

Also, once the COM server is registered, you don't need to re-register it unless you regenerate the GUIDs. Just copy the new EXE (and type library if needed) over the old ones. The registry entries will be the same so no firther processing is needed.

>
>When you compile EXE file with COM object at server, it registered automatically at that machine - all the difference.
>
>>Hi All,
>>
>>I am quiet new to this but using Rick Strahl’s book I managed to start writing Web applications using FoxISApi.dll. The one thing that bugs me at the moment though is that I have to re-compile the application on the server itself. Is there a way of re-compiling remotely, upload the new .exe file and register it somehow on the server?
>>
>>Thanks in advance,
>>
>>Toine
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform