TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Thomas Seeling
from: Greg Collins
date: 1995-10-06 17:52:08
subject: EMX and DLL`s

Hi Thomas!
On Oct 03 14:33 95, Thomas Seeling of 2:244/1130.42 wrote:

TS> Hallo, Greg!

TS> *** Am Donnerstag 28. September 1995 um 21:28 schrieb Greg Collins an All:

GC>> Well, I've got a bit of a problem here running EMX.  I have a DLL that was
GC>> not compiled by EMX that barfs at me when I try and link to it.  Actually,
GC>> is the MSGAPI32.DLL written by Scott Dudley, and it barfs at MsgOpenMsg.

TS> I am using the msgapi32.dll since it was released officially about 1 1/2 
TS> years
TS> ago without problems, and definitely it does not try to call back main() 
TS> (have a
TS> look at the source).

Under EMX?  As for the source, it is *definitely* not intended to call main,
but more than likely it's jumping to some garbage pointer which happens to be in
my code segment.

TS> You need to create an import library in emx format (.a), and that's all 
TS> :-).
TS> Use emximp to convert the following text into msgapi32.a, then link with 
TS> it. If
TS> it does not work, post a (shortened) example of a failing program.

I've got the import library.  That's not the problem.
Greg Collins

--- Msgedsq/2 3.10
* Origin: Eh, Jacques... Fetchez le vache. (1:259/214.1)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 259/214 200 99 229/2 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.