This is the mail archive of the cygwin@sourceware.cygnus.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]

Cygwin.dll does not map properly into the address space


     Hi,
     
     We were trying to incorporate fork functionality into our software.
     However,a small sample program 
     
     #include <stdio.h>
     #include <conio.h>
     #include <windows.h>
     #include "gnufork.h"
     main()
     {
      HINSTANCE handle=LoadLibrary("D:\\cygwin.dll");
      printf("Ready to fork/n/n");
     }
     
     gives the following error at printf("Ready to fork/n/n");
     
     During debugging in MSDeveloper 4.0:Unhandled Exception in cygwin.dll 
     0X0000005
     
     During execution:
     The instruction at 0X100219b6 referenced memory at 0X00000054
     
     Can you please help me with this?
     
     Thanks
     
     Rohit
     (rohitverma@inf.com)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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