Information générale
Catégorie:
COM/DCOM et OLE Automation
I saw this yesterday, it only seems to do this in EXE or DLL, This message box pops up after a createobject("vfpcom.comutil") IN VFP7 Only. Does MS As a solution for this ?
>Hi there.
>I am using ADO to generate a record set of data from SQL Server. Then, I convert the record set to a foxpro cursor using the RStoCursor method of VFPCom.ComUtil. This works great, until.... I then built my project into a multi-threaded com server. When I used my com server, it crashed - took me a while to figure out why. Apparently, the VFPCOM.ComUtil throws up a MessageBox saying "This OCX can only be hosted by Visual Foxpro". I'm guessing that VFPCOM doesn't realize that my com server is visual foxpro.
>
>Anyone have any experience with this or know of a work around (short of sifting thru the RS myself and building my own cursor :)
>
>Thanks!
>Alan
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