Information générale
Catégorie:
Applications Internet
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement