T
Tony Johansson
Hi!
Here is some text from Microsoft press(exam 70-536).
"Exceptions in unmanaged code are markedly different from those thrown in
managed code. In earlier COM days, you could use the GetLastError function
to get the last error that was raised. This approach won't work in a managed
application because the return value of GetLastError might not be the
correct one. Why ? because the GetLastError method can be set by either a
..NET framework object or the common language runtime(CLR) "
What does this last sentence actually mean here. It says "because the
GetLastError method can be set by either a .NET framework object or the
common language runtime(CLR) "
What is the difference between NET framework object or the common language
runtime(CLR) ?
//Tony
Here is some text from Microsoft press(exam 70-536).
"Exceptions in unmanaged code are markedly different from those thrown in
managed code. In earlier COM days, you could use the GetLastError function
to get the last error that was raised. This approach won't work in a managed
application because the return value of GetLastError might not be the
correct one. Why ? because the GetLastError method can be set by either a
..NET framework object or the common language runtime(CLR) "
What does this last sentence actually mean here. It says "because the
GetLastError method can be set by either a .NET framework object or the
common language runtime(CLR) "
What is the difference between NET framework object or the common language
runtime(CLR) ?
//Tony