This topic is now archived and is closed to further replies.


Typecasting IAppServer in TSocketConnection

Recommended Posts

Hi there, does anyone out there have any experience with the above. im doing var ..oMyServer: IMyServer; begin ..SocketConnection1.Connected := true; ..oMyServer := IMyServer(SocketConnection1.GetServer); ..oMyServer.MyProc(Params); // fails here with access violation end; Cheers Mark

Share this post

Link to post
Share on other sites