473,386 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

[winapi][command at]

Hi

I want to send to com at command but every command should be finish by
enter, so my question is how to do it

my first idea dosnt work: LPCTSTR query ="atd+48505634554;\n";
Enyone konw?

Best regards
Gustlik
Jul 23 '05 #1
2 1498
Gustlik wrote:
I want to send to com at command but every command should be finish by
enter, so my question is how to do it

my first idea dosnt work: LPCTSTR query ="atd+48505634554;\n";
Enyone konw?


Somebody in a newsgroup dedicated to Windows programming might. WinAPI
is off-topic here.

V
Jul 23 '05 #2
"Gustlik" <gu*********@gazeta.pl> wrote in message
news:d8**********@polsl.gliwice.pl...
Hi

I want to send to com at command but every command should be finish by
enter, so my question is how to do it

my first idea dosnt work: LPCTSTR query ="atd+48505634554;\n";
Enyone konw?


Try the string as:

"atd+48505634554;^M";

For further info, google for "Hayes commands".
If you're still stuck, try a Windows group, e.g.
comp.os.ms-windows.programmer.win32 (yours is not
a C++ question, so not really topical here).

-Mike
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ken Innes | last post by:
I am trying to write a little program that can be run as a Windows program or as a command line program. I'm really not sure the best way to do this, so what I came up with so far was to check for...
2
by: Dr. Laurence Leff | last post by:
How does not compile a Windows API and a Windows MFC program from the command line with Visual.net. (I can do the former, at least, with Visual Studio by creating a "Win32 Project.") However, I...
2
by: Nagesh | last post by:
hi, I am want copy the command line arguments from szCmdLine of WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) into **char cmdLineParameter. So that I can...
8
by: MAtkins | last post by:
Hi: I'm trying to find someone who knows the Windows API, especially as used in C# .NET. Specifically, I'm trying to use: GetMenuItemInfo(hMenu, MenuItemID, false, ref mif); I need to...
3
by: Sin Jeong-hun | last post by:
Often, I need to call Windows APIs in C#. Signatures and macro constants can be easily found at MSDN but the constants values are not shown. I have to search the .h file for those constants values....
21
by: niskin | last post by:
I am running a loop which logs me into my ftp account. However, I need it to run VERY fast repeatedly. My problem is that, whether the login is successful or unsuccessful, it is quite slow because it...
12
by: eric dexter | last post by:
I want to compare what I get on the command line in winmain with an if statement.. I am getting a beginers error but I don't have an example to use to fix it.. cannot convert from 'const int' to...
5
by: Peter Morris | last post by:
I have made my app single-instance using a Mutex but now need to pass on the command line parameters too. I tried using remoting but wasn't happy with this approach as the windows firewall asks if...
1
by: bretta | last post by:
Hi I am trying to make a series of calls to an unmarshalled DLL. The header file for the DLL reads as follows: BOOL WINAPI InitUSB (void); BOOL WINAPI CloseUSB (void); BOOL WINAPI...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.