|
-
November 7th, 2002, 07:06 PM
#1
compiling problem in managed c++ code
I recently updated to C++.Net and am writing managed c++ code. I found a problem when calling the static function Path::GetTempFileName (actually I haven't had luck with any of the Path functions)
My code is
String* path = Path::GetTempFileName();
When I compiled my file, the compiler complaints:
error C2039: '\GetTeampPathA': is not a memeber of 'System::IO::Path'
error C2660: 'GetTempPathA': function does not take 0 parameters
MSDN provides no sample code as how to use Path in C++. I am wondering if this is intentionally? Does anybody have any experience with System::IO::Path class?
Leigh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|