![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
annarouse
Newbie
Joined: December 02 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Getting "Host not found" error but it works anywayPosted: December 02 2009 at 5:18am |
|
We have an application that works with Accuterm. It works properly on my machine, but on most machines it gets an error "Host not found" when we start up the application. You click OK and it continues and works just fine. It's more an annoyance than anything
What would cause Accuterm to display the "Host not found" message, but work normally, it obviously found the host?
|
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: December 02 2009 at 5:43am |
|
Hi Anna -
For users that are getting the error message, how are you starting AccuTerm? Are you launching it from a saved session file (.atcf file) or a shortcut to a session file? After the error message how is the user able to open their session? Thanks, Pete |
|
![]() |
|
annarouse
Newbie
Joined: December 02 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: December 02 2009 at 8:53am |
|
Hi Pete
We are launching it using an atcf file through our application. During installation I set the hostname to be the IP address of the Unix system they are connecting to. So it's not a DNS issue, as it's already an IP address. They get the "Host not Found", click OK, then the login prompt is displayed and they can continue.
I am fairly certain it has something to do with how our application is integrated to Accuterm, but it's difficult to debug, as it works on the developer machines, it just doesn't work on the end user machines. I have asked the programmer who works on that application (it's written in C++ and I'm a VB and InstallShield programmer) to put in additional displays for me to try to figure out where the problem lies)
Thanks
Anna
|
|
![]() |
|
annarouse
Newbie
Joined: December 02 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: December 03 2009 at 10:21am |
|
It seems that the error comes as soon as we do a load of the atcf file from inside of our code. I can run the atcf file manually and it will not give the host not found error. If I load it through the code it does. This also does not seem to happen on any machine that has the Microsoft Development Environment installed.
The following is the code that loads the atcf file (note - it is selecting the correct atcf file to use, so that functionality does work correctly) Any ideas?
void TerminalView::OnInitialUpdate() { CFormView::OnInitialUpdate(); CSettings Set; CFileStatus fStatus; TerminalView::pEmulator = &cAtEmulator; Set = cAtEmulator.Settings(TRUE); // Look for files if (CFile::GetStatus("Prism.atcf", fStatus)) Set.Load("Prism.atcf"); else if (CFile::GetStatus("Jcon.atcf", fStatus)) Set.Load("Jcon.atcf"); else if (CFile::GetStatus("Ultimate.atcf", fStatus)) Set.Load("Ultimate.atcf"); else Set.Load("sco5.atcf"); } cAtEmulator is defined as such
|
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: December 04 2009 at 3:51am |
|
Hi Anna -
You might want to install the debugging version of AccuTerm and run the asdebuglog.exe program to see what's going on underneath. You can set logging options in atemu2k2 and atcomm32. Thanks, Pete |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |