Jump to content

Shekar

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Shekar

    ICS DLL for Visual Studio

    The DLL Viewer displays blank for the old DLL.
  2. Shekar

    ICS DLL for Visual Studio

    Hi Angus, I had made the library dpr in 2011. I lost it long time ago and do not remember whether I wrote anything in the exports section. Now I made a new library dpr, added all the pas file from ICS source folder and compiled. I got a dll. Using a dll viewer I can see 3 procedures _dbk_fcall_wrapper, dbkFCallWrapperAddr and TMethodImplementationIntercept. When I tried the same with my old ICS dll, the viewer shows nothing. I want to access the entire TWSocket class (both client and server) in visual studio C#. The current VS C# code is like this : public TWSocketClient ITSSocket = new TWSocketClient(); ITSSocket.OnSessionConnected += new TSessionConnected(ITS_OnConnected); ITSSocket.OnDataAvailable += new TDataAvailable(ITS_OnDataIn); ITSSocket.OnSessionClosed += new TSessionClosed(ITS_OnDisconnected); private void ITS_OnDataIn(object Sender, ushort ErrorCode) { //code to receive the data and process it } I have attached the old dll and the new dpr file and the new dll. . Thanks Shekar Ics2.dpr OverByteIcsOld.Dll OverByteICSNew.zip
  3. In 2011, I had made a DLL of ICS components using Delphi 2006. I have been using this DLL since then. I decided to make a new DLL with the latest ICS release on Delphi 10.2. I created a DLL project and added all the ICS source files and compiled. When I am using the new DLL instead of the old one, my VS C# exe is not able to create the socket component. I think I missed some step in the DLL creation as I have not done it for the last 8 years and google is not helping. I think I should add something to the exports section to make the socket component visible to the world, but I couldn't find any help in this regard. Can somebody giving me a link or some other help which will point me in the right direction? Thanks.
×