Multiple definition GetDefaultPrinter

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
alobamor
Posts: 5
Joined: Sun Nov 30, 2008 5:30 pm

Multiple definition GetDefaultPrinter

Post 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
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Multiple definition GetDefaultPrinter

Post by Rathinagiri »

I don't have any such problem here, with the same config.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
alobamor
Posts: 5
Joined: Sun Nov 30, 2008 5:30 pm

Re: Multiple definition GetDefaultPrinter

Post 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
Post Reply