Skip to main content

Using RMnet for consuming webservice, best way of loading dll`s

  • April 11, 2012
  • 4 replies
  • 0 views

[Migrated content. Thread originally posted on 11 April 2012]

Hi!

We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.

This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.

We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.

So the question is; how can we load this two dll`s from the Cobol program early enough?


Regards
Dagl

4 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • April 11, 2012

[Migrated content. Thread originally posted on 11 April 2012]

Hi!

We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.

This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.

We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.

So the question is; how can we load this two dll`s from the Cobol program early enough?


Regards
Dagl
I am curious about what you mean, configuring terminals .. if you are installing the runtime on each terminal, you are installing some dll's, you could add the RMNet dlls into your install, you can make a Windows shortcut that fires off the command line that includes the -y option .. Why are these two dlls presenting an issue?

  • 0 replies
  • April 12, 2012

[Migrated content. Thread originally posted on 11 April 2012]

Hi!

We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.

This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.

We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.

So the question is; how can we load this two dll`s from the Cobol program early enough?


Regards
Dagl
We dont really need to install runtime. Existing customers already have the runtime installed, and we are just about to ship out the programs with the new solution. But then we need the "-y" option on the shortcut command line.

Existing customers have the shortcut set up already. We dont want to add a new shortcut to their desktop. That means we need to configure the shortcut they already have. Which of course, we dont want to do. That will most certanly mean a lot of support when we are about to send the solution to our customers.

Som my question remains; is there another way to load this two dll`s ?

Regards Dagl

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • April 13, 2012

[Migrated content. Thread originally posted on 11 April 2012]

Hi!

We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.

This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.

We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.

So the question is; how can we load this two dll`s from the Cobol program early enough?


Regards
Dagl
I know of no other way to load these as they are a mix of COBOL and C to provide the needed features.

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • April 13, 2012

[Migrated content. Thread originally posted on 11 April 2012]

Hi!

We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.

This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.

We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.

So the question is; how can we load this two dll`s from the Cobol program early enough?


Regards
Dagl
When you did the call ... "call xmlif" and "call rmnet" what error did you receieve?