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]

Re: msvc based X dlls and fork


fork knows nothing about non-cygwin DLLs.  You can't use msvc created
objects if you want to use fork. Sorry.

cgf

On Mon, Apr 02, 2001 at 05:43:25PM +0200, Andrew Markebo wrote:
>I am having a small problem seeing the area around the problem. You
>have a cygwin-compiled application doing X-stuff through a ms-compiled
>dll, or??
>
>What is the xterm doing?
>
>You maybe should give the X-libraries compiled with cygwin a try?
>        http://xfree86.cygwin.com/
>        
>        /Andy
>
>/ "Victor Polsky" <victor@hcl.com> wrote:
>| Hi,
>| 
>| I have found that when I use X dlls built with msvc (not gcc) all structures
>| created inside the dlls (Display for example) cannot be used in child
>| process created by fork. The app (xterm) will crash inside child process. I
>| can see correct pointer to structure in the child but inside the structure
>| some junk.
>| Could anybody tell me what's wrong or what I did wrong to have it?
>| Maybe it's some compiler or linker flag I missed?
>| 
>| Thanks, Victor.
>| 
>| 
>| 
>| 
>| 
>| --
>| Want to unsubscribe from this list?
>| Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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