I'm having a problem where I can't seem to run a c function call from a DLL
in a progress character environment. I can get this working from a GUI based
environment using OCX but not through character v8.
The code I have written is shown below.(If I use the same function in GUI Progress
using OCX it connects with no problems). What am I doing wrong? Please help!
run DBL_ConnectServer(input "atmsdist",
message "connected" view-as alert-box.
procedure DBL_ConnectServer external "c:\program files\Navision Attain\SDK\CFRONT\Cfront.dll"
define input parameter server_name as character.
define input parameter net_type as character.
The error message I get is _progres.exe has generated errors and will be closed
by Windows. You will need to restart the program.
An error log is being created. (No error log gets created by the way).
Your help will be much appreciated.