General information
Category:
COM/DCOM and 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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only