Re: open_dll troubles
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Feb 17, 2005
- 428 views
Patrick Barnes wrote: > > I have a library that never returns from an open_dll call. > The dll file is in the same directory, and all the dependencies it has > are in the windows\system32 folder > > Gets to this: > }}} <eucode> > constant ds = open_dll("drawstuff.dll") > </eucode> {{{ > > And goes no further. It doesn't quit, doesn't spit out an ex.err file, > just hangs. > Any ideas? > > I can open the dll in depencywalker (a free MS tool) and see all the > exposed functions just fine. I believe that this is a dll that you're making? You need to figure out what's going on in the initialization code (DllMain). If you don't have an interactive debugger, you could add some printf's or some other logging mechanism to figure out where it's getting stuck. Matt Lewis