| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Help linking MSGAPI32.DLL with EMX |
I have been trying to use the API calls from Scott Dudly's MSGAPI library,
I am using the header files from the Squish developers kit (SQDEV200) and
EMX/GCC 0.8h.
The problems start when I try to call any function in the _apifuncs struct
using the wrapper macros ( MsgCloseArea() for example ). I have examined the
structure at runtime using GDB, and it seems the function pointers contain
garbage, though no error is returned from MsgOpenArea().
I have inserted the relevant #pragma pack(1) directives, and I can build
the library and static link without problems.
Has anyone else successfully used this API with EMX or GCC/2 ?
- 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™.