- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Re: PowerTerm Script Language+DDE
Operating System - Microsoft
1752822
Members
4322
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2006 09:03 PM
06-11-2006 09:03 PM
PowerTerm Script Language+DDE
Hi,
I have written two programs 1. C\:client.exe and C:\Server.exe in VC++ 6.0 under windows 2000 Professional.
C\:client.exe is a console application in C++ and and C:\Server.exe is C Windows, and both are written for supporting DDE.
Both work nice. I send XTYP_REQUEST and the message is handled properly in the Server.
Mean Client sends handle to a string "Wish". Server, in its call back function handles the is request for XTYP_REQUEST and displays
"Hello Prasanna" in the middile of the windows of the server program.
Now that I want to make use of PowerTerm Script Language. I have terminal (TELENET - Powerterm Interconnect), I want to make use of PSL to communicate with Server residing in my PC.
I am doing following steps.
1. Launching my server application (C:\Server.exe)
2. Connecting thru Telenet.
3. Wrote a .psl and saved it at C:\testpsl.psl
The script has following four lines
conv = [dde initiate C:\Server.EXE C:\Server.EXE]
res = [dde request $conv Wish]
send $res
dde terminate $conv.
4. In the TELNET connection, I go to
Script->Run Script and in the file selection dialog box I select C:\testpsl.psl and it open button.
With this I expect my server program (which is running as a result of step 1) should respond to the script and display "Hello Prasanna" in the middile of the windows of the server program.
This is not happening. Instead, the TELNET screen hangs. I need to close the TELNET connection and establish it again.
Can any one help me.
Regards
Prasanna Joshi
I have written two programs 1. C\:client.exe and C:\Server.exe in VC++ 6.0 under windows 2000 Professional.
C\:client.exe is a console application in C++ and and C:\Server.exe is C Windows, and both are written for supporting DDE.
Both work nice. I send XTYP_REQUEST and the message is handled properly in the Server.
Mean Client sends handle to a string "Wish". Server, in its call back function handles the is request for XTYP_REQUEST and displays
"Hello Prasanna" in the middile of the windows of the server program.
Now that I want to make use of PowerTerm Script Language. I have terminal (TELENET - Powerterm Interconnect), I want to make use of PSL to communicate with Server residing in my PC.
I am doing following steps.
1. Launching my server application (C:\Server.exe)
2. Connecting thru Telenet.
3. Wrote a .psl and saved it at C:\testpsl.psl
The script has following four lines
conv = [dde initiate C:\Server.EXE C:\Server.EXE]
res = [dde request $conv Wish]
send $res
dde terminate $conv.
4. In the TELNET connection, I go to
Script->Run Script and in the file selection dialog box I select C:\testpsl.psl and it open button.
With this I expect my server program (which is running as a result of step 1) should respond to the script and display "Hello Prasanna" in the middile of the windows of the server program.
This is not happening. Instead, the TELNET screen hangs. I need to close the TELNET connection and establish it again.
Can any one help me.
Regards
Prasanna Joshi
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 08:21 PM
06-26-2006 08:21 PM
Re: PowerTerm Script Language+DDE
PowerTerm is a terminal emulator used
to connect a PC to a remote host machine. It opens a window on your pc that behaves like a dumb terminal so
the host computer (e.g., a mainframe) can talk to it. You would never use DDE commands to manipulate the host machine.
The DDE commands in PowerTerm's scripting language (PSL) are a different thing altogether. They are used for communication between PowerTerm and third party applications, like MS Word or Excel, so that data sent from the host to the PT window can be used in these applications, or to send commands to the host from inside Excel, for example.
To activate commands on the host machine, or in your case, your server application, you would normally use the psl "send" command.
I hope this helps you,
Johnny
to connect a PC to a remote host machine. It opens a window on your pc that behaves like a dumb terminal so
the host computer (e.g., a mainframe) can talk to it. You would never use DDE commands to manipulate the host machine.
The DDE commands in PowerTerm's scripting language (PSL) are a different thing altogether. They are used for communication between PowerTerm and third party applications, like MS Word or Excel, so that data sent from the host to the PT window can be used in these applications, or to send commands to the host from inside Excel, for example.
To activate commands on the host machine, or in your case, your server application, you would normally use the psl "send" command.
I hope this helps you,
Johnny
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP