DLL calls in character programming

Posted by LegacyUser on 24-Jan-2002 06:25

Hi all,

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",

input "tcp").

message "connected" view-as alert-box.

procedure DBL_ConnectServer external "c:\program files\Navision Attain\SDK\CFRONT\Cfront.dll"

CDECL persistent:

define input parameter server_name as character.

define input parameter net_type as character.

end procedure.

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.

Thanks.

Shaz

All Replies

This thread is closed