Board index » off-topic » Re: Invalid Page Fault in Idapi32.dll
Bill Todd
Delphi Developer |
Bill Todd
Delphi Developer |
Re: Invalid Page Fault in Idapi32.dll2003-09-14 10:45:25 AM off-topic7 What operating system are you using? Is that the complete text of the error message? |
Marcio Ehrlich
Delphi Developer |
2003-09-14 11:54:12 AM
Re:Re: Invalid Page Fault in Idapi32.dll
I am having this problem both in Win98 and W2K.
The message, in this micro I am writing (Win98) is "Invalid page fault in module IDAPI32.DLL at 0187:4be43541". It is odd. As soon as I close any of the softwares, the message appears and the system freezes. TIA. Marcio Ehrlich ----- Original Message ----- From: "Bill Todd" < XXXX@XXXXX.COM > Newsgroups: borland.public.bde Sent: Saturday, September 13, 2003 11:45 PM Subject: Re: Invalid Page Fault in Idapi32.dll QuoteWhat operating system are you using? |
Marcio Ehrlich
Delphi Developer |
2003-09-15 12:52:33 AM
Re:Re: Invalid Page Fault in Idapi32.dll
"Bill Todd" < XXXX@XXXXX.COM >wrote in message
QuoteDoes it happen if you run one of your programs and BDE Administrator or After your suggestion, I did several cross-tests with DBD, my programs and other Paradox-based softwares. Since the error only occurred when at least one of my programs was running, I assumed the problem was at their code. Isolating each routine, I found I would have that error only when I ran this piece of code I learned elsewhere to check if the BDE was installed: If not (dbiInit(nil) = 0) then begin ShowMessage('BDE not installed!'); PostMessage (Handle, wm_Close, 0, 0); end; Why should this (dbInit(nil) = 0) call cause the problem? If this call cannot be used, how can I check the existence of the BDE? I am afraid the registry keys may vary from one computer to another depending on the installation, is not? Thanks, Marcio {smallsort} |
Bill Todd
Delphi Developer |
2003-09-15 04:23:27 AM
Re:Re: Invalid Page Fault in Idapi32.dll
Are you closing the BDE session you created somewhere else in your
code? If not, try changing the code as shown below. If not (dbiInit(nil) = 0) then begin ShowMessage('BDE not installed!'); PostMessage (Handle, wm_Close, 0, 0); end else begin DbiExit; end; Also, where in your application have you placed this code? |
Bill Todd
Delphi Developer |
2003-09-15 05:17:25 AM
Re:Re: Invalid Page Fault in Idapi32.dll
On Sun, 14 Sep 2003 18:01:10 -0300, "Marcio Ehrlich"
< XXXX@XXXXX.COM >wrote: QuoteLet me understand your code. Could the crash be caused by not having called |
Marcio Ehrlich
Delphi Developer |
2003-09-15 05:35:42 AM
Re:Re: Invalid Page Fault in Idapi32.dll
"Bill Todd" < XXXX@XXXXX.COM >wrote in response to
Quote>Could the crash be caused by not having called Marcio Ehrlich |