Subject | Re: TIB_Session in ISAPI DLL |
---|---|
Author | |
Post date | 2014-06-20T13:55:07Z |
Frankly, I don't know how to obtain the callstack (or maybe I don't know what you are referring to). It's a DLL, and I access it via the browser from elsewhere. Since I cannot run a DLL in the IDE, how can I get a trace (other than what I already showed with the E.StackTrace)? Besides, it's pretty clear what the problem is: WebModule2=nil. The question (as I understand it) is WHY it's nil, and if there is a way to access the non-visual objects without using this variable.
Some background info: This DLL functions just fine without the IB_Session and IBOTransaction objects, as long as it's compiled with Delphi 2010. Moving to D-XE5 makes it behave erratically, generating intermittent AVs. I therefore decided to try to follow the suggestions in this and other forums of adding the the IB_Session and IBOTransaction objects on the platform where the DLL behaves well, and then move up from there. Unfortunaly, that doesn't seem to work either. So, now I'm stuck using D-2010 until I can get past this problem.
Some background info: This DLL functions just fine without the IB_Session and IBOTransaction objects, as long as it's compiled with Delphi 2010. Moving to D-XE5 makes it behave erratically, generating intermittent AVs. I therefore decided to try to follow the suggestions in this and other forums of adding the the IB_Session and IBOTransaction objects on the platform where the DLL behaves well, and then move up from there. Unfortunaly, that doesn't seem to work either. So, now I'm stuck using D-2010 until I can get past this problem.