Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DECLARE ... DLL troubles
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00185945
Message ID:
00185969
Views:
19
>Whenever I try to declare the win32 function AddPrinterDriver, I get the following error: "Cannot find entry point AddPrinterDriver in the DLL." This also happens for EnumPrinterDrivers.
>
>The exact command line I'm using is as follows:
>DECLARE LONG AddPrinterDriver in win32api
>
>I realize that there are no parameters in this declaration, but when I add them in the same error occurs.
>
>Any ideas?
>Thanks in advance.

Hi James,

The declaration should be:

DECLARE INTEGER AddPrinterDriver in Windspool.drv

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform