Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Temporary file using MSFT API in cpp

using namespace System::Security;using namespace System::IO; ... String tempFolder;try {  tempFolder = Path::GetTempPath();}catch(SecurityException* ex){  // probably means that you don't have the required permissions}catch(Exception* ex){  // handle all other exceptions}
Source by www.codeguru.com #
 
PREVIOUS NEXT
Tagged: #Temporary #file #MSFT #API #cpp
ADD COMMENT
Topic
Name
4+9 =