Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro 5 COM/DLL working with VB6
Message
 
À
24/01/2001 15:24:29
Dave Nantais
Light speed database solutions
Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00468162
Message ID:
00468186
Vues:
20
>>>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.
>
>
>It skips past the MsgBox command as though it does not exist.
>No errors are reported.
>
>I am concerned the VB6 programmer does not know what he is doing and there are other settings he is not working with properly or something...

Is it possible to test the same VB routines containing MsgBox without instantiating the COM? Or may be place additional button calling some MsgBox and see what happens?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform