delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/04/13:20:07

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: <20040504171944.76611.qmail@web12104.mail.yahoo.com>
Date: Tue, 4 May 2004 10:19:44 -0700 (PDT)
From: Ted Yu <ted_yu AT yahoo DOT com>
Subject: DLL generation under Cygwin
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

--0-304574392-1083691184=:76122
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

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 
--0-304574392-1083691184=:76122
Content-Type: message/rfc822

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 

--0-304574392-1083691184=:76122
Content-Type: text/plain; charset=us-ascii

--
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/
--0-304574392-1083691184=:76122--

- Raw text -


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