|
The task was to send the test messages from PC to the mobile through a serial port by simulating the modem using AT commands. I knew about the AT commands.
for example :
AT+CPMS Preferred message storage
AT+CMGF Message format (we use format 0: PDU)
AT+CSCA Service center address
AT+CNMI New message indications to TE
AT+CMGL List messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMGD Delete message
However i never worked on them. I would request you to send me some example program regarding this and also let me know how to approach such kind of programs.
Thanks& Regards,
Tangirala
modified on Tuesday, November 4, 2008 8:40 AM
|
|
|
|
|
Do you know CodeProject has a article search engine [^]?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Does this[^] help?
Regards,
Sandip.
|
|
|
|
|
Hi to all,
How to implement Proxy Server in C++ or C#?
How to test it?
Thanks & Regards,
Aniket A. Salunkhe
|
|
|
|
|
Aniket Salunkhe wrote: How to implement Proxy Server in C++ or C#?
Programming, I suppose.
Aniket Salunkhe wrote: How to test it?
Like other software projects, you know, unit testing,...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thanks for your reply.
CPallini wrote: Aniket Salunkhe wrote:
How to test it?
Is there any algorithm to implement Proxy Server? or What steps to be followed for it?
As we have to follow some steps for Server-Client Socket Programming (like Bind, Listen, Accept, ...)
CPallini wrote: Aniket Salunkhe wrote:
How to test it?
Where to install it? on Server or on Client? & How to check is it working properly or not?
|
|
|
|
|
Your questions are too broad and vague (for instance, what kind of Proxy Server are you talking about? Maybe a Web one, but you didn't specify. Moreover if you're going to build such a rather complex project then you should have already some idea about the algorythm) hence the the silly answers.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
I would like to learn about services and searched for the articles. But none of them were useful to me. Some of the articles are in fact nice, but not for a beginner like me . I would like to know about 1) what services are 2) where they can be used 3) how to use ATL Com AppWizard to create the service using Service(Exe) server type 4) A simple example (almost all the ones I have gone through today are looking like small projects, making the things more complicated for me to understand)
Could anyone post some nice article regarding this?
Thanks in advance.
Taruni
|
|
|
|
|
Have a look at this nice article[^] that Nish has written.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
i created a modeless dialog and added 3 pages on that
when i click first page and then any other window application hangs
i am unable to find properly where is the problem
|
|
|
|
|
Make sure that all the page dialogs are having both DS_CONTROL and WS_EX_CONTROLPARENT styles.
|
|
|
|
|
ok is there any function to activate the dialog
|
|
|
|
|
You mean CPropertySheet::SetActivePage ???
|
|
|
|
|
No i created a dialog on that i created pages
so i need to set the dialog active not sheet
|
|
|
|
|
Hello,
i use this control in dialog based application and i want to assign a CString value to them!
I mean, show html content without calling .Navigate(...);
CString csHtmlContent = L"<html><body>some very large text</body></html>";
CWebBrowserCtrl2 cWeb;
Is that possible, any suggestion for this problem?
It can be any other control who can show html content!
Thanks for any help!
termal
|
|
|
|
|
You can write the HTML text into a temporary file and open that file in your web control using Navigate method by prefixing file:// in its URL.
cheers
Varghese Paul
|
|
|
|
|
Hi,
thanks for answer, that is what i try to avoid, temporary file!
regards
termal
|
|
|
|
|
Some thing like this,
CComPtr<IDispatch> pDispDoc;
CComVariant spVar(_T("about:blank"));
m_Explorer.Navigate2(&spVar, 0, 0, 0, 0);
<br>
pDispDoc = m_Explorer.get_Document();
CComQIPtr<IHTMLDocument2> spDoc(pDispDoc);
VARIANT *param;
<big>CComBSTR spbStrHtmlText(OLESTR("<html><body>some very large text</body></html>"));</big> SAFEARRAY * psfArray = SafeArrayCreateVector(VT_VARIANT, 0, 1);
SafeArrayAccessData(psfArray,(LPVOID*) & param);
param->vt = VT_BSTR;
param->bstrVal = spbStrHtmlText;
SafeArrayUnaccessData(psfArray);
<big>spDoc->write(psfArray);</big>
SafeArrayDestroy(psfArray);</br>
See also [IHTMLElement::innerHTML ^]
And have a look at IHTMLDom objects to have more controls over internal html nodes.
|
|
|
|
|
Hello,
yes that is what i need, and thanks very much for help!!!
And thanks for the link!
with best regards
termal
|
|
|
|
|
Hello,
i have just one little question about this, if i try to show next html content, that is append to existing content, so i have two sites showed in this control!
I think i should before i show next content, clear the existing text, but how, can you help me again with that?
regards
termal
|
|
|
|
|
Hi,
i solved my problem!
termal
|
|
|
|
|
Hi,
struct Boxinfo
{
int userid;
char username[255];
};
if ((Boxinfo_ptr =(struct Boxinfo *) malloc(sizeof(struct Boxinfo))) == 0)
{
exit(1);
}
EXEC SQL FETCH customerinfo INTO: Boxinfo_ptr;
cout<<Boxinfo_ptr->userid;
cout<<Boxinfo_ptr->username;
here i have fetch the record from database two field then load to struct object Boxinfo_ptr no problem. also successfully i have got the value of userid and username .
My problem is Boxinfo_ptr->username is given the extra space .
that is suppose charter is "hello" for cout<<Boxinfo_ptr->username this output is "hello " it is simple print hello+200 space;
so how to avoid 200 space.
example:
input:
userid=100;
username="hello";
output:
userid=100;
username="hello "
How to avoid space for username char array.
please replay me as soon as possible
Thanks
|
|
|
|
|
The reason it gives you 200 spaces may be because of the field properties you have set in your database. You might have set it as fixed length string field of size 255. Try to make it a variable length string field.
cheers
Varghese Paul
|
|
|
|
|
Not possible to set variable length string because database object is return struct variable with fixed length character using pro*C.
suppose i have try to declare structure member variable like character pointer or void pointer when
it return memory leak . I have developed this application using Pro *C language.
|
|
|
|
|
Not possible to set variable length string because database object is return struct variable with fixed length character using pro*C.
suppose i have try to declare structure member variable like character pointer or void pointer when
it return memory leak . I have developed this application using Pro *C language.
|
|
|
|