TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Thomas Meyer
from: Michael Douglass
date: 1994-06-22 16:45:04
subject: MMPM OS2 programmming

TM>Michael,

TM>You should try this:

TM>extern "C" {
  >MD>#define INCL_MCIOS2
  >MD>#include 
  >}

TM>The program should link properly this way. Because MMPM2.LIB is a C
  >module, there is no type specification in the library. If you want to
  >use the functions in a C++ file, you'll have to tell the compiler that
  >these functions are plain C.

TM>This problem caused me a headache once, too. :)

Your telling me... I could have sworn that I tried this before I posted
the question but I received the error unresolved external MCISENDSTRING
(note no parameters and all caps, telling ME that it was looking at a C
function)...

Funny,
Michael Douglass
OS/2 2.1'n it!!!
___
 .Mike's Mail Internet:   MICHAEL.DOUGLASS{at}LCHANCE.SAT.TX.US
                  
--- Maximus/2 2.01wb

* Origin: The Rock BBS--410Meg, i486/33, ZyXEL v32bis. (1:387/31)
SEEN-BY: 54/54 620/243 632/348 640/820 690/660 711/409 413 430 807 808 809
SEEN-BY: 711/934 712/353 623 713/888 800/1 2442/0
@PATH: 387/31 1102 3615/50 229/2 2442/0 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™.