I am maintaining a vb6 program that connects to a mainframe to send and receive data by using a Rumba .wdm. Now I need to change the code so that users have the option to choose to use HummingBird instead of Rumba. In the current code the references to the Rumba wdm are hard coded. I have attempted to adjust the code to read these settings from an external source but after having done this data is nolonger being passed to the mainframe session from my prog. My prog is shelling out to the correct rumba wdm after reading in the settings but there is some problem connecting to the WHLLAPI.dll.
When I call WinHLLAPIStartup it returns 1 which I believe is correct.
When I interegate the version from the WinHLLAPIData struct it is 0. It is as if the data structure has not been populated.
When I call WinHLLAPI it returns 1 which I think means not connected.
Unfortunately I didn't write this code originally, so I don't know all its ins and outs.
Can anyone shed some light on why it has stoped working?
Thanking you in anticipation,
Tim.
When I call WinHLLAPIStartup it returns 1 which I believe is correct.
When I interegate the version from the WinHLLAPIData struct it is 0. It is as if the data structure has not been populated.
When I call WinHLLAPI it returns 1 which I think means not connected.
Unfortunately I didn't write this code originally, so I don't know all its ins and outs.
Can anyone shed some light on why it has stoped working?
Thanking you in anticipation,
Tim.