I have code now that will use WNetEnumResource to lists shares and
printers on a machine. I just added NetShareEnum, which will list
hidden resources on NT machines.
So how do I list hidden resources/shares on 95/98 machines?
Also, if you are reading this, what d I have to do:
NetShareEnum( (char *) L"\\\\SERVER", ....)
when one would think that
NetShareEnum( L"\\\\SERVER", .... )
would work. It tells me it can't convert from unsigned short  to
And if all it wants is a char *, then how come
doesn't work? (On win2k)