Access Violation when displaying another form from onError Event in TOraSession
Posted: Tue 03 Jul 2007 01:31
I am trying to capture a users password has expired when the user logs in. I am using the OnError event from the TOraSession component. When the E->ErrorCode = 28001 I display another form with a password box to type in a new password. However when I call Form->ShowModal() or Form->Show I get an access violation. I know the form I am trying to display is OK because it will display fine from a button click in my main form. Thereforei I think they problem lies with ODAC. Why is there an access violation? Is there another way to change an expired password from ODAC?
Borland Developer Studio 2006 (C++ Personality) with ODAC v. 5.80.0.39
Thanks for the help
Borland Developer Studio 2006 (C++ Personality) with ODAC v. 5.80.0.39
Thanks for the help