FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
Forum Index
Author Message
  Topic: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
warker

Replies: 7
Views: 26059

PostForum: DWin   Posted: Sun Dec 16, 2007 2:36 pm   Subject: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
i tried you code .. (recompiled dwin.lib r85 from the stable 0.3 release as is)
the error is the same .. there is something going wrong in the HANDLE
it just work if i define it like i posted before ...
  Topic: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
warker

Replies: 7
Views: 26059

PostForum: DWin   Posted: Sat Dec 15, 2007 8:34 am   Subject: SOLVED
I solved the problem by adding

const HKEY
HKEY_CLASSES_ROOT = cast(HKEY) 0x80000000,
HKEY_CURRENT_USER = cast(HKEY) 0x80000001,
HKEY_LOCAL_MACHINE = cast(HKEY&# ...
  Topic: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
warker

Replies: 7
Views: 26059

PostForum: DWin   Posted: Sat Dec 15, 2007 6:23 am   Subject: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
downloaded an compiled the svn from dwin .. the error is the same ..


used libs
advapi32.lib (dm)
win32.lib (win32 WindowsAPI project)
dwin.lib (revision 84)

all with tango 0.99.3 + dmd 1.02 ...
  Topic: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
warker

Replies: 7
Views: 26059

PostForum: DWin   Posted: Fri Dec 14, 2007 4:14 pm   Subject: dwin.lib(Registry) Error 42: Symbol Undefined _HKEY_*
hello,

i got this error everytime i'm trying to use Dwin .. all compiles fine
but the linker sais
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group