| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Semaphores (16 & 32) |
Hello Doug,
On May 23 00:36 96, Doug Nazar of 1:250/516 wrote:
DN> OS2MSG(ULONG e, const char * msgFile = "OSO001.MSG") :
DN> errorNumber(e) { if (errorNumber) {
DN> APIRET rc = 0;
DN> rc = DosGetMessage(0, 0, msgBuf, 2048, errorNumber,
DN> "OSO001.MSG", &msgLen);
DN> if (rc) {
DN> msgLen = 0;
DN> *msgBuf = '\0';
note: this can result in unexpected texts. eq. take a file without EAs.
query the EA's and you get an error buffer-underflow. and the msg in
oso001.msg says 'filename too long'. there are also semafore errors and the
oso001.msg says 'format failed'. just look in bseerr.h and look in the
/*MSG:...*/ comments.
WARPED!, Mario
--- Msgedsq/2 2.2e
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 310/14 1 24/999 888 396/1 270/101 712/515 711/808 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™.