Click here to Skip to main content
15,867,921 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Win32 application with out an UI. Pin
birajendu14-May-09 20:21
birajendu14-May-09 20:21 
QuestionRe: Win32 application with out an UI. Pin
Rajesh R Subramanian14-May-09 21:07
professionalRajesh R Subramanian14-May-09 21:07 
AnswerRe: Win32 application with out an UI. Pin
birajendu14-May-09 21:24
birajendu14-May-09 21:24 
GeneralRe: Win32 application with out an UI. Pin
Xing Chen14-May-09 22:16
Xing Chen14-May-09 22:16 
AnswerRe: Win32 application with out an UI. Pin
Rajesh R Subramanian14-May-09 22:23
professionalRajesh R Subramanian14-May-09 22:23 
QuestionRe: Win32 application with out an UI. Pin
David Crow15-May-09 7:20
David Crow15-May-09 7:20 
AnswerRe: Win32 application with out an UI. Pin
Naveen14-May-09 20:24
Naveen14-May-09 20:24 
AnswerRe: Win32 application with out an UI. Pin
Michael Schubert14-May-09 21:47
Michael Schubert14-May-09 21:47 
Something like this maybe:

#include <windows.h>
#include <shellapi.h>

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
  SHELLEXECUTEINFO ShExecInfo;
  ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
  ShExecInfo.fMask = NULL;
  ShExecInfo.hwnd = NULL;
  ShExecInfo.lpVerb = NULL;
  ShExecInfo.lpFile = "program.exe";
  ShExecInfo.lpParameters = "-switch1 -switch2";
  ShExecInfo.lpDirectory = "c:\\yourpath";
  ShExecInfo.nShow = SW_HIDE;
  ShExecInfo.hInstApp = NULL;

  ShellExecuteEx(&ShExecInfo);
	
  return 0;
}

GeneralRe: Win32 application with out an UI. Pin
birajendu15-May-09 0:36
birajendu15-May-09 0:36 
GeneralRe: Win32 application with out an UI. Pin
Michael Schubert15-May-09 0:39
Michael Schubert15-May-09 0:39 
GeneralRe: Win32 application with out an UI. Pin
Rajesh R Subramanian15-May-09 0:44
professionalRajesh R Subramanian15-May-09 0:44 
QuestionHow to get the "Enter" Key down notification from CListCtrl Pin
Nitheesh George14-May-09 19:16
Nitheesh George14-May-09 19:16 
AnswerRe: How to get the "Enter" Key down notification from CListCtrl Pin
Chandrasekharan P14-May-09 20:34
Chandrasekharan P14-May-09 20:34 
GeneralRe: How to get the "Enter" Key down notification from CListCtrl Pin
Nitheesh George14-May-09 21:45
Nitheesh George14-May-09 21:45 
AnswerRe: How to get the "Enter" Key down notification from CListCtrl Pin
Code-o-mat14-May-09 22:18
Code-o-mat14-May-09 22:18 
GeneralRe: How to get the "Enter" Key down notification from CListCtrl Pin
Nitheesh George15-May-09 1:55
Nitheesh George15-May-09 1:55 
QuestionSorting using CListCtrl::SortItems Pin
JJeffrey14-May-09 17:06
JJeffrey14-May-09 17:06 
AnswerRe: Sorting using CListCtrl::SortItems Pin
Naveen14-May-09 17:48
Naveen14-May-09 17:48 
GeneralRe: Sorting using CListCtrl::SortItems Pin
JJeffrey14-May-09 19:31
JJeffrey14-May-09 19:31 
GeneralRe: Sorting using CListCtrl::SortItems Pin
Naveen14-May-09 19:58
Naveen14-May-09 19:58 
GeneralRe: Sorting using CListCtrl::SortItems Pin
David Crow15-May-09 7:27
David Crow15-May-09 7:27 
QuestionC++, simulations call center traffic Pin
WILLIE GREER14-May-09 15:54
WILLIE GREER14-May-09 15:54 
AnswerRe: C++, simulations call center traffic Pin
CPallini14-May-09 20:42
mveCPallini14-May-09 20:42 
AnswerRe: C++, simulations call center traffic Pin
Rajesh R Subramanian14-May-09 22:35
professionalRajesh R Subramanian14-May-09 22:35 
GeneralRe: C++, simulations call center traffic Pin
Chandrasekharan P14-May-09 23:05
Chandrasekharan P14-May-09 23:05 

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.