Jump to content

Nexus Terminal


strate
 Share

Recommended Posts

http://www.nexit.com/

This might be the answer to eliminating a lot of the redundant work I do here at work. I need help with the dll functions though. There is a lack of documentation so I have nowhere to go really. I've never made a Dllcall in my life so if somebody could assist me in connecting I might be able to hack through the rest.

The attachment is everything I have regarding the Telnet dll.

Any help would be great.

NMTAPI.H

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

Dllcall() is pretty well documented... your saying the dll you're calling isn't? Is it intentionally undocumented?

Reguardless, what exactly are you trying to do? do you have an attempt? some code you could post?

Correct, the Dll (for me) doesn't have enough documentation. I've never used DllCall so I can't figure it out. I figured that if I provided the document I have, that somebody might be able to make a simple example with one of the functions that are in the dll.

It's the best Telnet terminal for interaction with AutoIt that I could find.

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

seems kind of troublesome to interface with telnet this way but for example-

DllCall ("NMTAPI.DLL","int","NmtFunctionKey","int",10,"int",16)

Is an example of one of the simpler functions (this should send 'enter' to a telnet with a SID of 10).

I sure don't want to make a udf of the whole library for you but it seems pretty standardly documented. If you don't understand it, it would probably be more becuase of a lack of understanding C/C++ not a lack of understanding of AutoIt. In that respect wrong forum <_<

Sorry to be blunt, but I hope that helps some...

Link to comment
Share on other sites

seems kind of troublesome to interface with telnet this way but for example-

DllCall ("NMTAPI.DLL","int","NmtFunctionKey","int",10,"int",16)

Is an example of one of the simpler functions (this should send 'enter' to a telnet with a SID of 10).

I sure don't want to make a udf of the whole library for you but it seems pretty standardly documented. If you don't understand it, it would probably be more becuase of a lack of understanding C/C++ not a lack of understanding of AutoIt. In that respect wrong forum <_<

Sorry to be blunt, but I hope that helps some...

Thank you, how do I figure out the SID?
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

as explained in the doc-

int WINAPI NmtConnectHost (char * pIpAdd, int nPort, HWND hWnd, int * pSid);
// pIpAddr   - Host name (abc | abc.xyz.nn) or IP addr (123.45.67.89)
// nPort       - Host telnet port
// hWnd     - Message wnd. which will be used for async WS
// pSid     - A valid sid (0 - 255) or -1 will be returned
//     No new connections must be done before the 
//     the host name has been resolved in the previous call.
Edited by evilertoaster
Link to comment
Share on other sites

as explained in the doc-

int WINAPI NmtConnectHost (char * pIpAdd, int nPort, HWND hWnd, int * pSid);
// pIpAddr   - Host name (abc | abc.xyz.nn) or IP addr (123.45.67.89)
// nPort       - Host telnet port
// hWnd     - Message wnd. which will be used for async WS
// pSid     - A valid sid (0 - 255) or -1 will be returned
//     No new connections must be done before the 
//     the host name has been resolved in the previous call.
I'm guessing that Sid, nSid, and pSid are all the same?
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...