Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting error when trying to print from within a DLL
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00858675
Message ID:
00858712
Views:
14
Dave,

You just have to build it as an EXE instead of a DLL.

>Some guys at work are having trouble printing from a DLL they created in VFP 6.0. The code works fine when running from VFP but when running from the DLL an error 'user interface not allowed' is generated. They are using a command like:
> report form x noconsole to printer
>
>I have not yet been fortunate enough to need to print from within a DLL. Why would they be getting this error and what is necessary to overcome the problem?
>
>Any help will be much appreciated.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform