From: Robert K. <ro...@ko...> - 2002-07-26 00:12:18
|
Where is my Fault? NT::UNICODE_STRING unistr; NT::NTSTATUS stat; NT::OBJECT_ATTRIBUTES oa = {sizeof oa, 0, &unistr, NT::OBJ_CASE_INSENSITIVE, 0, 0}; // init String still bevore use. NT::RtlInitUnicodeString( &unistr, L"\\\\.\\Beep" ); ---------------------------^ This results in misc/error.cpp:36: passing `const __wchar_t *' as argument 2 of `NT::RtlInitUnicodeString(NT::_UNICODE_STRING *, const short unsigned int *)' AND I decided to put os2 in the namespace OS2 and ntdll into NT. Of course only inside the os2ss May there arise conflicts. Comments, Suggestions? One problem are the defines that conflict. Is the kernel32.dll written in that way that one can run both Unicode apps and ANSI ones? cos it doesn't look like. thx |