Re: open_dll troubles

new topic     » goto parent     » topic index » view thread      » older message » newer message

Well, the dll isn't one I've made myself, it's a just been bound into
a dll... maybe there's not a dllMain function?

I'll try the printfs, but if there's no point of entry that'll be difficult.


On Thu, 17 Feb 2005 03:58:24 -0800, Matt Lewis <guest at rapideuphoria.com>
wrote:
> 
> posted by: Matt Lewis <matthewwalkerlewis at gmail.com>
> 
> 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
> 
> 
> 
> 


-- 
MrTrick

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu