Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM DLL causes IDispatch 1031 error
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00192578
Message ID:
00193047
Views:
19
I don't know about printer behavior in In-Proc servers. I know it works
in OutofProc servers - the problem is likely VFP's print dialog that pops
up, but I can't say for sure.

+++ Rick ---

>Hi Rick,
>
>I have written a COM-DLL in VFP which interacts and performs very well with some other COM objects written in VC++ and VB. There is a requirement for this object (written in VFP) to spool particular reports to the printer with the use of 'REPORT FORM ...'. I am aware that we cannot have a UI with a VFP COM object if its in-process, and it is supported as an EXE. I am not using the 'PROMPT' modifier in the 'REPORT FORM' call so I assume I am not making a call to this command to exhibit its UI potential; or am I?
>
>I have debugged the object to this particluar line when I get the error. I seem to remember that a 'no of pages spooled' dialog does pop up when VFP prints. Is this causing the problem? If so, can we suppress this dialog?
>
>I would be grateful for any comment, or light shed on the subject.
>
>TIA
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform