Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error when trying to print from within a DLL
Message
De
12/12/2003 13:13:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00858675
Message ID:
00858686
Vues:
13
Hi David

Like the error message tells you, a DLL can never have a 'user interface', meaning that you can not have any commands that generate output to the screen, or that expects input from the user.


>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.
>
>Thanks!
>Dave :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform