Juan Lang wrote:
--- Eric Pouech pouech-eric@wanadoo.fr wrote:
I'm in the process of rewriting the SMB code to
use
winsock name lookup and socket calls without
NetBIOS
first, and to fall back to NetBIOS (using the Netbios() function) second if that fails.
beware that you cannot directly call wsock32 functions (nor netapi32) from ntdll.
Ah! I wasn't aware of this. Why not?
because we don't allow, in Wine, for (direct) circular dependencies on modules: wsock32 => kernel32 => ntdll you can always doit by handle, with LoadModule/GetProcAddress pair A+