Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiling on server?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00448716
Message ID:
00448748
Vues:
11
This is not exactly correct. REGSVR32.EXE utility is supposed to register only DLL and OCX. If you try it with EXE you will get an error message:

"c:\test\mydcom.exe does not appear to be a .DLL or .OCX file"

When you register DCOM EXE on the server PC you must use

myDCOM.EXE -regserver


>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.
>
>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
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform