Mail Archives: cygwin/2004/05/04/15:08:20
If your DLL was built against the Cygwin DLL, you'll have difficulties
because the Cygwin DLL won't be loaded properly. Try building with
'gcc -mno-cygwin'. Of course, if you need the POSIX APIs Cygwin
provides, you'll now have to do some porting.
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
At 01:19 PM 5/4/2004, you wrote:
>Hi,
>Here is some information on exception:
> if (!hFFT) {
> hFFT = LoadLibrary("djbfft.dll");
> status = GetLastError(); // 998 invalid memory
>access
> rfour2d = (RFOUR2D) GetProcAddress(hFFT,
>"rfft2d_djb");
> }
>
>000f77d0()
>fft_general_0(float * 0x02e90040, int 256, int 512,
>int 1) line 163 + 17 bytes
>bpcorr(const unsigned char * 0x02cedcf8, int 240, int
>320, int 0, int 0, int 240, int 320, const unsigned
>char * 0x02d00940, int -110, int 110, int -110, int
>110, int 4, int 4, int 2, float * 0x0223d0e0, float *
>0x0223d0a0, float * 0x0223d27c, float * 0x0223d060)
>line 1121 + 28 bytes
>
>Note: forwarded message attached.
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover X-Apparently-To: ted_yu AT yahoo DOT com via 216.136.172.28; Mon, 03 May 2004 18:41:58 -0700
>Return-Path: <ted_yu AT yahoo DOT com>
>Received: from 216.136.172.23 (HELO web12103.mail.yahoo.com) (216.136.172.23)
> by mta133.mail.sc5.yahoo.com with SMTP; Mon, 03 May 2004 18:41:58 -0700
>Received: from [192.146.1.16] by web12103.mail.yahoo.com via HTTP; Mon, 03 May 2004 18:41:58 PDT
>Date: Mon, 3 May 2004 18:41:58 -0700 (PDT)
>From: Ted Yu <ted_yu AT yahoo DOT com>
>Subject: Re: DLL generation under Cygwin
>To: DJ Delorie <dj AT delorie DOT com>
>In-Reply-To: <200405020341 DOT i423fK4n020958 AT envy DOT delorie DOT com>
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Length: 442
>
>Hi, DJ:
>I produced a DLL with two exported functions through
>Cygwin.
>I also generated import library for it.
>When Windows application calls the function, I
>immediately encountered exception.
>I tried to call LoadLibrary() and got error 998 -
>invalid memory access.
>
>Any hint ?
>Thanks
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover
>--
>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/
--
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/
- Raw text -