Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does FoxISAPI know about my EXE?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00277299
Message ID:
00277323
Views:
27
>Can anyone explain to me how FOXISAPI finds an object within an EXE?
>
>When I create a VFP application for the web and compile it as a DLL, then register it on my server and call it with FOXISAPI, it seems to work OK.
>
>If, however, I compile it as an EXE I get an error message which says 'class id not found'.
>
>My question: when I pass an EXE name to FOXISAPI like foxisapi.dll/foxis.employee.startup, how does FOXISAPI know which EXE to run?
>
>Should I be using DLL's instead of EXE's?
>
>TIA

Same way as it finds the DLL... you have the register the .EXE as a COMponent... you do this by running the .EXE on the machine with the /regserver command line switch.

From the DOC:

A Visual FoxPro Automation server built as an out-of-process .exe can also be registered by specifying the Automation server name and including the /RegServer switch. For example, the following command registers the Visual FoxPro FoxWeb Automation server:

Foxweb.exe /RegServer

BOB
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform