Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhen my article will be publish?How many days in general? Pin
JunWang16329-Dec-09 0:29
JunWang16329-Dec-09 0:29 
AnswerWrong forum. Pin
CPallini29-Dec-09 0:47
mveCPallini29-Dec-09 0:47 
Questioncreating dbf file and reading info from dbf Pin
kir_MFC29-Dec-09 0:18
kir_MFC29-Dec-09 0:18 
QuestionRe: creating dbf file and reading info from dbf Pin
KingsGambit29-Dec-09 0:36
KingsGambit29-Dec-09 0:36 
AnswerRe: creating dbf file and reading info from dbf Pin
kir_MFC29-Dec-09 2:05
kir_MFC29-Dec-09 2:05 
GeneralRe: creating dbf file and reading info from dbf Pin
mav@octaval29-Dec-09 2:10
mav@octaval29-Dec-09 2:10 
AnswerRe: creating dbf file and reading info from dbf Pin
dxlee29-Dec-09 3:21
dxlee29-Dec-09 3:21 
AnswerRe: creating dbf file and reading info from dbf Pin
David Crow29-Dec-09 3:34
David Crow29-Dec-09 3:34 
AnswerRe: creating dbf file and reading info from dbf Pin
Hamid_RT29-Dec-09 19:34
Hamid_RT29-Dec-09 19:34 
QuestionTwo Dialogs in Application class Pin
Anu_Bala28-Dec-09 22:46
Anu_Bala28-Dec-09 22:46 
AnswerRe: Two Dialogs in Application class Pin
KingsGambit28-Dec-09 23:28
KingsGambit28-Dec-09 23:28 
GeneralRe: Two Dialogs in Application class Pin
Anu_Bala28-Dec-09 23:59
Anu_Bala28-Dec-09 23:59 
AnswerRe: Two Dialogs in Application class Pin
Nelek28-Dec-09 23:55
protectorNelek28-Dec-09 23:55 
Questionunistd.h Pin
mortaza mardani28-Dec-09 21:50
mortaza mardani28-Dec-09 21:50 
AnswerRe: unistd.h Pin
Rajesh R Subramanian28-Dec-09 22:09
professionalRajesh R Subramanian28-Dec-09 22:09 
QuestionRe: unistd.h [modified] Pin
CPallini28-Dec-09 22:16
mveCPallini28-Dec-09 22:16 
AnswerRe: unistd.h Pin
mortaza mardani31-Dec-09 9:27
mortaza mardani31-Dec-09 9:27 
QuestionCreateProcessAsUser Pin
sashoalm28-Dec-09 21:39
sashoalm28-Dec-09 21:39 
AnswerRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:06
KingsGambit28-Dec-09 22:06 
GeneralRe: CreateProcessAsUser Pin
sashoalm28-Dec-09 22:20
sashoalm28-Dec-09 22:20 
GeneralRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:25
KingsGambit28-Dec-09 22:25 
GeneralRe: CreateProcessAsUser Pin
sashoalm28-Dec-09 22:36
sashoalm28-Dec-09 22:36 
That might work, but it's inherently an unstable solution, mostly because user1 might be or not be the same user as explorer.exe. It's not guaranteed to be the logged on user. It's just whichever process loaded my DLL first.

Wouldn't it be better to use GetCurrentProcess() instead, while my DLL is loaded in user1 process, and then use OpenProcessToken?

There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

GeneralRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:37
KingsGambit28-Dec-09 22:37 
QuestionUtf - 8 Querys from unicode application Pin
krishnan.s28-Dec-09 21:23
krishnan.s28-Dec-09 21:23 
QuestionSetting the borders for the tables in word Pin
Chandrasekharan P28-Dec-09 19:45
Chandrasekharan P28-Dec-09 19:45 

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.