Click here to Skip to main content
15,902,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetFolderPath! Pin
Pedro Rocha29-Sep-00 4:52
Pedro Rocha29-Sep-00 4:52 
GeneralRe: GetFolderPath! Pin
Frank Deo29-Sep-00 9:11
Frank Deo29-Sep-00 9:11 
GeneralRe: GetFolderPath! Pin
Michael Dunn2-Oct-00 10:12
sitebuilderMichael Dunn2-Oct-00 10:12 
QuestionFormView not sizeable? Pin
pedro29-Sep-00 4:50
pedro29-Sep-00 4:50 
AnswerRe: FormView not sizeable? Pin
Frank Deo29-Sep-00 9:24
Frank Deo29-Sep-00 9:24 
Generalsocket problems Pin
TheKing29-Sep-00 2:44
TheKing29-Sep-00 2:44 
GeneralRe: socket problems Pin
TheKing29-Sep-00 2:48
TheKing29-Sep-00 2:48 
Generalwave files Pin
Marty28-Sep-00 15:00
Marty28-Sep-00 15:00 
I have an app where I have decided to use a wave file. I call the wave with...
sndPlaySound("WaveName.wav", SND_SYNC);

I have included the Windows Multimedia Component in
StaAfx.h...
#include MMSystem.h
#pragma comment(lib, "winmm.lib")

Problem: Release build!
The release Build only finds the wav file if it is in the same folder. What I would like to do is make the wave a part of the app just like any other resource, instead of a separate file. I have experimented with the .rc and .rc2 files to no avail. I know it can be done (for example the SpeakN sample app in VC++6.0). Perhaps I'm going about it the wrong way. Any help or suggestions would be appreciated.
GeneralRe: wave files Pin
karthik29-Sep-00 16:44
karthik29-Sep-00 16:44 
Generalchild windows Pin
Y. Hirsch28-Sep-00 9:20
Y. Hirsch28-Sep-00 9:20 
GeneralRe: child windows Pin
Erik Funkenbusch28-Sep-00 13:25
Erik Funkenbusch28-Sep-00 13:25 
GeneralRe: child windows Pin
Y. Hirsch29-Sep-00 2:26
Y. Hirsch29-Sep-00 2:26 
GeneralRe: child windows Pin
Y. Hirsch29-Sep-00 2:26
Y. Hirsch29-Sep-00 2:26 
GeneralRe: child windows Pin
Erik Funkenbusch4-Oct-00 13:40
Erik Funkenbusch4-Oct-00 13:40 
GeneralCDaoDatabase closing problem Pin
Paul Ebert28-Sep-00 8:49
Paul Ebert28-Sep-00 8:49 
GeneralRe: CDaoDatabase closing problem Pin
Tim Deveaux28-Sep-00 9:34
Tim Deveaux28-Sep-00 9:34 
QuestionHow do I change the TitleBar color (background and text) ? Pin
Alamir28-Sep-00 7:39
Alamir28-Sep-00 7:39 
GeneralCustom Build Tab in Project Settings Pin
DSabel28-Sep-00 4:25
DSabel28-Sep-00 4:25 
GeneralRe: Custom Build Tab in Project Settings Pin
Matt Weagle28-Sep-00 5:53
Matt Weagle28-Sep-00 5:53 
GeneralTab control Pin
Roger28-Sep-00 2:22
Roger28-Sep-00 2:22 
GeneralRe: Tab control Pin
Frank Deo29-Sep-00 9:21
Frank Deo29-Sep-00 9:21 
QuestionOnPaint overriding? Pin
Fredrik27-Sep-00 22:32
Fredrik27-Sep-00 22:32 
AnswerChanging control colors (was: OnPaint overriding?) Pin
Michael Dunn28-Sep-00 8:15
sitebuilderMichael Dunn28-Sep-00 8:15 
GeneralChanging colors... Pin
Fredrik29-Sep-00 4:07
Fredrik29-Sep-00 4:07 
GeneralQ. Can I convert a CString value into a hex value? Urgent!!! Pin
Crystal27-Sep-00 17:44
Crystal27-Sep-00 17:44 

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.