Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <20040505202556.45619.qmail@web12106.mail.yahoo.com> Date: Wed, 5 May 2004 13:25:56 -0700 (PDT) From: Ted Yu Subject: Cygwin runtime To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, This is related to Cygwin DLL posts. If I stick to Cygwin runtime, I should be able to call DLL generated by Cygwin from MSVC project. For the moment, I encounter exception calling into this DLL: 000f77d0() fft_general_0(float * 0x02e60040, int 256, int 512, int 1) line 163 + 17 bytes bpcorr(const unsigned char * 0x02cbdcf8, int 240, int 320, int 0, int 0, int 240, int 320, const unsigned char * 0x02cd0940, 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 I tried to initialize _impure_ptr in entry function. extern "C" int __stdcall fftEntry(HINSTANCE h, unsigned long a, void * b) { _impure_ptr = __imp_reent_data; return 1; } But ld gave me this: ld: warning: cannot find entry symbol fftEntry AT 12; defaulting to 10001000 R/ __________________________________ 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/