delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/29/06:05:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001701c24f43$a0603d20$46ca09c0@aniraj>
Reply-To: "Niraj Agarwal" <niraja AT npi DOT stpn DOT soft DOT net>
From: "Niraj Agarwal" <niraja AT npi DOT stpn DOT soft DOT net>
To: "Larry Hall \(RFK Partners, Inc\)" <lhall AT rfk DOT com>
Cc: "cygwin" <cygwin AT cygwin DOT com>
References: <002501c24ea2$79a52610$46ca09c0 AT aniraj> <4 DOT 3 DOT 1 DOT 2 DOT 20020828203809 DOT 022c9bc8 AT pop DOT rcn DOT com>
Subject: Re: Inclusion of windows dll into cygwin code
Date: Thu, 29 Aug 2002 15:35:33 +0530
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Virus-Scanned: by AMaViS perl-11
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id g7TA59E29388

Hi Larry,

The reuse of rebasing the oracle and cygwin dll helped in solving the problem.


Niraj
----- Original Message ----- 
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
To: "Niraj Agarwal" <niraja AT npi DOT stpn DOT soft DOT net>; "cygwin" <cygwin AT cygwin DOT com>
Sent: Thursday, August 29, 2002 6:12 AM
Subject: Re: Inclusion of windows dll into cygwin code


> At 11:30 AM 8/28/2002, Niraj Agarwal wrote:
> >Hi All,
> >
> >Please find the attached code and make file. 
> >
> >I am trying to use Oracle DLL into my c program using a proc.
> >
> >Everthing is going smoothly and i am able to generate the exe.
> >
> >As i run the exe i am getting this error.
> >
> >m.AllocationBase 0x0, m.BaseAddress 0x61560000, m.RegionSize 0x1A0000, m.State 0
> >x10000
> >c:\Client_Projects\ProactNes_Porting\src\compilationFolder\TestFolder\NirajNew\m
> >y_example.exe: *** Couldn't reserve space for cygwin's heap (0x61560000 <0x10000
> >00>) in child, Win32 error 6
> >
> >
> >If i try to execute the same using gdb it give additional information also.
> >"Oracle_HOME/bin/orasql8.dll" error reading line number
> >................................same for other dllls.
> >
> >
> >
> >Please help me in this regard by solving the problem.
> 
> 
> This is not a problem.  It just means that the DLL has no debug symbols 
> that gdb understands.  This is expected.  gdb doesn't know about the VC++
> debug symbol format.  Just debug your program and ignore this warning.
> 
> 
> 
> >Best Regards,
> >Niraj Agaral
> >
> >
> >
> >
> >
> >----- Original Message ----- 
> >From: "Niraj Agarwal" <niraja AT npi DOT stpn DOT soft DOT net>
> >To: "cygwin" <cygwin AT cygwin DOT com>
> >Sent: Wednesday, August 28, 2002 8:22 PM
> >Subject: Re: Inclusion of windows dll into cygwin code
> >
> >
> > > Hi All,
> > > 
> > > Let me explain the problem.
> > > 
> > > I have a compiled a dll into windows environment using VC++ compiler. I have written my main function in c which should use this dll. I would like to compile the code using gcc. I have tried to use the export dll concept explained in cygwin user guide but that is not working for my case and generating ld error.
> > > 
> > > 
> > > Regards,
> > > Niraj Agarwal
> > > ----- Original Message ----- 
> > > From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
> > > To: "Niraj Agarwal" <niraja AT npi DOT stpn DOT soft DOT net>; "cygwin" <cygwin AT cygwin DOT com>
> > > Sent: Wednesday, August 28, 2002 8:07 PM
> > > Subject: Re: Inclusion of windows dll into cygwin code
> > > 
> > > 
> > > > At 10:36 AM 8/28/2002, Niraj Agarwal wrote:
> > > > >Hi All,
> > > > >
> > > > >Can any body help me in including windows dll into the code compiled in cygwin environment?
> > > > 
> > > > 
> > > > I expect the answer is yes but you'll need to post the details of your 
> > > > situation and the specific problem before anyone here can take a stab at
> > > > it.
> > > > 
> > > > Sorry if this sounds obvious but sometimes a statement of the obvious is 
> > > > necessary to get things started.
> > > > 
> > > > 
> > > > Larry Hall                              lhall AT rfk DOT com
> > > > RFK Partners, Inc.                      http://www.rfk.com
> > > > 838 Washington Street                   (508) 893-9779 - RFK Office
> > > > Holliston, MA 01746                     (508) 893-9889 - 
> > > 
> >
> >
> >--------------------------------------------------------------------------------
> >
> >
> > > --
> > > 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/
> >
> >
> >
> >--
> >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/ 
> 
> 
> --
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019