Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13346
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: error code 50 |
| Date | 2021-06-23 11:12 +0200 |
| Message-ID | <ijgc81F9glmU1@mid.individual.net> (permalink) |
| References | <f75c62ec-6104-4b64-aba0-f94b99b34533n@googlegroups.com> <ije9ioFrt0dU1@mid.individual.net> <e18ae42c-916f-41e8-92b9-1ef381babe50n@googlegroups.com> |
Hi Aurora, a GPF is a general protection failure - VO calls it "access violation". It basically means that a process tries to access memory that is outside of its memory space. Since VO's memory is handled by its own dynamic memory system, normally this means that the program tries to access objects that are already destroyed. Unfortunately I cannot say more without seeing the entire logic, but I suspect that a reference to the RequestFiscalCode window is stored somewhere and your code tries to access it nevertheless it is already garbage collected. A call to the Destroy() method should only be used in rare cases - it was requested in earlier VO versions to cleanup Windows ressources like fonts or pens. But you should never call the Destroy() method on a window or control class. Wolfgang aurora baccio wrote: > Il giorno martedì 22 giugno 2021 alle 16:14:49 UTC+2 Wolfgang > Riedmann ha scritto: > > Hi Aurora, > > > In the launched mask (a data dialog) there are a whole series of > > > quick procedures, including the launch of the dispensing of > > > recipes by double-clicking from a sub data window. If I exit from > > > this mask I should, by my logic, return to the initial, basic > > > screen. This is what happens if I exit after performing any > > > procedure other than double click. In this case you get the > > > following error ERROR CODE 50 ACCESS VIOLATION ..... DESCRIPTION > > > APPLICATION CODE ERRORCAUSIN ACCES VIOLATION CALLSTACK: > > > MAINWINDOS LAUNCHES (LINE 13) (corresponds to : owin:show()) > > > APP:START LINE 443 START: LINE 6 > > this may be difficult to find: a GPF like this is occurring most of > > the time if you are accessing an object that is being destroyed. > > > > Searching for a GPF cause can be really time consuming.... > > > > Wolfgang > > > > > > -- > Good evening Mr. Riedman, and thank you always. > Your conclusion is my conclusion as well. > But the point is that I destroy (with theExit button) the > RequestFiscalCode window and not the mainwindow. I have tried both > Destroy(9 and Endwindow(). And if I don't double click on the > subdatawindow contained in the TaxCodeRequest window everything works > normally. And in any case the procedures activated with the double > click are activated and closed regularly. A question: what does GPF > mean? thanks Aurora Baccio --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-22 05:51 -0700
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-22 16:14 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-22 11:33 -0700
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-23 11:12 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-23 04:45 -0700
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-23 17:12 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-24 06:58 -0700
Re: error code 50 JohnMartens <martens@tennishulp.info> - 2021-06-24 18:32 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-24 10:12 -0700
Re: error code 50 JohnMartens <martens@tennishulp.info> - 2021-06-24 21:35 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-25 05:41 -0700
Re: error code 50 JohnMartens <martens@tennishulp.info> - 2021-06-25 16:49 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-25 23:33 -0700
Re: error code 50 JohnMartens <martens@tennishulp.info> - 2021-06-26 08:58 +0200
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-27 07:16 +0200
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-27 14:32 +0200
Re: error code 50 aurora baccio <aurorabaccio@gmail.com> - 2021-06-30 06:00 -0700
Re: error code 50 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-30 17:13 +0200
csiph-web