Totally Lost Trying to Use DWin

Koroskin Denis 2korden at gmail.com
Mon Aug 11 12:10:01 PDT 2008


On Mon, 11 Aug 2008 23:01:16 +0400, Lars Ivar Igesund  
<larsivar at igesund.net> wrote:

> 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.
>


It's advapi32.lib, located in /dm/lib (*not* /dmd/lib).


More information about the Digitalmars-d-learn mailing list