[ros-kernel] Re: Enhanced error messages
Martin Fuchs
martin-fuchs at gmx.net
Tue Jan 6 11:12:01 CET 2004
Hello,
> If I understand your proposal correctly, my app running under
> ros would give me:
>
> Could not open C:\Documents and Settings\galb.mydomain\Application
> Data\Xyzzy\foo.txt: "C:\Documents and Settings\galb.mydomain\Application
> Data\Xyzzy\foo.txt" not found
>
> which seems a little bit obnoxious (I deliberately choose a long file
> name to make it more obnoxious :-)
Of course this is a very simple example - your application tries to open
a file explicitly, and can print its name in the error message.
There may be more complex scenarios when calling other functions
that create file names internally and then pass them to CreateFile().
In this cases you can't simply print out the file name from the application
More information about the Ros-kernel
mailing list