Converting VB DLL referencing to Delphi (Porting VB App to Delphi) with 3rd party DLL
I have a wee bit of a problem which has now had me stumped for 2 days. I am convinced that am not following the correct procedures involved in referencing an external dll and as such I turn to you for help. As it is urgent and in the end it will be difficult to test the solution yourself I’ll be throwing 500 points at this.
The idea behind the VB program is to establish a session to a message queue via a SonicMQ DLL
The easiest way to do this would be for me to supply you with the VB code and the dll.
What I need out of this would be a working equivalent of the VB code for Delphi 6.
What I have done thus far and I do not know if this was indeed the correct thing to do is to import the dll via the type library and I am currently referencing the dll via the uses clause. However I am unable to instantiate the Session object
Please leave your e-mail address on this topic and I will mail you the VB source code and the relevant dll's once you have the code to the point where you need me to test it please send the Delphi code to me along with an instructions that i need to follow and I will provide full feed back on it.