G
Guest
Hi
I have a mixed managed/unmanaged project which thanks to you guys I've
managed to get rid of the linker errors of, so cheers for that.
But now I'm experiencing an unknown access violation.
Firstly this is an extended stored procedure DLL, I've been able to debug it
successfully by starting SQL server with the -c switch and when it is called
via osql then it breaks into the debugger. Fine. I'm happy with that....
However the project also has a .cpp file that is compiled with /clr. This
contains one managed function, which instantiates a C# class in a separate
assembly. The accessor function is called by the main (unmanaged) .cpp file
that is the entry point of the extended stored procedure. When I press F11 or
F10 on the accessor function, I get 'SQL server generated an access
violation, and is terminating process 51'.
This function used to be OK. I've got the debugger set to 'mixed', but it
won't step into the managed function.
Any idea how I can trace what's actually going on?
I have a mixed managed/unmanaged project which thanks to you guys I've
managed to get rid of the linker errors of, so cheers for that.
But now I'm experiencing an unknown access violation.
Firstly this is an extended stored procedure DLL, I've been able to debug it
successfully by starting SQL server with the -c switch and when it is called
via osql then it breaks into the debugger. Fine. I'm happy with that....
However the project also has a .cpp file that is compiled with /clr. This
contains one managed function, which instantiates a C# class in a separate
assembly. The accessor function is called by the main (unmanaged) .cpp file
that is the entry point of the extended stored procedure. When I press F11 or
F10 on the accessor function, I get 'SQL server generated an access
violation, and is terminating process 51'.
This function used to be OK. I've got the debugger set to 'mixed', but it
won't step into the managed function.
Any idea how I can trace what's actually going on?