delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/27/23:06:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Sat, 27 Feb 1999 23:05:01 -0500 (EST)
From: Laszlo Vecsey <master AT internexus DOT net>
To: gnu-win32 AT cygnus DOT com
Subject: icq api (.lib -> .dll)
Message-ID: <Pine.LNX.4.05.9902272246300.13186-100000@micro.internexus.net>
MIME-Version: 1.0

I'm trying to use the icq api in a mingw32 application, and I've begun
with the following commands:

        impdef icq.dll > icq.def
        dlltool -v -k --output-lib libicq.a --dllname icq.dll -d icq.def

I editted the icq.def and added in @4 and @8 where appropriate, for the
functions that free memory. The rest of them compile and link fine without
any additions.

The problem I'm running into is that the functions work the first few
times, but before long they start causing general protection faults. 

Does this suggest something is wrong with the .a file I generated?

It happens on even the simplest function, such as GetVersion, which
doesn't exactly do much -- I put it in a loop and it'll crash by the 5th
time.

This is with Win98 as the client, the actual compilation was done with an
i586-cygwin32 cross compiler on linux, made from the full cygwin-b21
distribution.

The full name of the dll is libICQMsgAPI.dll, its available from
http://www.mirabilis.com/api/ ..

- lv
	


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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