Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: head file including problem Pin
Stuart Dootson25-Apr-09 3:26
professionalStuart Dootson25-Apr-09 3:26 
Questionsetting active audio output vista [modified] Pin
Snoepie25-Apr-09 0:03
Snoepie25-Apr-09 0:03 
AnswerRe: setting active audio output vista Pin
Yovav25-Apr-09 0:21
Yovav25-Apr-09 0:21 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 0:37
Snoepie25-Apr-09 0:37 
AnswerRe: setting active audio output vista Pin
Stuart Dootson25-Apr-09 0:57
professionalStuart Dootson25-Apr-09 0:57 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 1:18
Snoepie25-Apr-09 1:18 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 3:04
Snoepie25-Apr-09 3:04 
GeneralRe: setting active audio output vista Pin
Stuart Dootson25-Apr-09 3:17
professionalStuart Dootson25-Apr-09 3:17 
Looking in your original code, you attempt to initialise the LVITEM @ _lvi using these two lines:

_lvi->stateMask= (UINT)-1;
_lvi->mask=LVIF_STATE;


but that memory is in a different process! I think you need to use WriteProcessMemory to do that?

I just tried your code and my process crashed, probably because the address that _lvi refers to wasn't allocated in my progrm (but it is in yours?).

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 3:36
Snoepie25-Apr-09 3:36 
Questionextern usage problem Pin
linux_xjtu24-Apr-09 23:27
linux_xjtu24-Apr-09 23:27 
AnswerRe: extern usage problem Pin
Stuart Dootson25-Apr-09 0:19
professionalStuart Dootson25-Apr-09 0:19 
AnswerRe: extern usage problem Pin
linux_xjtu25-Apr-09 0:23
linux_xjtu25-Apr-09 0:23 
QuestionHow to determine if the current window is the desktop ? Pin
Yovav24-Apr-09 23:10
Yovav24-Apr-09 23:10 
AnswerRe: How to determine if the current window is the desktop ? Pin
Hamid_RT24-Apr-09 23:26
Hamid_RT24-Apr-09 23:26 
GeneralRe: How to determine if the current window is the desktop ? Pin
Yovav25-Apr-09 0:23
Yovav25-Apr-09 0:23 
QuestionHow to set focus on the next window after minimizing ? Pin
Yovav24-Apr-09 22:32
Yovav24-Apr-09 22:32 
AnswerRe: How to set focus on the next window after minimizing ? [modified] Pin
Yovav24-Apr-09 22:55
Yovav24-Apr-09 22:55 
QuestionMicrosoft Soap tool Kit compatible with all the versions of mssoap.dll Pin
Member 401661624-Apr-09 22:13
Member 401661624-Apr-09 22:13 
QuestionService not started. Pin
Le@rner24-Apr-09 21:39
Le@rner24-Apr-09 21:39 
AnswerRe: Service not started. Pin
Hamid_RT24-Apr-09 22:52
Hamid_RT24-Apr-09 22:52 
GeneralRe: Service not started. Pin
Le@rner24-Apr-09 23:05
Le@rner24-Apr-09 23:05 
GeneralRe: Service not started. Pin
Hamid_RT24-Apr-09 23:27
Hamid_RT24-Apr-09 23:27 
GeneralRe: Service not started. Pin
Le@rner24-Apr-09 23:54
Le@rner24-Apr-09 23:54 
GeneralRe: Service not started. Pin
Hamid_RT25-Apr-09 0:33
Hamid_RT25-Apr-09 0:33 
QuestionHow to send an Email Pin
AnithaSubramani24-Apr-09 21:02
AnithaSubramani24-Apr-09 21:02 

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.