Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalprinting an Enhanced Metafile Pin
P e t e r21-Oct-04 0:57
P e t e r21-Oct-04 0:57 
GeneralDirectShow IFilterChain Pin
madretierra21-Oct-04 0:50
madretierra21-Oct-04 0:50 
GeneralOnSize() Member function Pin
Neelesh K J Jain20-Oct-04 23:47
Neelesh K J Jain20-Oct-04 23:47 
GeneralRe: OnSize() Member function Pin
Vikram Kashyap21-Oct-04 3:40
Vikram Kashyap21-Oct-04 3:40 
GeneralVisual Studio 6 template support Pin
Antti Keskinen20-Oct-04 23:42
Antti Keskinen20-Oct-04 23:42 
GeneralRe: Visual Studio 6 template support Pin
Michael Dunn21-Oct-04 2:41
sitebuilderMichael Dunn21-Oct-04 2:41 
GeneralNeed a Step-by-step of how to sign an ActiveX Pin
anderslundsgard20-Oct-04 23:41
anderslundsgard20-Oct-04 23:41 
GeneralSetting temporary file path Pin
Vinaya20-Oct-04 23:21
Vinaya20-Oct-04 23:21 
Hi,

I have an application which uses 3 custom DLL. I want to create an additional DLL with method which sets the path of the temporary files created (from the application as well as the other DLLs) to a specified path rather than the system temp file path. If this method of the new DLL is not called in the application, the application can use the system temp path for creating temporary files.

I tried using '_putenv()' for setting the environment variable 'TMP' with the new path for temp files, in my new DLL and then calling it from my application. But this does not change the path where the temp files from the DLL are created. It is affecting only the temporary files created from the application. I use the GetTempPath() API to get the temp path.

Is there any other method to change the temporary file path. I need the new temp path to affect the methods of all the DLLs.

Pls help.

Thanks

Vini
GeneralRe: Setting temporary file path Pin
David Crow21-Oct-04 2:32
David Crow21-Oct-04 2:32 
Generallinking a microsoft access database to a vc++ program Pin
Anonymous20-Oct-04 23:17
Anonymous20-Oct-04 23:17 
GeneralRe: linking a microsoft access database to a vc++ program Pin
David Crow21-Oct-04 2:32
David Crow21-Oct-04 2:32 
GeneralRe: linking a microsoft access database to a vc++ program Pin
Vikram Kashyap21-Oct-04 3:33
Vikram Kashyap21-Oct-04 3:33 
GeneralA problem with update application. Please help me ! Pin
King of Merit20-Oct-04 22:51
King of Merit20-Oct-04 22:51 
GeneralRe: A problem with update application. Please help me ! Pin
ThatsAlok20-Oct-04 23:52
ThatsAlok20-Oct-04 23:52 
QuestionHow to execute command line in remote machine? Pin
dungle3020-Oct-04 22:33
dungle3020-Oct-04 22:33 
AnswerRe: How to execute command line in remote machine? Pin
ThatsAlok21-Oct-04 0:41
ThatsAlok21-Oct-04 0:41 
AnswerRe: How to execute command line in remote machine? Pin
Henry miller21-Oct-04 2:26
Henry miller21-Oct-04 2:26 
AnswerRe: How to execute command line in remote machine? Pin
David Crow21-Oct-04 2:37
David Crow21-Oct-04 2:37 
GeneralRe: How to execute command line in remote machine? Pin
dungle3021-Oct-04 16:47
dungle3021-Oct-04 16:47 
GeneralWindows message with MFC Pin
madretierra20-Oct-04 22:15
madretierra20-Oct-04 22:15 
GeneralRe: Windows message with MFC Pin
David Crow21-Oct-04 2:39
David Crow21-Oct-04 2:39 
GeneralRe: Windows message with MFC Pin
Anonymous21-Oct-04 4:33
Anonymous21-Oct-04 4:33 
GeneralRe: Windows message with MFC Pin
David Crow21-Oct-04 4:37
David Crow21-Oct-04 4:37 
GeneralRe: Windows message with MFC Pin
madretierra21-Oct-04 4:53
madretierra21-Oct-04 4:53 
GeneralRe: Windows message with MFC Pin
David Crow21-Oct-04 5:25
David Crow21-Oct-04 5:25 

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.