Information générale
Catégorie:
Contrôles ActiveX en VFP
Armin,
Thanks for trying. I did the same as you and wrote a VB wrapper for VFP a while back that will start a VFP exe as a service.
I think the problem in VFP is that the C++ service controller part is working with 2 threads of VB which probably can't be duplicated in VFP...
>Claude,
>
>I couldn't get it to run as well. It does the same as it did in VFP6, so the VB wrapper still seems to be the only easy solution.
>
>Nevertheless it was worth the effort :)
>
>Regards,
>Armin
>
>>I may have spoken too soon. NTSVC.ocx loaded fine and was able to install/uninstall the service, but, it seems to have a problem with the OCX Start event. I've tried _VFP.autoyield=.F. and DOEVENTS(), but, it didn't seem to help. Looking at the documentation, he seems to have programmed specifically for the VB threading model...
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