Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro 5 COM/DLL working with VB6
Message
 
To
24/01/2001 15:02:17
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00468162
Message ID:
00468172
Views:
21
>I have made a basic VFP 5 COM Server.
>Its services are used by a VB 6 front end.
>
>The VB 6 programmer tells me whenever the COM Object is being used by his VB 6
>program the MsgBox commands get skipped.
>
>The messages boxes simply do not get displayed.
>
>He has worked around this problem by displaying his own custom made forms rather than using the MsgBox command.
>
>Am I doing something wrong?
>Are there compiler settings I am setting incorrectly when I build the .dll file?
>
>My code is a single .prg file containing DEFINE CLASS OLEPUBLIC ... ENDDEFINE along with the properties and methods of the COM object.
>This single .prg file is the 'main' file of the project.
>
>TIA

Hi Dave,

Do you mean just any MsgBox command in his VB6 project fails? I used VFP 6 COM object with VB 6 form and didn't have any problems with VB MsgBox command.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform