|
High,
I am designing embedded systems for my private use - such as: central heating control, fire alarms, automatic watering systems for the garden, fully-automatic wine-production in my cellar and so on.
Now I want to add a convenient feature to my central heating control system: I want to check current and stored data (temperature/time/date matrix, etc) on request when I am not at home. And I want to be able to switch on and off my central heating unit from abroad. All by using a common mobile phone which communicates with an embedded modem chipset which is connected to the controlling µP of the central heating control system.
Can anybody help me with easy to use code (basic, plain C or ASM since I am short with memory) how to send SMS via a serial modem?
Thanks in advance!
Alfred
ALPL-AUSTRIA
|
|
|
|
|
Hello,
I'm currently working on a school project concerning of a Pocket PC Application, in which I've got to work around with databases and SQL codes. So far, I'm currently testing how to insert data submitted by the user into the database.
So I've got 2 forms. In the first form, I've created the Database using an engine, I've also created a table with the specific SQL command, and I've also made a method which runs every time the form loads;the method just fills a datagrid with the information from the data table.
The second form contains textboxes in which the user inputs the necessary information. At the end, there's an insert SQL statement which inserts the specified data in the data table. Then, it closes the second form, going back to the first one.
Now, my application works fine until I insert the data in the second form, then come back to the first one. I get the following exception message:
"A managed SqlCeException occurred at Application::Run+01xa
Application::Run+01xa
Form1::Main+0xa
OK to terminate"
Could anyone hint out what the problem might be,or some possible causes of this exception? Any help would be appreciated.
Yours truly,
Iliuta Andrei
|
|
|
|
|
have u used transaction in ur query? if yes,try to close the transaction object before redirecting to another form.
|
|
|
|
|
Where is the J2ME section ??
|
|
|
|
|
Hi!
I have probably a simple problem, but I couldn't solve it yet. I made a project with embedded Visual C++, but when I try to compile it I always get the following error message:
Error spawning clarm.exe
What does this message mean and how can I solve the problem.
Regards
Adel
|
|
|
|
|
Hi,
How can i draw transparent polygon in java?
Thanks in advance,
Avi
|
|
|
|
|
I was trying to retrieve the body of a message using the code below but
It is always returning
MAPI-E-NOT-FOUND:
hr = m_pfldrInbox->OpenEntry(
m_pInbox[msgID].lpProps[0].Value.bin.cb,
(ENTRYID*)m_pInbox[msgID].lpProps[0].Value.bin.lpb,
NULL,
MAPI_MODIFY | MAPI_DEFERRED_ERRORS,
&ulObjType,
(LPUNKNOWN*)&lpMessage);
//MessageBox(0, L"Message Opened", L"", 0);
if (SUCCEEDED(hr))
{
SPropValue * rgMsgprops = NULL;
ULONG rgMsgTags[] = {1, PR_BODY};
ULONG cCount = 0;
// IStream* istream;
ULONG ulNumChars;
// hr = lpMessage->GetProps((LPSPropTagArray) rgMsgTags, MAPI_UNICODE,
&cCount, &rgMsgprops);
hr = HrGetOneProp(lpMessage,PR_SUBJECT,&rgMsgprops);
if (hr == MAPI_E_NOT_ENOUGH_MEMORY)
{
MessageBox(0, L"Not enough memory", L"", 0);
hr = lpMessage->OpenProperty(
PR_BODY,
&IID_IStream,
STGM_READ,
NULL,
(LPUNKNOWN *) &lpStream);
do
{
lpStream->Read(
sBuffer,
255,
&ulNumChars);
// if (ulNumChars >0) printf("%.*s",ulNumChars,szBuf);
}
while (ulNumChars >= 255);
// printf("\n");
hr = S_OK;
}
else if (hr == MAPI_E_NOT_FOUND)
{
//This is not an error. Many messages do not have
bodies.
//printf("Message has no body!\n");
MessageBox(0, L"Message has no body", L"", 0);
hr = S_OK;
}
else
{
//MessageBox(0, "%d", rgMsgprops[0].Value.lpszA, 0);
int x = 0;
do
{
sBuffer[x] = rgMsgprops[0].Value.lpszW[x];
x++;
//MessageBox(0, (LPCWSTR)sBuffer, L"", 0);
//bufferlen = strlen(rgMsgprops[0].Value.lpszW);
}while (((int)rgMsgprops[0].Value.lpszW[x-1] != NULL) && (x <
255));
}
}
If you can tell what is the problem please help.
|
|
|
|
|
I am using embeded vc3.0 to develop Pocket PC program, the problem is that I can not connect to server and I can only copy my release appliction into disk space of Pocket PC ,and I can not download my executive into Pocket PC in debug mode.Please tell me how to fix this problem and may be i need to do some configration?
Thank you very much!
|
|
|
|
|
Hi,
Could any of you kind folks recommend a good guide to working with the RAS Book in the .Net CompactFramework using C#?
Things I'm particularly interested in knowing are:
1) How passwords are stored in the registry, and if any encryption is used.
2) How to save the "Extra Connection settings" / dialing string info.
Many thanks,
Martin.
|
|
|
|
|
hello,
i now developing a system surveillance system using vb.net 2005. when motion is detected video is recorded. how user can view the video using the pocket pc emulator?
thanks...
|
|
|
|
|
Hi all,
Currently I am developping a C# web service in which it acts as a proxy server for internet access & navigation.
It is supposed that the web service should receives requests from mobile devices clients such as cell phone or pocket PC then it should send back the WML pages for the clients. By the way, the clients application will be J2ME application. Anyone can help me by ideas or resources for that ?
Thanks you very much in advance.
Jollymsh
|
|
|
|
|
Hi all,
From the Setting->About. We can see "OS version", "RIL version", "Radio version"..etc. Is any body know how to get these information? I think these info. can be retrieved by some API, but i can't find it.
Thanks!
|
|
|
|
|
hi,
there are Api's to get the System Information, Battery Information of the Pocket PC using GetSystemParameterInfo(...) Api's.
thanks,
uday.
uday kiran
|
|
|
|
|
Hey if anyone knows how run a background thread that will check to see if a PDA has synced with a computer using Active Sync please let me know...Thank you very much in advance
Pablo
|
|
|
|
|
Hi all,
I need to insert a Picture into the MessageBox instead of the usual given icons. Plus, when the MessageBox shows, a wav file has to be played.
Any idea how to achieve this?
I hope I could get your assistance.
I am coding in VB and am using Visual Studio.NET 2005 for a Pocket PC project.
Thanks alot!!
Regards: sam =)
|
|
|
|
|
Hey all,
Does anybody know a quick and easy way to use iostreams in
emC++???? I've already got a serialio class to handle all
communications, but it uses iostreams. I found STLPort but
can't seem to get it installed.
Greg
|
|
|
|
|
Hi,
Please help me, I am facing problem.
How to read the audio stream arrived to my wince application from over the network or from Ethernet(PC)?
How I will come to know that the audio stream is arrived to my wince application?
What r APIs to read the audio buffer?
Thanks in advance.
Rgds,
|
|
|
|
|
Hi,
I am looking for an open source helpdesk system to use in my work place. It is a small organisation with about 150 - 200 users. I want the system to have a client for the pocket pc so that technicians can log and updated calls when they are out of the office, and have them synced with the helpdesk when then return to the office. Does anyone know if such system exists and if so, could you send me a link to it.
Thanks
Michael
Michael Carty
|
|
|
|
|
On the free end of the spectrum, have you looked at Microsoft's Smart Client sample app TaskVision?
http://msdn.microsoft.com/smartclient/codesamples/taskvision/default.aspx
It's very basic, but you have the source code if it doesn't do enough.
|
|
|
|
|
How can I discover the UUID of a Windows CE5.0 device from C++ ?
If I select Start/Settings/System/System Information the device displays some info including the Model, processor type etc etc . At the end of this list is a UUID which I guess is unique to the machine. My question is how can I discover this UUID programmatically from C++ ?
|
|
|
|
|
i am developing video streaming application for smartphone(mpx220) using EVC++.during start of application i print certain text in textbox of a dialog during this if i press the volume button then the text from text box get printed on title bar and remains as it is.when textbox is cleared i have to again press volume button to update title bar.this happens only for first time,later such behaviour is not seen.i have used setwindowtext to update the title bar,but this doesnt work at the start.does anyone know alternate method to update title bar?
Prem Gadavi
Pocket PC/Smartphone Developer.
|
|
|
|
|
Hi,
There are applications like SOTI which displays mobile device screen in your computer and be able control the device itself.
i will really appreciate if someone can let me know how to program such application.
i need to know how to capture screen and to do basic control stuff..
with best regards,
rnv
|
|
|
|
|
Hi all,
I just want to import a native C++ dll to my .net compact framework based project.
I created a MFC statically linked project.
The following code was put in the
"testDLL.h" file.
extern "C"
{
__declspec(dllexport) bool TestFromDLL(int x)
{
if(x ==1)
return true;
}
and i imported the built .dll to my C#->Smart Device -> Device Application 1.0 like:
[DllImport("testDLL.dll",EntryPoint = "TestFromDLL")]
private static extern void TestFromDLL();
however, the MissMethodException also pop up
Anyway I already added the reference path.
Is there any problem with the decorated name, or what type of MFC dll should I chose? Shared MFC dll? Extension dll?Or there are other problems?
Thanks a bunch for your help.
Using VS2005
Arden
|
|
|
|
|
Hi all,
I have a slight problem and hope i could get your assistance. When i deploy my program from visual studio 2005 to the Pocket PC, it gives me the TypeLoad Exception on the Pocket PC.
TypeLoad Exception at Device Application1.Form1.Initialize component()
at
system.Reflection.Runtime Constructor Info. InternalInvoke()
Above are some of the errors. Any idea what is wrong?
I would really appreciate your help.
Thanks so much!
-- sam --
|
|
|
|
|
Hi,
I have no idea about certificates but a problem:
I have three things:
- a file *.pem ---> !-----BEGIN PUBLIC KEY-----
-----END PUBLIC KEY-----<br />
- a signed base64 string<br />
- an unsigned base64 string<br />
<br />
the signed base64 string must be verify and compare with the unsigned string.<br />
<br />
but how???
|
|
|
|