Click here to Skip to main content
15,894,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCHttpFile::SendRequest problem Pin
msn9228-Jul-09 22:29
msn9228-Jul-09 22:29 
AnswerRe: CHttpFile::SendRequest problem Pin
msn9228-Jul-09 22:58
msn9228-Jul-09 22:58 
GeneralRe: CHttpFile::SendRequest problem Pin
Swapnil Shah28-Jul-09 23:11
Swapnil Shah28-Jul-09 23:11 
GeneralRe: CHttpFile::SendRequest problem Pin
msn9229-Jul-09 1:32
msn9229-Jul-09 1:32 
QuestionScrolling into CListCtrl Pin
siko228-Jul-09 22:13
siko228-Jul-09 22:13 
AnswerRe: Scrolling into CListCtrl Pin
«_Superman_»28-Jul-09 22:49
professional«_Superman_»28-Jul-09 22:49 
QuestionMFC debug checking? Pin
duongcntt4b28-Jul-09 21:47
duongcntt4b28-Jul-09 21:47 
AnswerRe: MFC debug checking? Pin
Code-o-mat28-Jul-09 22:08
Code-o-mat28-Jul-09 22:08 
First of all, macros are evaluated during compile time, not runtime, your #if !defined... thing will be "built into your exe" when you build your program, and then no matter where you run your program from this won't change your already built exe.
A way you could do this is by giving a command line parameter to your program in visual studio and then checking the existence of this parameter in your exe, if it is there, you runned your program from VS, if it is not there, you runned it by doubleclicking it in an explorer window for example.

Does this help?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

QuestionHow to find out a file location Using C language in windows programming? Pin
WindowsVsLinux28-Jul-09 21:32
WindowsVsLinux28-Jul-09 21:32 
QuestionRe: How to find out a file location Using C language in windows programming? Pin
CPallini28-Jul-09 21:38
mveCPallini28-Jul-09 21:38 
AnswerRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux28-Jul-09 21:54
WindowsVsLinux28-Jul-09 21:54 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
CPallini28-Jul-09 22:30
mveCPallini28-Jul-09 22:30 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux28-Jul-09 22:40
WindowsVsLinux28-Jul-09 22:40 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
CPallini28-Jul-09 22:44
mveCPallini28-Jul-09 22:44 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux28-Jul-09 22:47
WindowsVsLinux28-Jul-09 22:47 
QuestionRe: How to find out a file location Using C language in windows programming? Pin
David Crow29-Jul-09 2:44
David Crow29-Jul-09 2:44 
AnswerRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux29-Jul-09 2:57
WindowsVsLinux29-Jul-09 2:57 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
David Crow29-Jul-09 3:04
David Crow29-Jul-09 3:04 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux29-Jul-09 6:33
WindowsVsLinux29-Jul-09 6:33 
QuestionRe: How to find out a file location Using C language in windows programming? Pin
David Crow29-Jul-09 6:57
David Crow29-Jul-09 6:57 
AnswerRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux29-Jul-09 19:55
WindowsVsLinux29-Jul-09 19:55 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
Rozis29-Jul-09 10:19
Rozis29-Jul-09 10:19 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
WindowsVsLinux29-Jul-09 19:37
WindowsVsLinux29-Jul-09 19:37 
GeneralRe: How to find out a file location Using C language in windows programming? Pin
enhzflep29-Jul-09 4:39
enhzflep29-Jul-09 4:39 
QuestionIs it possible to find out a file location by mouse programming. Pin
WindowsVsLinux28-Jul-09 20:30
WindowsVsLinux28-Jul-09 20:30 

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.