|
-
Apr 14th, 2004, 12:57 PM
#1
Thread Starter
Frenzied Member
boost::filesystem
I am getting a strange error with the boost file system. When I do path my_path("C:\\temp"); I get an unhandled execption in xstring under:
Code:
~basic_string()
{ // destroy the string
_Tidy(true);
}
It will continue but I get memory leaks. Even with nothing but the path in my code.
Any ideas?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Apr 14th, 2004, 06:48 PM
#2
Thread Starter
Frenzied Member
Damnit I hate boost's documentation and samples.
The answer is:
Code:
path my_path("C:/temp", native );
I was getting the error because I did not link in the execption handler for the file system.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

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
|