Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
ISAPI help with COM servers
Hi all,
Hope someone here can guide/answer my issue...
I'm working on a project writing a C++ ISAPI extension for handling web-requests... Most of it appears to be working ok, and I can successfully invoke the Component Object Model server method. However, the Component Object Model server being invoked is written with Visual FoxPro.
The baseline of research I had was the FoxISAPI.dll to better understand some of the mechanics behind the operations and all the way to the point of setting up the VARIANTARG class as a parameter to the IDispatch / DispMethod.Invoke() call. The FoxISAPI does some converting of strings to a "bstr" data type and all is ok there (understanding what, but not the why).
My ultimate goal, however, is to pass another object up to the VFP handler. So, is it possible to pass a pointer to the pECB (Extension_Control_Block) object to Visual FoxPro Component Object Model server so I can make use of things like GetServerVar, WriteClient and ReadClient methods??? If so, how, if not, what alternatives should I consider....
Appreciate the input,
Thanks,
Don
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