I have an application using Redemption, and this is our first time using it. We're having a problem with it (MAV error when calling DESTROY on the folder handle) and I've been given a debug version of Redemption to use so that a trace log will be created. I've installed it on our server to location K:\\UBCC\\Programs and registered it with regsvr32. There is a
CALL "Redemption.dll"
line in the application before doing all the usual email tasks.
When I run the application I also have Process Explorer running so that I can see that the application is loading the instance of Redemption described above when it does the CALL. The trace log shows it being loaded as an Outlook add-in. But when I execute the next line:
CREATE @RDOSESSION OF @REDEMPTION HANDLE IN EX-RDOSESSION
I can see from Process Explorer that the application loads D:\\program files\\Intuit\\QB2011\\Redemption.dll instead, and no subsequent activity is written to the trace log.
How can I make it use the instance of Redemption.dll in my programs folder, rather than the version in the program files?