Click here to Skip to main content
15,890,741 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Zoom in MSCHART and calculate Plot area in Pixels Pin
sharda.bhagwatkar29-Apr-08 0:08
sharda.bhagwatkar29-Apr-08 0:08 
GeneralRe: Zoom in MSCHART and calculate Plot area in Pixels Pin
Cedric Moonen29-Apr-08 0:55
Cedric Moonen29-Apr-08 0:55 
GeneralRe: Zoom in MSCHART and calculate Plot area in Pixels Pin
sharda.bhagwatkar29-Apr-08 18:24
sharda.bhagwatkar29-Apr-08 18:24 
AnswerRe: Zoom in MSCHART and calculate Plot area in Pixels Pin
jain_sachit10-Dec-10 0:29
jain_sachit10-Dec-10 0:29 
Generalregarding client socket Pin
amit_pansuria28-Apr-08 20:09
amit_pansuria28-Apr-08 20:09 
GeneralRe: regarding client socket Pin
Sarath C28-Apr-08 21:22
Sarath C28-Apr-08 21:22 
GeneralRe: regarding client socket Pin
Hamid_RT29-Apr-08 21:44
Hamid_RT29-Apr-08 21:44 
GeneralPrint service's message to console.. Pin
Member 270194028-Apr-08 19:57
Member 270194028-Apr-08 19:57 
Hi all,
i am a newbie in VC++..
I have a service written in vc++ (say service.exe).
I want to print a message in the command line if I run "service.exe /V" in command line. Is it possible to do this??. I tried with "_tprintf" but its not working.. Following is the version portion of my code.. please help...


INT APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
INT nCmdShow)
{
::_tcsupr(lpCmdLine);
if (::_tcsstr(lpCmdLine, "/V") != NULL)
{
_tprintf(_T("Version:")) ;
}
}
GeneralRe: Print service's message to console.. Pin
Sarath C28-Apr-08 21:28
Sarath C28-Apr-08 21:28 
GeneralRe: Print service's message to console.. Pin
Rajkumar R28-Apr-08 21:43
Rajkumar R28-Apr-08 21:43 
GeneralRe: Print service's message to console.. Pin
Member 270194028-Apr-08 22:42
Member 270194028-Apr-08 22:42 
QuestionHow can carry value of string from one ctrl to another ctrl? Pin
Le@rner28-Apr-08 19:34
Le@rner28-Apr-08 19:34 
AnswerRe: How can carry value of string from one ctrl to another ctrl? Pin
Sarath C28-Apr-08 21:33
Sarath C28-Apr-08 21:33 
GeneralRe: How can carry value of string from one ctrl to another ctrl? Pin
Le@rner2-May-08 2:27
Le@rner2-May-08 2:27 
AnswerRe: How can carry value of string from one ctrl to another ctrl? Pin
David Crow29-Apr-08 3:12
David Crow29-Apr-08 3:12 
AnswerRe: How can carry value of string from one ctrl to another ctrl? Pin
Le@rner29-Apr-08 18:18
Le@rner29-Apr-08 18:18 
QuestionRe: How can carry value of string from one ctrl to another ctrl? Pin
David Crow30-Apr-08 3:03
David Crow30-Apr-08 3:03 
AnswerRe: How can carry value of string from one ctrl to another ctrl? Pin
Le@rner30-Apr-08 18:20
Le@rner30-Apr-08 18:20 
GeneralRe: How can carry value of string from one ctrl to another ctrl? Pin
David Crow1-May-08 3:27
David Crow1-May-08 3:27 
GeneralRe: How can carry value of string from one ctrl to another ctrl? Pin
Le@rner1-May-08 18:20
Le@rner1-May-08 18:20 
GeneralRe: How can carry value of string from one ctrl to another ctrl? Pin
Le@rner1-May-08 18:22
Le@rner1-May-08 18:22 
GeneralRe: How can carry value of string from one ctrl to another ctrl? Pin
David Crow2-May-08 3:39
David Crow2-May-08 3:39 
QuestionRe: How can carry value of string from one ctrl to another ctrl? Pin
David Crow2-May-08 3:33
David Crow2-May-08 3:33 
QuestionHow to Embed MFC ActivexControl in C# Windows Application? Pin
spalanivel28-Apr-08 19:24
spalanivel28-Apr-08 19:24 
Questionhow to get white color on grey background color Pin
ias128-Apr-08 19:15
ias128-Apr-08 19:15 

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.