I have a namespace extension DLL, which I cannot get to register (using
REGSVR32) on Windows95. The error message I get is LoadLibrary failed
with error code 0x1f.
I've searched dejanews for this problem and a number of other people seem
to have seen it, but there arnt any solutions to the problem.
The server registers OK on Windows 98 and NT 4.
I've tried creating a test program which calls LoadLibraryEx with the
DONT_RESOLVE_DLL_REFERENCES flag. This still fails (but it succeeds if I
use the LOAD_LIBRARY_AS_DATAFILE flag).
I've used QuickView to see what DLLs my DLL is importing and checked they
all exist in the windows\system directory. Ive also checked the import
functions are supported on 95. It used to work OK until I added a new
interface and merged in the proxy/stub code.
Does anyone know what might be wrong ??
thanks in advance
john
--
John Hynes
----------
Another possiblity is that you need atl.dll. QuickView shows you what dlls
are statically bound but not those loaded dynamically (via programmatic
LoadLibrary calls). Write a small stub that does a LoadLibrary on your dll
and walk through in the debugger (yeah, I know, a long walk, I've been
there...). Better yet, using the stub, run under BoundsChecker.
...Dave Wasilew
John Hynes wrote in message ...
Don't forget to call REGSVR32 on atl.dll if you install it (this hung me up
for a while). Also, make sure you install the correct version Windows 95
uses the non-unicode version.