Click here to Skip to main content
16,011,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Fonts in VC++ Code Editor Pin
Michael Dunn11-Jan-01 20:52
sitebuilderMichael Dunn11-Jan-01 20:52 
QuestionSound?? Pin
11-Jan-01 10:01
suss11-Jan-01 10:01 
QuestionSound?? Pin
11-Jan-01 10:01
suss11-Jan-01 10:01 
AnswerRe: Sound?? Pin
Christian Graus11-Jan-01 12:44
protectorChristian Graus11-Jan-01 12:44 
GeneralRe: Sound?? Pin
12-Jan-01 7:59
suss12-Jan-01 7:59 
GeneralRe: Sound?? Pin
Jim Howard12-Jan-01 9:37
Jim Howard12-Jan-01 9:37 
GeneralRe: Sound?? Pin
13-Jan-01 6:44
suss13-Jan-01 6:44 
GeneralRe: Sound?? Pin
Christian Graus13-Jan-01 8:49
protectorChristian Graus13-Jan-01 8:49 
Your line compiles fine in my code, so I don't know why it doesan't in yours, butaccording to MSDN:

Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Mmsystem.h.
Library: Use Winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

but I assume that you have your includes OK, otherwise it wouldn't recognise the command. The constant values of the two flags you're using are 0x0000 and 0x0002, so try putting the numberical value instead, just to see if that compiles and runs. The problem is obviously that your environment is unaware of the definition of the two constant values.



Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
GeneralRe: Sound?? Pin
13-Jan-01 8:52
suss13-Jan-01 8:52 
GeneralRe: Sound?? Pin
13-Jan-01 8:53
suss13-Jan-01 8:53 
GeneralRe: Sound?? Pin
Christian Graus13-Jan-01 12:40
protectorChristian Graus13-Jan-01 12:40 
AnswerRe: Sound?? Pin
13-Jan-01 10:47
suss13-Jan-01 10:47 
GeneralByte order Pin
11-Jan-01 9:28
suss11-Jan-01 9:28 
GeneralRe: Byte order Pin
Jason Troitsky12-Jan-01 2:14
Jason Troitsky12-Jan-01 2:14 
GeneralCFileDialog in a Propertysheet Pin
Sjoerd van Leent11-Jan-01 6:41
Sjoerd van Leent11-Jan-01 6:41 
GeneralRe: CFileDialog in a Propertysheet Pin
Paul Selormey11-Jan-01 7:53
Paul Selormey11-Jan-01 7:53 
GeneralRe: CFileDialog in a Propertysheet Pin
Sjoerd van Leent11-Jan-01 10:02
Sjoerd van Leent11-Jan-01 10:02 
GeneralRe: CFileDialog in a Propertysheet Pin
Paul Selormey11-Jan-01 10:20
Paul Selormey11-Jan-01 10:20 
GeneralDirectory tree and file list Pin
snoop7011-Jan-01 5:42
snoop7011-Jan-01 5:42 
GeneralRe: Directory tree and file list Pin
Paul Selormey11-Jan-01 8:13
Paul Selormey11-Jan-01 8:13 
GeneralRe: Directory tree and file list Pin
11-Jan-01 11:01
suss11-Jan-01 11:01 
Generaldao only allows 255 fields Pin
Avigayil11-Jan-01 5:14
Avigayil11-Jan-01 5:14 
GeneralRe: dao only allows 255 fields Pin
David Fedolfi12-Jan-01 8:23
David Fedolfi12-Jan-01 8:23 
GeneralClient-Server :confused: Pin
Maxime Labelle10-Jan-01 22:26
Maxime Labelle10-Jan-01 22:26 
GeneralURGENT:convert from acess97/98 to 2k in VC++ Pin
10-Jan-01 20:18
suss10-Jan-01 20:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.