I am trying out the Winsock compenent of the company Xceed. Everything is working fine till a point where u have to apply an interface onto a variable cause otherwise it won't work. The code in VB .Net is something like this.
Dim xLocalSocket As XceedWinsockLib.ConnectionOrientedSocket
xLocalSocket = xIncomingSocket
Where xIncomingSocket is a parameter which has a different type. Obviously VB type casts the variable on its own but when i Try the same code in VFP it overrides the variable and doesn't change the type. I created implemenets to that interface (IdXWConnectionOrientedSocket).
Local xLocalSocket As IdXWConnectionOrientedSocket
xLocalSocket = Createobject("IdXWConnectionOrientedSocket")
xLocalSocket = xIncomingSocket && xIncomingSocket is a parameter different type
Does anybody have any idea how to solve the problem or is somebody using this component?
Thanks beforehand
Regards