I cannot get interactive debugging to work properly and would appreciate any help you can offer.
I complile the ActiveX DLL in Project compatibility mode, then use the MTS console to stop the MTS processes, delete the components that form the package, and re-drop the DLL into the package components window. I then switch to the project Binary mode and press F5 to run it in debug mode. A window pops-up explaining that MTS features will not be available, saying something about needing service pack 4 for NT (I have service pack 6a). I choose to proceed then start a standard project that is my test client. I can step into the called DLL, walk through the source as it executes, and do ths standard debugging things, but I find that I have to replace "CreateInstance" calls with CreateObject calls typed into the immediately window and that I need to skip over any method calls to the context object.
I understand why I need to avoid the MTS context object calls (I am calling the instance of the DLL that is in memory and not the copy that is registered to MTS), but am wondering whether I can do something different or apply a patch that will enable the context object during interactive debugging.
I cannot seem to find any helpful information about this problem. Some high-profile MTS consultants we have turned to told us we should have this problem and suggested we re-apply sp6, but this did not solve the problem.
Any advice?
Larry
Larryh@ecn.ab.ca
I complile the ActiveX DLL in Project compatibility mode, then use the MTS console to stop the MTS processes, delete the components that form the package, and re-drop the DLL into the package components window. I then switch to the project Binary mode and press F5 to run it in debug mode. A window pops-up explaining that MTS features will not be available, saying something about needing service pack 4 for NT (I have service pack 6a). I choose to proceed then start a standard project that is my test client. I can step into the called DLL, walk through the source as it executes, and do ths standard debugging things, but I find that I have to replace "CreateInstance" calls with CreateObject calls typed into the immediately window and that I need to skip over any method calls to the context object.
I understand why I need to avoid the MTS context object calls (I am calling the instance of the DLL that is in memory and not the copy that is registered to MTS), but am wondering whether I can do something different or apply a patch that will enable the context object during interactive debugging.
I cannot seem to find any helpful information about this problem. Some high-profile MTS consultants we have turned to told us we should have this problem and suggested we re-apply sp6, but this did not solve the problem.
Any advice?
Larry
Larryh@ecn.ab.ca