URUN call-in not working any more?!
Author: kevin.palm@labsolution.lu (palm.kevin)
Hi all,
I need to launch a Uniface form from an external C application (Both running on Windows 7).
In the Uniface documentation I found the information I needed to do such a 3GL operation: URUN.
I wrote a small C application to test this call (callin.c):
#include <h3gl.h>
void main (void)
{
unifbeg(0);
urun("PSCRIPT_PYT.frm", 0, 0, 0, 0);
unifend(1);
}
To compile my application, I executed the following instructions:
cl /c /I "C:\\Uniface94\\uniface\\3gl\\include" callin.c
link /OUT:"callin.exe" "/LIBPATH:C:\\Uniface94\\uniface\\3gl\\lib" ucall.lib urtl.lib ulib.lib yrtl.lib callin.obj
The compilation and the linking worked both. Now when I execute the program callin.exe, I get the following error message:
The ordinal 574 could not be located in the dynamic link library ULIB.dll
I really don't understand this error:
- URUN is NOT defined at ordinal 574 of ulib.dll, but at ordinal 41 of yrtl.dll ?!
- At ordinal 574 in ULIB.dll is function "_uSql2Trx" ... ?!?
Can anybody provide some help on this topic?!
Best thanks beforehand,
Kevin Palm
Additional information concerning my system:
- OS: Windows 7 (64 bit)
- Uniface: 9.4.0.1 (32 bit)
- C Compiler: Visual C++ (32 bit)



