This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem going from .o -> .dll


> This is not a forum for debugging other peoples' code, but ...
> 
> 1.  You are using HANDLE *  instead of HANDLE
> 2.  Your logic for nul termination is totally wrong:
> snip....
> Try that little lot and see what happens.  At the worst it will let you
> diagnose any real error correctly.

Thank you kindly for the suggested fixes. I have applied them; however,
the problem is still there. I guess I can just build my wrapper using
the object file instead of a dll file, but I am curious why the two
would behave differently.

-
Travis Whitton <whitton@atlantic.net>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]