Re: Interface between 4GL and UNIX C
Posted in 1998
In article <69g05g$os6$1@excalibur.flash.net>, Jing He <bsihj@flash.net> wrote: >Guys, > >I have a problem with a 4GL program. It was complied under HP-UX A.09.04 >and on-line 5.01.UD1. It runs fine. When I recomplie this 4GL program >under HP-UX B.10.20 and on-line 5.08.UD1, it has a problem to run it. The >problem happens when it tries to call a C function. The error message is >this:"FORMS statement error number -1320. A function has not returned the >correct number of values expected by the calling function". What does this >mean? But when I run the old executible code under new environment, it is >OK. I do not change the 4GL and C program. It seems that the interface has >changed under HP-UX B.10.20 and on-line 5.08.UD1. Someone has ideas? > >Thanks a bunch. > > Previous versions of 4GL did not always checked the call/return parameter stack. Returned values were just dumped. You're newer version must check the returned values with the returning statement. -- Michael J. Kuhn Computer Systems Consultant phone:410-254-7060 Email: mkuhn@csd.clark.net, csd@clark.net mkuhn@rhlab.com c/o Baltimore Rh Typing Laboratory, Inc. phone:410-225-9595