Re: Calling NewEra DLL from Delphi
Posted in 1998
Topics: Stored Procedures & SPL
I haven't tried to do this before, but I would imagine you would have to follow the same rules for calling NewEra from "C" programs. As I recall (I haven't got the documentation in front of me), this is documented in something called the CLIK (Class library Integration Kit). It involves calling some additional functions before calling NewEra. Hope this gives you a hint. I would like to know how you get on. Cheers Arjen Brienen wrote: > Hi, > > We made a DLL from NewEra source code. All NewEra functions that are > exported are wrapped in C++ functions, so the 'PushArgs' and 'PopArgs' > functions can be used. The resulting DLL is called from a Delphi program. We > encounter the following problems: > 1. Calling our own functions seems to work well, but as soon as we call a > NewEra function like 'Display' the call seems to end up in an infinite loop. > 2. All parameter values passed from C to NewEra using the appropriate > 'PushArgs' function are set to null in the NewEra function. > > Hope someone can help.... Tony Moore Email: agm@tusc.com.au Telephone: (61) 3 98402222 Fax: (61) 3 98402277 TUSC Computer Systems, 666 Doncaster Rd. Doncaster, 3108.