Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to get current compiled file? Pin
CPallini15-Dec-08 3:10
mveCPallini15-Dec-08 3:10 
AnswerRe: How to get current compiled file? Pin
George_George16-Dec-08 0:41
George_George16-Dec-08 0:41 
GeneralRe: How to get current compiled file? Pin
CPallini16-Dec-08 0:46
mveCPallini16-Dec-08 0:46 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 0:47
George_George16-Dec-08 0:47 
GeneralRe: How to get current compiled file? Pin
CPallini16-Dec-08 1:47
mveCPallini16-Dec-08 1:47 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 1:55
George_George16-Dec-08 1:55 
GeneralRe: How to get current compiled file? Pin
Jijo.Raj15-Dec-08 3:10
Jijo.Raj15-Dec-08 3:10 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 0:43
George_George16-Dec-08 0:43 
GeneralRe: How to get current compiled file? Pin
CPallini15-Dec-08 3:00
mveCPallini15-Dec-08 3:00 
GeneralRe: How to get current compiled file? Pin
Jijo.Raj15-Dec-08 3:06
Jijo.Raj15-Dec-08 3:06 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 0:46
George_George16-Dec-08 0:46 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 0:46
George_George16-Dec-08 0:46 
GeneralRe: How to get current compiled file? Pin
CPallini16-Dec-08 1:49
mveCPallini16-Dec-08 1:49 
GeneralRe: How to get current compiled file? Pin
George_George16-Dec-08 1:57
George_George16-Dec-08 1:57 
QuestionRe: How to get current compiled file? Pin
David Crow15-Dec-08 3:05
David Crow15-Dec-08 3:05 
AnswerRe: How to get current compiled file? Pin
George_George16-Dec-08 0:38
George_George16-Dec-08 0:38 
GeneralRe: How to get current compiled file? Pin
CPallini16-Dec-08 2:23
mveCPallini16-Dec-08 2:23 
GeneralRe: How to get current compiled file? Pin
George_George18-Dec-08 0:23
George_George18-Dec-08 0:23 
QuestionDownload Data from Web Service using Win 32 C++ Pin
~Khatri Mitesh~15-Dec-08 2:06
~Khatri Mitesh~15-Dec-08 2:06 
AnswerRe: Download Data from Web Service using Win 32 C++ Pin
Code-o-mat15-Dec-08 8:06
Code-o-mat15-Dec-08 8:06 
QuestionCHtmlEditCtrl usage Pin
William Engberts15-Dec-08 0:58
William Engberts15-Dec-08 0:58 
QuestionCant we develope a dll which can be work in both vista and XP? Pin
WindowsPistha15-Dec-08 0:47
WindowsPistha15-Dec-08 0:47 
Hi All,

We have one dll which can be used in many Exes and different Operating systems.

At present i am having one requirement to support to get the LocalLow path in vista.
So I have implemented separate function for it.

I have used SHGetKnownFolderPath funciton to get the LocalLow path.
To compile the workspace , I have to use WINVER value as 0x0600.
IF we defined the WinVersion as 6 , DLL is not running in XP.

Developement Environment :VS 2005 & Vista Business.

//In Vista Expected output : C:\Users\bob\AppData\LocalLow\eGrabber\
//In XP Expceted output: C:\Documents and Settings\Smith\Application Data\eGrabber\
<br />
int GetCurrentUserLocalLowAppPath(LPTSTR szProfileDir,int dirlen )<br />
	{<br />
<br />
	memset(szProfileDir,0,dirlen);<br />
<br />
	 if(IsWinXP() == TRUE)<br />
		 {		<br />
			GetCurrentUserAppPath( szProfileDir, dirlen );<br />
		 }<br />
	 else if(IsVista() == TRUE)<br />
		 {<br />
                 	 PWSTR pszPath[1];<br />
                 	 SHGetKnownFolderPath(NULL,FOLDERID_LocalAppDataLow,0,NULL,pszPath);	<br />
                	//copying the pszPath to szProfileDir array	 <br />
		}<br />
         return 1;<br />
<br />
	}


Any idea how to achieve this.

Your suggestion welcomed ...

Thanks.
AnswerRe: Cant we develope a dll which can be work in both vista and XP? Pin
Naveen15-Dec-08 0:58
Naveen15-Dec-08 0:58 
GeneralRe: Cant we develope a dll which can be work in both vista and XP? Pin
WindowsPistha15-Dec-08 3:51
WindowsPistha15-Dec-08 3:51 
QuestionWant struct parameter by default set to NULL Pin
Wischkony15-Dec-08 0:37
Wischkony15-Dec-08 0:37 

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.