Search All Forums
Dart Home | PowerTCP Emulation for ActiveX | Custom Development Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
AuthorForum: PowerTCP Emulation / Telnet for ActiveX
Topic: Telnet Client in Visual C++ 6

From: Petach Tiqwa, MA Israel
Posts: 1
Member Since: 08/29/06
posted August 29, 2006 11:02 AM

I tried to activated the Telnet Active X without
I add to my project class from Type library
(DartTelnet.dll).It was created file that includes three wrapper classes:
IDartStream, _ITelnetEvents and ITelnet
I tried to activate the Connect function from ITelnet class
Withot any success.

class ITelnet m_Object;
int State;


m_Object.Connect("", 23, "", 0);

State = m_Object.GetState();

What is wrong in my way ???
Best Regards,
Tony Priest

From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 29, 2006 11:32 AM

If you are using MFC, then the easiest thing to do is insert a control on a window using the Toolbox, then let MFC create the wrappers for you.

If you do not wish to use MFC, then you should start by looking at the sample apps that we provide with the product. The samples include a wrapper class that we wrote, and from which you can derive, that will provide working events.

Please make sure that you read all of the comments in the sample source code as well as the Readme file that should be in the VC samples directory.

Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX