Windows services don't run in the context of a user's desktop. At any point whilst the service is running, there could be zero, one, or many users logged in to the computer, each with their own desktop.
You need to use a different solution. For example, you can use the Windows Task Scheduler to start an application when any user logs in. That application will have access to the user's desktop.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
new1 (33 hits)
XXX_Global.h: error: conflicting types for'uint32_t'
Line 17: typedef unsigned int uint32_t;
gcc-6.3-arm32-eabi\arm-none-eabi\include\sys\_stdint.h:48:20: note: previous declaration of 'uint32_t' was here
Line 24: typedef __uint32_t uint32_t ;
CListfeatures a deleted copy contructor.
Microsoft folks think it is not useful to pass collections by value.
You could use std::list instead (I believe Microsoft folks themselves recommend std::list over CList).
"In testa che avete, Signor di Ceprano?"
Still get error with list me thinks it has to do that I declared stdecs just as a type without actually allocating storage i.e struct stdecs storagediscriptor; when I have the template outside of a struct it compiles thanks
I cannot create MyListBox derived from CFormView. The docs say I can put the Create call in the MyListBox ctor.
I get these errors:
// dialog template must exist and be invisible with WS_CHILD set
// invalid dialog template name
I don't want to create a resource dialog template, however, like an IDD_... because my listbox is just a PLACE_HOLDER control in a resource control.
How do I get the object created without a dialog resource IDD?