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 » Sun Nov 30, 2008 5:47 pm

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: 5250
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 167 times
Been thanked: 165 times
Contact:

Post by Rathinagiri » Mon Dec 01, 2008 8:25 am

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

Post by alobamor » Thu Dec 04, 2008 6:17 pm

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