hi,
the wksta netapi32 test fails and crashes trying to load unimplemented function in advapi32.
how to run it with advapi32 loaded as native ? I already set "advapi32" = "native" and doesn't change anything.
../../../tools/runtest -q -P wine -M netapi32.dll -T ../../.. -p netapi32_test.exe.so wksta.c && touch wksta.ok err:win32:PE_fixup_imports No implementation for advapi32.dll.151(LsaClose) imported from C:\WINDOWS\SYSTEM\netapi32.dll, setting to 0xdeadbeef err:win32:PE_fixup_imports No implementation for advapi32.dll.160(LsaFreeMemory) imported from C:\WINDOWS\SYSTEM\netapi32.dll, setting to 0xdeadbeef err:win32:PE_fixup_imports No implementation for advapi32.dll.167(LsaNtStatusToWinError) imported from C:\WINDOWS\SYSTEM\netapi32.dll, setting to 0xdeadbeef err:win32:PE_fixup_imports No implementation for advapi32.dll.169(LsaOpenPolicy) imported from C:\WINDOWS\SYSTEM\netapi32.dll, setting to 0xdeadbeef err:win32:PE_fixup_imports No implementation for advapi32.dll.173(LsaQueryInformationPolicy) imported from C:\WINDOWS\SYSTEM\netapi32.dll, setting to 0xdeadbeef wksta.c:41: Test failed: User Name Retrieved wksta.c:74: Test failed: NetWkstaUserGetInfo is successful wksta.c:76: Test failed: This is really user name wksta.c:78: Test failed: Is allocated with NetApiBufferAllocate fixme:netapi32:NetWkstaUserGetInfo Level 1 processing is partially implemented wine: Unhandled exception, starting debugger...
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
the wksta netapi32 test fails and crashes trying to load unimplemented function in advapi32.
how to run it with advapi32 loaded as native ?
You have to compile and run the test natively under Windows in order to test behaviour of native dll.
--- Dmitry Timoshkov dmitry@baikal.ru a écrit : > "Sylvain Petreolle" spetreolle@yahoo.fr wrote:
the wksta netapi32 test fails and crashes trying to load
unimplemented
function in advapi32.
how to run it with advapi32 loaded as native ?
This is not the way I want to execute it. The problem is that I don't if the unimplemented function is in advapi or netapi32. Running the test under linux with advapi set to native would show immediately if it's involved in the crash.
Trying to test it under windows wouldn't pass as cygwin gcc has problem in the standard libraries. (errors when including <windows.h> in certain conditions)
You have to compile and run the test natively under Windows in order to test behaviour of native dll.
-- Dmitry.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
This is not the way I want to execute it. The problem is that I don't if the unimplemented function is in advapi or netapi32. Running the test under linux with advapi set to native would show immediately if it's involved in the crash.
Use of native advapi or netapi32 under Wine is impossible due to the fact that they depend on low level functionality not implemented in Wine.
Trying to test it under windows wouldn't pass as cygwin gcc has problem in the standard libraries. (errors when including <windows.h> in certain conditions)
That's completely another story. Report a bug to cygwin mailing list.
Agreed for netapi32 (don't know anything about it) but advapi32 runs perfectly as native (using WinMe advapi32.dll)
Use of native advapi or netapi32 under Wine is impossible due to the fact that they depend on low level functionality not implemented in Wine.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com