Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlaySound with NULL Pin
YaronNir3-Sep-06 5:30
YaronNir3-Sep-06 5:30 
Questionlinks appearance in the CRichEditCtrl Pin
YaronNir3-Sep-06 5:23
YaronNir3-Sep-06 5:23 
Questionoperations in the cout<< Pin
Ahmed Ismail Mohamed3-Sep-06 4:48
Ahmed Ismail Mohamed3-Sep-06 4:48 
AnswerRe: operations in the cout<< Pin
toxcct3-Sep-06 5:22
toxcct3-Sep-06 5:22 
AnswerRe: operations in the cout<< Pin
ahmed mega3-Sep-06 9:42
ahmed mega3-Sep-06 9:42 
AnswerRe: operations in the cout<< Pin
MIAN KAMRAN6-Sep-06 1:58
MIAN KAMRAN6-Sep-06 1:58 
QuestionAudio playback in a Win32 Service Pin
dubbaluga3-Sep-06 4:42
dubbaluga3-Sep-06 4:42 
AnswerRe: Audio playback in a Win32 Service Pin
Gary R. Wheeler4-Sep-06 3:49
Gary R. Wheeler4-Sep-06 3:49 
I would guess the basic problem you're having is that, since sound is owned by the active desktop, you can't play sound from a service without letting that service interact with the desktop. The whole point of a service is to do work in the background without interacting with the user.

If the effect you are looking for is to have the player running 'in the background' without a main window, you can do that by making the main window a hidden one. You can then set a notification icon to interact with the application when you need to.


Software Zen: delete this;

QuestionAdding two large numbers Pin
Waldermort3-Sep-06 3:14
Waldermort3-Sep-06 3:14 
AnswerRe: Adding two large numbers Pin
Ahmed Ismail Mohamed3-Sep-06 3:29
Ahmed Ismail Mohamed3-Sep-06 3:29 
GeneralRe: Adding two large numbers Pin
Waldermort3-Sep-06 3:42
Waldermort3-Sep-06 3:42 
GeneralRe: Adding two large numbers Pin
Waldermort3-Sep-06 8:26
Waldermort3-Sep-06 8:26 
AnswerRe: Adding two large numbers Pin
Nader Elshehabi3-Sep-06 4:40
Nader Elshehabi3-Sep-06 4:40 
GeneralRe: Adding two large numbers Pin
Waldermort3-Sep-06 7:39
Waldermort3-Sep-06 7:39 
AnswerRe: Adding two large numbers Pin
toxcct3-Sep-06 5:24
toxcct3-Sep-06 5:24 
AnswerRe: Adding two large numbers Pin
Rick York3-Sep-06 16:06
mveRick York3-Sep-06 16:06 
AnswerRe: Adding two large numbers Pin
Stephen Hewitt3-Sep-06 16:16
Stephen Hewitt3-Sep-06 16:16 
AnswerRe: Adding two large numbers Pin
MayankT3-Sep-06 17:08
MayankT3-Sep-06 17:08 
QuestionCString to wchar_t*!!!!!! Pin
mostafa_pasha3-Sep-06 3:13
mostafa_pasha3-Sep-06 3:13 
AnswerRe: CString to wchar_t*!!!!!! Pin
Waldermort3-Sep-06 3:25
Waldermort3-Sep-06 3:25 
GeneralRe: CString to wchar_t*!!!!!! Pin
mostafa_pasha3-Sep-06 3:33
mostafa_pasha3-Sep-06 3:33 
AnswerRe: CString to wchar_t*!!!!!! Pin
messages3-Sep-06 7:50
messages3-Sep-06 7:50 
GeneralRe: CString to wchar_t*!!!!!! Pin
Waldermort3-Sep-06 8:23
Waldermort3-Sep-06 8:23 
GeneralRe: CString to wchar_t*!!!!!! Pin
messages3-Sep-06 8:34
messages3-Sep-06 8:34 
QuestionCAsyncSocket client Pin
CoolASL3-Sep-06 2:35
CoolASL3-Sep-06 2:35 

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.