Bug in Dev6?

From: Oleg Tischenko <sch_at_eliport.kiev.ua>
Date: Wed, 29 Sep 1999 13:11:10 +0300
Message-ID: <938600224.982490_at_ipt2.iptelecom.net.ua>



Hi All!
Doing transferring project from Developer/2000 r1.5 (Forms 4.5.8.1.2) to Developer r6.0 (Forms 6.0.5.0.2) I found out an interesting problem: I have a library (PLL), a package(PKG) in it and a procedure P. This procedure is called from the package, but does nothing, it is used only for PLL compilation (this is some a virtual function). Then, in some forms, I write a procedure with the same name, but it has another implementation. The problem is : in run time, when I call a procedure from PLL, the Procedure from the Form is called in fact. Suppose there are two forms: F1 and F2; each of them calls the package PKG and has its own implementation of procedure P. And form F2 is called from F1. In Dev 1.5 it worked well, but in Dev6 it works in the following way: If first you call P from F1 form, then when calling P from F2 form, P from F1 is called. And vice versa: if first you call P from F2 form, then when calling P from F1, P from F2 is called in fact.(It is after exit_form!!!)

Is it possible? Is there anybody who came across such problems and knows how to fix it? Received on Wed Sep 29 1999 - 12:11:10 CEST

Original text of this message