Page 1 of 1

Multiple definition GetDefaultPrinter

Posted: Sun Nov 30, 2008 5:47 pm
by alobamor
Hello,

I'm using HMG 2.6.7 with Harbour MiniGUI IDE 2.6.4 every time I try to use GetDefaultPrinter function the following error is displayed:

Code: Select all

c:\hmg\Harbour\lib/libhbw32.a(win_prn2.o):win_prn2.c:(.text+0x550): multiple definition of `HB_FUN_GETDEFAULTPRINTER'
c:\hmg\lib/libminigui.a(c_controlmisc.o):c_controlmisc.c:(.text+0x2b00): first defined here
Can you help me please?

Thanks in advance

Re: Multiple definition GetDefaultPrinter

Posted: Mon Dec 01, 2008 8:25 am
by Rathinagiri
I don't have any such problem here, with the same config.

Re: Multiple definition GetDefaultPrinter

Posted: Thu Dec 04, 2008 6:17 pm
by alobamor
Do you ha any include to use that function?, Can you, please, show me an example of how you use it?

I can't get rid of the problem.

Thanks in advance