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

more conflicts with std.*.windows

 
Post new topic   Reply to topic     Forum Index -> Core32
View previous topic :: View next topic  
Author Message
Phase0



Joined: 03 Jan 2006
Posts: 1

PostPosted: Tue Jan 03, 2006 5:09 pm    Post subject: more conflicts with std.*.windows Reply with quote

The problems I found in Core32 commit 28:

In winnt.d line 1241 (after the line reading "// begin_ntddk begin_nthal begin_ntifs")
ACCESS_MASK is defined in phobos so it needs Version(Standalone) in core32
Same for PACCESS_MASK on the next line.

In windef.d line 82:
PWSTR is marked as STANDALONE but it is not defined in phobos.
LPWSTR is in phobos so probably their declarations must be separated.

The following declarations are missing (ANSI functions are in Phobos):
Registry related ones:
extern (Windows)
{
export LONG RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult);
export LONG RegQueryValueExW(HKEY hKey,
LPCWSTR lpValueName,
LPDWORD lpReserved,
LPDWORD lpType,
LPBYTE lpData,
LPDWORD lpcbData);
}

File functions:
extern (Windows) {
export BOOL GetFileSizeEx(HANDLE hFile, out LARGE_INTEGER lpFileSize);
}
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Wed Jan 04, 2006 11:29 am    Post subject: Reply with quote

Looks like good suggestions. I've created a ticket for these issues: http://trac.dsource.org/projects/core32/ticket/2
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Core32 All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group