| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re^2: dates |
Hello andrew. 19 Nov 02 22:58, you wrote to me: >> This is not need: XMSG used as message buffer and only elements of this >> structure read/write. ac> No, there's more to it than that! ac> XMSG is also used as a parameter to MsgWriteMsg(). If an application ac> program thinks sizeof(XMSG) == 248, and the precompiled SMAPI ac> library thinks sizeof(XMSG) == 238, you will have CORRUPT DATA (as I ac> demonstrated). ac> Also, in msgapi.h there is: ac> #define XMSG_FROM_SIZE 36 ac> #define XMSG_TO_SIZE 36 ac> #define XMSG_SUBJ_SIZE 72 ac> #define XMSG_SIZE (94 + XMSG_FROM_SIZE + XMSG_TO_SIZE + XMSG_SUBJ_SIZE) This define is incorrect. For XMSG size must be use sizeof(XMSG)... Stas --- GoldED+/W32 1.1.4.7* Origin: Grumbler point: E-burg, Russia (2:5080/102) SEEN-BY: 10/345 102/943 106/1 2 3 1234 2000 123/140 350 500 789 128/187 SEEN-BY: 130/803 143/2 226/600 229/1000 2000 3000 249/116 261/38 267/200 SEEN-BY: 280/5003 333/0 342/3 379/1 1200 393/68 633/267 270 774/605 2404/201 SEEN-BY: 2624/306 3613/360 1275 3618/555 3800/1 3830/9 11 5080/5 7105/1 @PATH: 5080/102 68 5 3830/9 123/500 106/1 379/1 633/267 |
|
| 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™.