ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Programmer Libs

JrDebugLogger -- issue with default writing to app dir on vista/win7

(1/1)

mouser:
One thing that needs to be fixed in JrDebugLogger is that by default if you just tell debuglogger to write to a file, it will try to create that file in the application directory.

That worked fine on XP, but with VISTA and Win7, MS "virtualization" will cause the file to be written to mysterious hidden directories.

Of course you can always specify a full path for the debug log file but this is much less than ideal.

What i was thinking of adding is some windows-specific code that would kick in if you are building on windows, which would put the file somewhere like Documents/JrDebugLog/appname/filename IFF running under vista/win7 and no explicit file path is provided.

Does that seem like the best solution?

mouser:
This has now been implemented in v1.11.01 (Nov 13, 2010).

Navigation

[0] Message Index

Go to full version