Click here to Skip to main content
14,329,594 members

C / C++ / MFC

 
GeneralRe: Global Event in C++ Pin
CPallini6-Jun-19 0:09
mveCPallini6-Jun-19 0:09 
GeneralRe: Global Event in C++ Pin
Stefan_Lang6-Jun-19 21:56
memberStefan_Lang6-Jun-19 21:56 
QuestionShellExecute open Pin
_Flaviu4-Jun-19 22:28
member_Flaviu4-Jun-19 22:28 
AnswerRe: ShellExecute open Pin
Richard MacCutchan4-Jun-19 23:01
protectorRichard MacCutchan4-Jun-19 23:01 
GeneralRe: ShellExecute open Pin
_Flaviu4-Jun-19 23:44
member_Flaviu4-Jun-19 23:44 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 3:38
protectorRichard MacCutchan5-Jun-19 3:38 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 21:05
protectorRichard MacCutchan5-Jun-19 21:05 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 0:24
member_Flaviu6-Jun-19 0:24 
I have tried:
hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
    if (SUCCEEDED(hr))
    {
        HINSTANCE hInstance = ShellExecute(AfxGetMainWnd()->GetSafeHwnd(), NULL, sPath + _T("\\") + sText, NULL, NULL, SW_SHOWNORMAL);
        if (reinterpret_cast<int>(hInstance) <= 32)// Could not start application
            ::SendMessage(theApp.m_pMainWnd->GetSafeHwnd(), WM_SETMESSAGESTRING, 0, (LPARAM)(LPCTSTR)GetDocument()->FormatHinstance(hInstance));
    }

the same result ...
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 1:55
protectorRichard MacCutchan6-Jun-19 1:55 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 2:52
member_Flaviu6-Jun-19 2:52 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 2:56
protectorRichard MacCutchan6-Jun-19 2:56 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 6:45
member_Flaviu6-Jun-19 6:45 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 3:01
protectorRichard MacCutchan6-Jun-19 3:01 
AnswerRe: ShellExecute open Pin
Eddy Vluggen5-Jun-19 1:10
mveEddy Vluggen5-Jun-19 1:10 
GeneralRe: ShellExecute open Pin
_Flaviu5-Jun-19 19:52
member_Flaviu5-Jun-19 19:52 
AnswerRe: ShellExecute open Pin
jschell8-Jun-19 4:42
memberjschell8-Jun-19 4:42 
GeneralRe: ShellExecute open Pin
_Flaviu10-Jun-19 20:47
member_Flaviu10-Jun-19 20:47 
GeneralRe: ShellExecute open Pin
Richard MacCutchan10-Jun-19 22:39
protectorRichard MacCutchan10-Jun-19 22:39 
GeneralRe: ShellExecute open Pin
jschell15-Jun-19 3:14
memberjschell15-Jun-19 3:14 
QuestionDevice Running Windows CE 6.0 Pin
Member 142210414-Jun-19 17:08
memberMember 142210414-Jun-19 17:08 
AnswerRe: Device Running Windows CE 6.0 Pin
Victor Nijegorodov4-Jun-19 20:27
memberVictor Nijegorodov4-Jun-19 20:27 
AnswerRe: Device Running Windows CE 6.0 Pin
Richard MacCutchan4-Jun-19 21:04
protectorRichard MacCutchan4-Jun-19 21:04 
AnswerRe: Device Running Windows CE 6.0 Pin
CPallini4-Jun-19 22:28
mveCPallini4-Jun-19 22:28 
Questionhow i can disable key from keyboard of computer using C language Pin
Member 1447157029-May-19 6:45
memberMember 1447157029-May-19 6:45 
AnswerRe: how i can disable key from keyboard of computer using C language Pin
Victor Nijegorodov29-May-19 8:12
memberVictor Nijegorodov29-May-19 8:12 

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.