Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does FoxISAPI know about my EXE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00277299
Message ID:
00277468
Vues:
29
>>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

Doh! That does it! Much Thanks - I can get back on track now. I didn't see this in any of my references.

By the way - after I do my testing, how do I UN-Register my server?
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform