| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | MSGAPI.DLL and TurboC++ for OS/2. |
Hello Peter!
24 Oct 94 20:13, Peter Knapper wrote to All:
PK> I have spent the better part of a day trying to write a very
PK> simple Squish message base passer using MSGAPI0.LZH (20 Nov 91)
PK> under Borlands TurboC++ for OS/2 (V1.01) without much success.
PK> Any MSGAPI call I make is trapped inside the .DLL with an
PK> addressing exception. I have tried later versions of the .DLL (as
PK> supplied with SQUISH V1.10). I have tried using C, STD, PASCAL
PK> and FAST calling without success. I have even tried re-compiling
PK> the MSGAPI source, without success. I have just heard that there
PK> is a SQDEVxx.xxx file that is a later release and was wondering
PK> if that might help cure the problem.
I have used SQDEV200, I had a bit of a problem at first to do with
the packing of structs, but was solved with a few modifications to
the header files.
The problem was that MsgApi uses an array of pointers to function,
which are called through macros. The struct containing the pointers
is allocated by the user, and in my case it was being packed with
dword alignment when it should have been byte alignment, and the
macros were calling a junk pointer...
PK> I would also like to know if it is possible to get TurboC++ to
PK> work with MSGAPI.DLL at all, or should I chuck TurboC++ and go to
PK> Watcomm/Firststep/??? I only do a very small amount of work with
PK> C, and do not wish to splurge out on a huge develpment kit that
PK> will get very little use. I am not into PM apps (yet...;-)) and I
PK> do like using the Borland IDE. Is the Watcomm IDE comparable at
PK> all?
I don't know, but I have got both GCC/2 and EMX/GCC to work with it.
These are the cheapest development kits you will get :-)
- Geoff
--- GoldED/2 2.42.G0614
* Origin: Low Level, Auckland, New Zealand +64-9-814-8858 (3:772/555)SEEN-BY: 12/2442 54/54 620/243 622/407 623/630 624/50 632/339 348 640/715 820 SEEN-BY: 670/215 690/347 660 700/31 711/409 410 413 430 807 808 809 934 942 SEEN-BY: 711/949 712/353 623 713/888 770/115 771/1320 772/1 20 140 207 350 SEEN-BY: 772/380 555 774/605 800/1 @PATH: 772/555 20 712/353 711/409 54/54 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™.