--- 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?
if you really want to share the code, better implement the TDI interface to linkage points in ntdll and make netapi32 depend on it, but that may be a bit overkill for the moment.
Yikes. Probably. I don't know enough about the TDI interface to do this yet.
Thanks, --Juan
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com