Click here to Skip to main content
15,564,397 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionserial port I/O and console focus strange behavior Pin
pkcinna17-May-10 5:52
pkcinna17-May-10 5:52 
AnswerRe: serial port I/O and console focus strange behavior Pin
Aescleal17-May-10 9:53
Aescleal17-May-10 9:53 
GeneralRe: serial port I/O and console focus strange behavior Pin
pkcinna17-May-10 10:45
pkcinna17-May-10 10:45 
GeneralRe: serial port I/O and console focus strange behavior Pin
pkcinna17-May-10 12:15
pkcinna17-May-10 12:15 
QuestionHow to receive a notification when the app window is activated. Pin
sashoalm17-May-10 5:42
sashoalm17-May-10 5:42 
AnswerRe: How to receive a notification when the app window is activated. Pin
Code-o-mat17-May-10 5:49
Code-o-mat17-May-10 5:49 
GeneralRe: How to receive a notification when the app window is activated. Pin
sashoalm17-May-10 6:05
sashoalm17-May-10 6:05 
QuestionProblem with CreateFileMapping() window7/Vista. Pin
janaswamy uday17-May-10 3:38
janaswamy uday17-May-10 3:38 
Hi All,


My problem is that the code no longer works under Windows 7/Vista when
called from within the limited user account. CreateFileMapping()
routine returns ERROR_ACCESS_DENIED (code 5) upon attempt to create
the file mapping object in global namespace.

I've searched the web and discovered that from Vista onwards,
Microsoft has changed the policy that affects who will be granted to
obtain SeCreateGlobalPrivilege and that is it impossible for any code
called from within the limited user account to create global objects.

Does anyone know how to work around this limitation? Any pointers on
how to make this code compatible with Windows 7/Vista would be highly
appreciated.

Thanks & Regards,
Uday.
QuestionMFC CreateInstance from CWinThread Pin
IAmRami17-May-10 3:28
IAmRami17-May-10 3:28 
AnswerRe: MFC CreateInstance from CWinThread Pin
Code-o-mat17-May-10 3:43
Code-o-mat17-May-10 3:43 
GeneralRe: MFC CreateInstance from CWinThread Pin
IAmRami17-May-10 4:31
IAmRami17-May-10 4:31 
GeneralRe: MFC CreateInstance from CWinThread Pin
Code-o-mat17-May-10 4:48
Code-o-mat17-May-10 4:48 
GeneralRe: MFC CreateInstance from CWinThread Pin
IAmRami19-May-10 23:05
IAmRami19-May-10 23:05 
QuestionHow to get all instances of Excel.exe Pin
KTTransfer17-May-10 3:17
KTTransfer17-May-10 3:17 
AnswerRe: EnumWindowsProc( ) , EnumProcessModules , FindWindow( ), Pin
Software_Developer17-May-10 4:00
Software_Developer17-May-10 4:00 
AnswerRe: How to get all instances of Excel.exe Pin
sashoalm17-May-10 6:07
sashoalm17-May-10 6:07 
GeneralRe: How to get all instances of Excel.exe Pin
KTTransfer17-May-10 19:12
KTTransfer17-May-10 19:12 
GeneralRe: How to get all instances of Excel.exe Pin
sashoalm18-May-10 0:33
sashoalm18-May-10 0:33 
GeneralRe: How to get all instances of Excel.exe Pin
T210211-Jan-11 23:00
T210211-Jan-11 23:00 
QuestionHow to register an automation enabled application in the ROT when it's started from the command line. Pin
TClarke17-May-10 1:45
TClarke17-May-10 1:45 
Questionneed help vc++.net please Pin
Gilbertu17-May-10 0:54
Gilbertu17-May-10 0:54 
AnswerRe: need help vc++.net please Pin
Hristo-Bojilov17-May-10 1:09
Hristo-Bojilov17-May-10 1:09 
GeneralRe: need help vc++.net please Pin
Gilbertu17-May-10 1:19
Gilbertu17-May-10 1:19 
QuestionHiding Controls Dynamically in Dialog Pin
Anu_Bala17-May-10 0:40
Anu_Bala17-May-10 0:40 
AnswerRe: Hiding Controls Dynamically in Dialog Pin
Hristo-Bojilov17-May-10 1:59
Hristo-Bojilov17-May-10 1:59 

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.