This is the mail archive of the cygwin 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: Ugrent !! Reg. Executing the EXE generated by Cygwin


Mani kandan writes: 
> This problem is probably due to using incompatible versions of the cygwin DLL.
> > Search for cygwin1.dll using the Windows Start->Find/Search facility
> > and delete all but the most recent version.  The most recent version 
*should*
> > reside in x:\cygwin\bin, where 'x' is the drive on which you have
> > installed the cygwin distribution.  Rebooting is also suggested if you
> > are unable to find another cygwin DLL.
> >
> > We have made sure that we use the same version of cygwin1.dll while
> > building the exe and while running it on the server.
> > What are the possible reasons for this? Are there any other solutions to 
this?
[...]
> Yes, we have read and performed those instruction. We have placed the
> cygwin1.dll in current working folder which is inside the
> c:\cygwin\bin folder while generating  the exe. We have checked the
> size of the dll also. Both are same size .
> Then wt are the possible reasons for this problem??

I must be missing some critical detail in your description.  Are you talking 
about two different machines, building an EXE on one and then running it on 
another?  What do you mean by "placing cygwin1.dll in the current working 
folder"?

There can be only one cygwin1.dll on the machine, put where it's supposed to be 
by using the Cygwin setup.exe.  You can't just put another copy of cygwin1.dll 
somewhere else on that machine.

..mark


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]