Thread overview
Error while compiling winsamp.
Mar 29, 2004
Nico Heiligers
Mar 29, 2004
C
Mar 30, 2004
Nico Heiligers
March 29, 2004
Can anyone help met with this

I am just looking foor the at D
And i'm trying to compile te windows sample
from the example directory

in an laptop with Windwos XP home.

the console examples compile with no problems
only winsamp does not
Do i miss something here

here are the errors

quote
command =>    dmd winsamp
output
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _SelectObject@8
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _SetTextAlign@8
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _TextOutA@20
winsamp.obj(winsamp)
 Error 42: Symbol Undefined _CreateFontA@56
--- errorlevel 4
unquote

many regards
Nico Heiligers


March 29, 2004
Those are found in the gdi library, you'll need to link to

gdi32.lib

Have fun,
C
On Mon, 29 Mar 2004 22:35:31 +0200, Nico Heiligers <nheiligers@chello.nl> wrote:

> Can anyone help met with this
>
> I am just looking foor the at D
> And i'm trying to compile te windows sample
> from the example directory
>
> in an laptop with Windwos XP home.
>
> the console examples compile with no problems
> only winsamp does not
> Do i miss something here
>
> here are the errors
>
> quote
> command =>    dmd winsamp
> output
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _SelectObject@8
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _SetTextAlign@8
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _TextOutA@20
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _CreateFontA@56
> --- errorlevel 4
> unquote
>
> many regards
> Nico Heiligers
>
>



-- 
D Newsgroup.
March 30, 2004
Many thanks for your help

that was the trick.

Nico Heiligers

"C" <dont@respond.com> schreef in bericht news:opr5ncwhaqehmtou@localhost... Those are found in the gdi library, you'll need to link to

gdi32.lib

Have fun,
C
On Mon, 29 Mar 2004 22:35:31 +0200, Nico Heiligers <nheiligers@chello.nl>
wrote:

> Can anyone help met with this
>
> I am just looking foor the at D
> And i'm trying to compile te windows sample
> from the example directory
>
> in an laptop with Windwos XP home.
>
> the console examples compile with no problems
> only winsamp does not
> Do i miss something here
>
> here are the errors
>
> quote
> command =>    dmd winsamp
> output
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _SelectObject@8
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _SetTextAlign@8
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _TextOutA@20
> winsamp.obj(winsamp)
>  Error 42: Symbol Undefined _CreateFontA@56
> --- errorlevel 4
> unquote
>
> many regards
> Nico Heiligers
>
>



-- 
D Newsgroup.