Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet ProjectName at compiletime Pin
hansipet16-Apr-08 20:43
hansipet16-Apr-08 20:43 
GeneralRe: Get ProjectName at compiletime Pin
Hamid_RT16-Apr-08 20:46
Hamid_RT16-Apr-08 20:46 
AnswerRe: Get ProjectName at compiletime Pin
Rajkumar R16-Apr-08 21:45
Rajkumar R16-Apr-08 21:45 
GeneralRe: Get ProjectName at compiletime Pin
CPallini16-Apr-08 23:40
mveCPallini16-Apr-08 23:40 
GeneralCalculating System measurements in MFC Pin
nisha0000016-Apr-08 17:16
nisha0000016-Apr-08 17:16 
GeneralRe: Calculating System measurements in MFC Pin
_AnsHUMAN_ 16-Apr-08 18:12
_AnsHUMAN_ 16-Apr-08 18:12 
GeneralRe: Calculating System measurements in MFC Pin
nisha0000016-Apr-08 18:36
nisha0000016-Apr-08 18:36 
GeneralRe: Calculating System measurements in MFC Pin
Maruf Maniruzzaman16-Apr-08 19:00
Maruf Maniruzzaman16-Apr-08 19:00 
To run as a user process you have to add its path in registry. Copy the following and make a file named setup.reg:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"AnyName"="C:\\Program Files\\YourAppFolder\\YourApp.exe"


and run it. Don't forget to edit to match your application.

To run as ser5vice look at this article:

http://www.codeproject.com/KB/system/xyntservice.aspx[^]

Now the second part - how to calculate time:

Its easy use GetSystemTime API

http://msdn2.microsoft.com/en-us/library/ms724390.aspx[^]

Maruf Maniruzzaman
Dhaka, Bangladesh.
Homepage: http://www.kuashaonline.com
[Blog] [Silverlight Clone] [Resume]

QuestionRe: Calculating System measurements in MFC Pin
Rajesh R Subramanian16-Apr-08 19:29
professionalRajesh R Subramanian16-Apr-08 19:29 
GeneralRe: Calculating System measurements in MFC Pin
Hamid_RT16-Apr-08 19:31
Hamid_RT16-Apr-08 19:31 
GeneralRe: Calculating System measurements in MFC Pin
nisha0000016-Apr-08 19:54
nisha0000016-Apr-08 19:54 
GeneralRe: Calculating System measurements in MFC Pin
Hamid_RT16-Apr-08 20:50
Hamid_RT16-Apr-08 20:50 
GeneralSaving to an Outfile Pin
dajones0516-Apr-08 16:27
dajones0516-Apr-08 16:27 
GeneralRe: Saving to an Outfile Pin
Christian Graus16-Apr-08 17:57
protectorChristian Graus16-Apr-08 17:57 
GeneralRe: Saving to an Outfile Pin
Hamid_RT16-Apr-08 19:32
Hamid_RT16-Apr-08 19:32 
GeneralRe: Saving to an Outfile Pin
Rajesh R Subramanian16-Apr-08 19:33
professionalRajesh R Subramanian16-Apr-08 19:33 
QuestionRe: Saving to an Outfile Pin
David Crow17-Apr-08 4:06
David Crow17-Apr-08 4:06 
QuestionHow to convert MultiByte local code to Unicode? Pin
Jeem Ge16-Apr-08 16:03
Jeem Ge16-Apr-08 16:03 
GeneralRe: How to convert MultiByte local code to Unicode? Pin
Naveen16-Apr-08 17:46
Naveen16-Apr-08 17:46 
GeneralRe: How to convert MultiByte local code to Unicode? Pin
Hamid_RT16-Apr-08 19:37
Hamid_RT16-Apr-08 19:37 
GeneralRe: How to convert MultiByte local code to Unicode? Pin
Jeem Ge17-Apr-08 16:24
Jeem Ge17-Apr-08 16:24 
GeneralRe: How to convert MultiByte local code to Unicode? Pin
Hamid_RT17-Apr-08 19:18
Hamid_RT17-Apr-08 19:18 
GeneralAudio Signal Processing using Directshow(ISampleGrabber) - 2 Pin
Akin Ocal16-Apr-08 15:01
Akin Ocal16-Apr-08 15:01 
GeneralChanging Parameters of a DMO which added as filter in Directshow Pin
Akin Ocal16-Apr-08 14:50
Akin Ocal16-Apr-08 14:50 
GeneralLoadLibrary in a DLL Pin
ForNow16-Apr-08 14:41
ForNow16-Apr-08 14:41 

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.