Totally Lost Trying to Use DWin

Lars Ivar Igesund larsivar at igesund.net
Mon Aug 11 12:01:16 PDT 2008


Benji Smith wrote:

> Lars Ivar Igesund wrote:
>> I'm not in position to test DWin, but did you run dsss install at any
>> point? Does DWin support it? When that is done, dsss will know without
>> any further ado how to find it when compiling your application.
> 
> Boo yah! That's what I was forgetting.
> 
> (BTW, the notion of installing a library is a very weird concept to me.
> It seems almost like... installing a text file.)
> 
> So now, the DWin modules are successfully located by the compiler, but
> now I get this error message:
> 
> regtest.d => regtest
> + D:\Development\d\libs\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\
> -ID:\Development\d\libs\dsss\include\d -SD:\Development\d\libs\dsss\lib\
>   -ID:\Development\d\libs\dsss\include\d
> -SD:\Development\d\libs\dsss\lib  -oqdsss_objs\D  regtest.d -ofregtest
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> dsss_objs\D\_regtest.obj(_regtest)
>   Error 42: Symbol Undefined _RegQueryValueExW at 24
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegCloseKey at 4
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegFlushKey at 4
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegOpenKeyExW at 20
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegCreateKeyExW at 36
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegDeleteKeyW at 8
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegDeleteValueW at 8
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegQueryInfoKeyW at 48
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegEnumKeyExW at 32
> D:\Development\d\libs\dsss\lib\\dwin.lib(Registry)
>   Error 42: Symbol Undefined _RegEnumValueW at 32
> --- errorlevel 10
> Command D:\Development\d\libs\dsss\bin\rebuild.exe returned with code
> -1, aborting.
> Error: Command failed, aborting.

Hmm, maybe you need to link a specific win library for registry support?
Sorry that I don't know though.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango


More information about the Digitalmars-d-learn mailing list