Forum Discussion

medmonds's avatar
medmonds
Occasional Visitor
1 hour ago

Is there a way to disable the usage of the tcMSVCHook.dll?

For some unknown reason, my Windows-based tested application (64 bit, WPF) throws unhandled exceptions that point to this .dll whenever I try to run or even record test steps. The only way I could get this to stop through TestComplete's settings was by disabling the Open Application functionality for my application.

But that wasn't a real solution as we need some of the Open Application features in our testing. So I had to workaround it by renaming this .dll such that TestComplete can't find it, and now we are able to run/record tests without issues.

Seeing as this solution is a bit "hacky", I wanted to see if anyone might know of a more official way to disable these hooks in TestComplete's settings.

Or if anyone can offer insight on if there are any drawbacks to doing my workaround, that would be super helpful as we've seen no issues so far but worry something could come up later.

No RepliesBe the first to reply