Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form command in a dll
Message
From
21/01/2000 14:30:42
 
 
To
21/01/2000 13:11:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00320687
Message ID:
00321074
Views:
21
>>>I'm trying to automate report generation on a Web site and found that the dll I created with Fox 6 didn't like the Report Form line in my code. Which was a surprise to me because I thought pretty much all the commands (with some obvious exceptions) were available for use in COM creation. So my question is - is there a way around this? and is there a list somewhere of "prohibited" commands that can be used in EXEs but not DLLs?
>>
>>The VFP team really goofed, and did not include REPORT FORM support in the in-process servers (how the heck are we supposed to create PDF files?). Hopefully in the next version, or in an upcoming service pack...
>>
>>You can do what you want to do by creating an out-of proc exe server to handle your printing, and calling it from your in-proc dll.
>
>I tried creating an out-of-process server to handle the printing, and calling it from the in-process server, but the very same thing happened ("User interface operation not allowed at this time" on the REPORT FORM line). This time the error happened when the object was instantiated and run in Fox 6, and I didn't even get to the browser testing phase. Before, it ran fine in Fox.
>
>What happens to the cursor created in the DLL? Is it available to the EXE?
>
VFP cursors do not cross COM boundaries.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform