Questions about Standard C lib functions
hi,
i'm new to this environment, porting an app from xp to wince. one of the in
house libraries that i'm porting has a call to the c lib function mkdir(). i
can't find any trace or hint of this in the wince or embedded libraries.
does wince use a different call to make a new folder? does it not allow you
to make folders from an app?
also, with no errno.h, what do you do with errno? the same lib
specifically checks for EEXIST, a standard error that errno can be set to if
a file or directory doesn't exist. how does wince use, or does it use, errno?
thanks
mickm Tag: Detect or soft reset Tag: 108527
Speech API on Pocket PC
I'm relatively new to .NET CF and I want to know is there is any way to
integrate Speech API on pocket PC in order to create voice commands for
one application.
Any sugestions or links are welcomed!
Thanks!
Andrei Tag: Detect or soft reset Tag: 108526
Need to programatically turn on/off WiFi radio to conserve power
I need to be able to programmatically turn on and off the WiFi radio on
PPC2003 PDAs in order to conserve power. Is this possible and can anyone
point me to the appropriate APIs? My app is written in C++ so C++ based
solutions will be better than VB if possible.
Many thanks!
Dennis Gallagher Tag: Detect or soft reset Tag: 108524
Suggestions for debugging gwes.exe errors
I'm trying to debug a GWES problem and would appreciate any tips you
might have about debugging GWES related problems.
When running my app, it occasionally causes an error in gwes.exe. If I
turn off error reporting on the device, the problem seemingly goes away
(no crashes or visible problems in my app). I had read in another post
that by turning off error reporting in the System->Settings, it should
show where the error is in my app.
Since the error is intermittent and this app is quite complex
(including hooks into various UI components, like the password.cpl and
intercepts some keys to cause it to load instead of a built-in app),
I'm hoping to find some way of determining the cause of the error more
directly than iteratively removing functionality. So any suggestions
would be greatly appreciated.
Ed Tag: Detect or soft reset Tag: 108521
Problem to detect bluetooth disconnection with socket
Hello everybody,
I work with PSION TEKLOGIX terminal Workabout PRO. The OS is Windows CE .NET
4.2
My little program do some tasks :
Search bluetooth devices
Connect to SPP profil
Send and recv some data
closesocket
Everything works fine.
My problem :
If the bluetooth connection is lost during data transfert, i don't
receive SOCKET_ERROR
Do somebody know this problem ?
Thank you very much for your help
Bye
Jérôme. Tag: Detect or soft reset Tag: 108518
Show a calculated field in a DataGrid
I am attempting to display a calculated field in DataGrid and I must be doing
something wrong. Here is what I've got:
DataTable table = Visit_List;
//add column for a calculated weight gain field
DataColumn calcWeight = new DataColumn("Weight_Gained",
System.Type.GetType("System.Int32"));
calcWeight.Expression = "Current_Weight - Prev_Weight"
table.Columns.Add(calcWeight);
DataView dataViewGridHistory = new DataView(table);
dataGridHistory.DataSource = dataViewGridHistory;
//Table Style
DataGridTableStyle tableStyle = new DataGridTableStyle ();
tableStyle.MappingName = "Visit_List";
DataGridTestBoxColumn columnStyle;
columnStyle = new DataGridTextBoxColumn();
columnStyle.HeaderText = "Weight Gain";
columnStyle.MappingName = "Weight_Gained";
columnStyle.NullText = string.Empty;
columnStyle.Width = 30;
tableStyle.GridColumnStyles.Add(columnStyle);
//Apply table stlye
dataGridHistory.TableStyles.Add(tableStyle);
I believe the cause is that the tableStyle.MappingName is using the table
that does not have the extra calculated column in it, but I don't know how to
fix this.
Any suggestions would be appreciated. Thanks Tag: Detect or soft reset Tag: 108517
Protect from user configurations
hi,
is there any way to protect iPaq configuration from users ?
I want to Password protect the iPaq configuration from user. That's because
sometimes users changes, even remove applications from iPaq and I have to
re-install applications o modify iPaq configurations.
any ideas?
thanks
Enrique Vizcarra Tag: Detect or soft reset Tag: 108514
Hide New Menu button
Dear List,
I need to remove the 'New' menu button which sometimes appears at the bottom
left of the screen. Any ideas on how to achieve this? I have tried to by
deleting the following key from the registry -
HKLM\Software\Microsoft\Shell\Extension\NewMenu
But this only removes all items from the list and leaves the New button
remaining. Any ideas on how to get rid of the New button?
Thanks for any help,
David Tag: Detect or soft reset Tag: 108505
Windows mobile 5.0 printer driver problem.
Hi,
I have a troubles with development of printer driver for windows mobile 5.0
devices. It seems that callback function "DrvCopyBits" is not execute
correctly from device menager. Execution of it never stops (until return 0),
and bitmap data bytes that comes in "psoSrc" are all 0xFF (awlays white
pixels).
Is there any specials for setting bitmap type or something other specifig
for printer drivers in WM50 devices? I develop such a driver also for
PocketPC 2002, Pocket PC 2003 and Windows CE.NET 4.20 devices and have no
problems with them. There everything works as expected. Sample for building
driver is taken from platform builder.
Is there any plans for embedding print abilities in applications such as
Pocket Word, Pocket Excel and Pocket IE as like they presents in Windows
CE.NET 4.20 powered devices?
Best Regards,
Miroslav Slavchev Tag: Detect or soft reset Tag: 108504
Problem In System.Net.HttpWebRequest
Hi all,
I have faced System.Net.HttpWebRequest problem in my developement.
My situation is like here:
I am using threading to retrieve data from server every 3 seconds. When I
failed to retrieve once from server, then the following retrieval also will
not successful anymore. Do anyone know how to solve the this kind of porblem?
My coding is like this:
Dim url as string = "http://lms.n2n.com" 'Example
Dim Req As System.Net.HttpWebRequest
Dim Resp As System.net.HttpWebResponse
Dim Uri As New Uri(url)
Req = System.Net.HttpWebRequest.CreateDefault(Uri)
Req.KeepAlive = False
Resp = Req.GetResponse
...
Everytime it will stuck in Req.GetResponse, then throw the error. Any one
have a good suggestion to solve it ?
Thanks a lot... Tag: Detect or soft reset Tag: 108490
questions on WinCE 5.0
Hi ppl,
I have the following questions on WinCE 5.0
1) Does ARM9 BSP come along with Windows CE Platform Builder installation?
2) Can I use the ARM9 BSP to bring up WinCE on ARM9 Evaluation board from ARM?
3) Can I develop WinCE and its applications on a board without Ethernet
support?
Thanks and appriaciate your help.
Jai. Tag: Detect or soft reset Tag: 108489
VoIP application
Hi ppl,
I've been tasked to develop a VoIP application for the PDA phone running
windows mobile 5.0. As i am super new to this whole concept of mobile devices
and VoIP, i was hoping some kind soul could help me get started?? I am using
Visual Studios 2005 for development. Thanks Tag: Detect or soft reset Tag: 108488
how to know?
is there a way to know if CPropertyPage dialog's state has changed since
OnInitDialog and OnOK functions (ie. state betwwen showing the dialog and
closing it)? e.g. CPropertyPage has been displayed with IDC_CHECK checked,
user unchecks that IDC_CHECK and tap OK. how can I know automatically has
the state on that page been changed because I have a lot of pages and lot of
CHECK's on them. thanks for replying. Tag: Detect or soft reset Tag: 108487
SHFindMenuBar vs SHCreateMenuBar and CommandBar_AddBitmap vs TB_ADDSTRING
I just find this out that buzz me a bit. I am use WM 5, CDialog as main
window
If I use SHFindMenuBar w/o call SHCreateMenuBar, then I still get a
non-NULL HWND, then I can use it to add string w/ TB_ADDSTRING and call
TB_ADDBUTTONS successfully, and I got my new menu on the Command Bar.
However, I cannot add bitmap using command Bar_AddBitmap. It always
return -1.
But if I first call SHCreateMenuBar, then I can add string and bitmap
ok; however, the menu has old interface that menus are on the left, and
the SIP is on the right vs w/ situation above that SIP stay in the
middle and 2 menus are on 2 side.
Does anyone has any explaintation to this? Tag: Detect or soft reset Tag: 108486
I need your help:How can I do the mouse event "drop and drag"
please, how can i do the job of "drop and drag" in NET CF just in the NET
Framework.
I want to know wherther there is a counterpart in the NET CF or I have to
implement a new event by myself Tag: Detect or soft reset Tag: 108483
reading SMS inbox C#
Hi all;
I want to read messages from the SMS inbox on wm 5.0 and 2003. Itou Can
this be done?
Also how can I intercept an incoming SMS parse it for special words if I
find them I do some processing on it and give it to the inbox, if not I
just leave it to the SMS ( pocket outlook) application
Thanks a lot for your help really appreciate it
Mustafa Rabie Tag: Detect or soft reset Tag: 108482
If then newbie
have the following:
i = i +1;
string temp2 = s;
If (i=1)
{
(textBox6.Text = temp2);
}
I get complier error saying ; is missing after If (i=1)
What is the correct syntax c# 2005 pocket PC SDK Tag: Detect or soft reset Tag: 108477
seeking beta testers (power users)
Hi all:
I downloaded this new Personal Audio Link app.
They issued a press release looking for beta testers,
with a compensation offer of 6 months free Vonage
service for qualified testers.
I'm posting this because they are seeking more beta
testers, particularly seeking "power-users" who
understand the technology.
http://www.adondo.net/product.aspx
It uses a SIP client for speech interaction. One can
send and receive e-mail by voice, get instant local
traffic reports, instant local weather, listen to podcasts,
blogs, RSS feeds when navigating by voice.
I'm a speech recognition user, and am using it now,
dictating e-mails with 98% accuracy, even with significant
background noise, or wind noise.. using a cell phone.
HTHE Tag: Detect or soft reset Tag: 108472
Please help a newbie
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C64608.3EB48B20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I am trying developing my first application for PocketPC using eVC 4, =
and I am experiencing a problem with testing and debugging. First of =
all, the application works fine on Emulator, and there are some problems =
with a way it works on a real device, I am trying to debug it there and =
I can't ... I can't even change which platform to use during debugging, =
it gives me only one option "Emulator" but I need my real device...
Could someone explain me what should I do for this :) ?
------=_NextPart_000_000A_01C64608.3EB48B20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3790.2577" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am trying developing my first =
application for=20
PocketPC using eVC 4, and I am experiencing a problem with testing and=20
debugging. First of all, the application works fine on Emulator, and =
there are=20
some problems with a way it works on a real device, I am trying to debug =
it=20
there and I can't ... I can't even change which platform to use during=20
debugging, it gives me only one option "Emulator" but I need my real=20
device...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Could someone explain me what should I =
do for this=20
:) ?</FONT></DIV></BODY></HTML>
------=_NextPart_000_000A_01C64608.3EB48B20-- Tag: Detect or soft reset Tag: 108467
How can I use Console
I want to debug my CE application.
For Win32 application,
console.writeline("hello")
it will show hello on the output console in VB2005
But, for smart device WM2003SE
I type the samething, but nothing happens? Tag: Detect or soft reset Tag: 108463
Exchange Server Configuration
I have a client that wants to deploy his exchange server configurations to
windows mobile 5.0 devices. Are there any resources on how this can be done
or steps?
your help is really appreciated
Mustafa Rabie Tag: Detect or soft reset Tag: 108460
Speex Compression Library
Hi
I've looked into the Speex Encoder/Decoder. I've folowed de
instructions from the SDK , and created my functions for encoding and
decoding.In VS2005 in VC++ Win32 SmartDevice application i have acces
to all the functions after including the speex.h but when i try to
build/run my application there are linker problems.I've added de Lib
directory that contains the libspeex.lib in
(Project\Properties\Linker\General\Additional Directories) and then
added the libspeex.lib in (Project\Properties\Linker\Input\Additioanl
Dependencies).i've found 2 differen libspeex.lib files on the site ,
the one i'm trying to use has the size 136.720.
The error loocks like this:
Sound.obj : error LNK2019: unresolved external symbol speex_decoder_ctl
referenced in function "int __cdecl my_decoder(void)"
(?my_decoder@@YAHXZ)
Sound.obj : error LNK2019: unresolved external symbol
speex_decoder_init referenced in function "int __cdecl
my_decoder(void)" (?my_decoder@@YAHXZ)
I have other libraries included in my projects that work just fine.
Did any of you included this Lib (libspeex.lib) in your project?
If you can help me with this problem i would apreciate it.Thanks.Bye Tag: Detect or soft reset Tag: 108459
Help with UserDrawn Button
Hi all,
I finally am able to draw a bitmap to a UserDrawn Button using BitBlt,
but I have a couple of issues that maybe somebody can help me out
with. I'm not able to figure out how to determine whether the button
has focus or not correctly. Also, the button doesn't repaint when
various other windows which had been covering it close. I'll paste my
what I believe is the relevent portion of my code below. This is a
TodayScreenPlugin project for Windows Mobile 5.0 PPC. Of note,
HBITMAP g_hBitmap;
HBITMAP g_hBitmap2;
LRESULT CALLBACK WndProc (HWND hwnd, UINT uimessage, WPARAM wParam,
LPARAM lParam)
{
case WM_CREATE:
g_hBitmap = LoadBitmap(g_hInst, MAKEINTRESOURCE(IDB_BITMAP1));
g_hBitmap2 = LoadBitmap(g_hInst, MAKEINTRESOURCE(IDB_BITMAP2));
break;
case WM_DRAWITEM:
if ( wParam == GetDlgCtrlID(g_hSearchButton) )
{
LPDRAWITEMSTRUCT lpdis;
PAINTSTRUCT ps;
HBITMAP hbmOld;
HDC hDC;
hDC = BeginPaint(g_hSearchButton, &ps);
lpdis = (LPDRAWITEMSTRUCT) lParam;
BITMAP bm;
HDC hdcMem = CreateCompatibleDC(hDC);
// HERE, TEST IF THE BUTTON IS SELECTED OR NOT
if ( lpdis->itemState & ODS_SELECTED)
{
hbmOld = (HBITMAP) SelectObject(hdcMem, g_hBitmap2);
GetObject(g_hBitmap2, sizeof(bm), &bm);
}
else
{
hbmOld = (HBITMAP) SelectObject(hdcMem, g_hBitmap);
GetObject(g_hBitmap, sizeof(bm), &bm);
}
BitBlt(hDC, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY);
SelectObject(hdcMem, hbmOld);
DeleteDC(hDC);
EndPaint(hwnd, &ps);
return 0;
}
break;
}
Thanks a million,
OM Tag: Detect or soft reset Tag: 108453
How to Display a balloon (Bubble) at the top in WM50 ?
Hi I am trying to Display a Bubble (Ballloon) in WM 5.0 that has the
Style of PPC 2003 by that I mean that the Bubble (Balloon) pops up
from the top and has no soft key Menu.
does anyone manage to make it - a balloon from the top in WM50 - ??? Tag: Detect or soft reset Tag: 108451
i need help to configure the passthrough (to access internet from the WM5 emulator)
i need help to configure the WM5 emulator for passthrough (i.e. to access
internet from the emulator).
what needs to be done? - since apparently it is not working by default.
also, i need internet access while debugging, which means that the emulator
device cannot be craddled (since deploying and debugging on the WM5
Smartphone emulator does not work when the emulator is craddled - not sure
why).
could anyone give me some pointer? thanks! Tag: Detect or soft reset Tag: 108449
suggestions for improved MessageBox on Photon
a suggestion for the MSFT Mobile shell team:
it would be nice to provide an improved/extended version of MessageBox -
let's call it MessageBoxEx - with at least the following feature:
- two additionnal optional parameter to customise the soft-keys strings
if those parameters are NULL, the default strings are used (i.e. same as the
current MessageBox).
if one or both of those parameters are not NULL, they are pointer to strings
used for the left and right soft-keys, and overwrite the default.
optionally it could be nice to specify command-id's to overwrite the
defaults, but that's not necessary, since MessageBox is a modal dialog.
this extension would allow using the same internal features as MessageBox
(i.e. Alerts sound & icons, etc), while changing the soft-key text to
something custom, more appropriate than the default limited set of choices
such as Ok/Cancel , Yes/No etc.
Choices such as Now/Later, "Cancel/I Agree" (e.g. for a licencing
agreement), etc would be possible.
what do you think?
also, naturally, MessageBox needs to be fixed on Pocket PC, since it is
seriously broken especially when Pocket PC's are used in Landscape
orientation. in case you missed it, here is a recap of the problems:
On Pocket PC WM5, soft-keys cannot be used to answer the question from a
MessageBox (or to close it).
On Pocket PC WM5 and 2003 Second Edition, when in Landscape orientation,
MessageBox does not use the full width of the display, so you messages
usually get truncated, and in some cases the buttons get truncated or
totally hidden. The only workaround is to reduce the size of your messages,
which may be a problem with localized applications. MsgBox can use the full
width of the display in Landscape orientation, so you can see longer
messages. This is especially useful in applications localized in other
languages.
On Pocket PC, MessageBox just truncates the text if it is too long to be
entirely displayed (not the case on Smartphone). Sometimes, MessageBox even
displays the buttons outside of the screen, making the dialog completely
un-usable. MsgBox makes text scrollable if text is too long to be entirely
displayed (like on Smartphone). This is very useful, especially on the new
square-screen Pocket PC WM5 and 2003 Second Edition devices. A vertical
scroll-bar or the UP/DOWN D-pad buttons can be used to scroll the text when
it is scrollable.
On Pocket PC WM5 and 2003 Second Edition, MessageBox does not handle the SIP
correctly. For example, if the SIP is up, MessageBox sometimes display a
dialog with the OK/Cancel buttons hidden under the SIP. This can be very
confusing to average users, and it also violates MSFT's own guidelines for
Logo-certified applications. MsgBox handles the SIP correctly, and it
automatically lowers the SIP when it activates. Tag: Detect or soft reset Tag: 108446
Help: class unresolved symbol building WM5 dll?
I'm trying to use a class from within a dll using c++ VS2005 for WM5:
I declare the class defined in it's own .h and implemented in another cpp
file in the 'main' file as:
static CMyClass* myClass;
then in the DllMains DLL_PROCESS_ATTACH of the same cpp file:
myToday = new CMyClass();
I get a link error: Test.obj : error LNK2019: unresolved external symbol
"public: __cdecl CMyClass::CMyClass()"
(??0CMyClass@@QAA@PAUHINSTANCE__@@PB_W1@Z) referenced in function DllMain
This is driving me mad.... can anyone tell me how to do this?
Thanks
Mark Tag: Detect or soft reset Tag: 108444
installshield?
is it worth trying to make end-user installation with installshield? what's
your experiences with this program and its benefits over other solutions? my
project is small utility targeting wm2003 and wm5.0 devices. thanks for
replying. Tag: Detect or soft reset Tag: 108441
DateTimePicket control question
On one form I have on datetimepicker control. The selected data is
stored into an XML file as "Monday, July 19, 1982" for example - this
is the exact format I use for storing the data.
When I try loading the data from the XML file in my form I cand set the
date for the control as it is in the file.
I have used the following code:
dtpDate.CustomFormat = "dddd,MMMM d,yyyy";
dtpDate.Format = DateTimePickerFormat.Custom;
dtpDate.Text = date_string;
I tryed both Update() and Refresh() for the control .... but it doesn't
work :-(
Where is my mistake? How can I set the date to the control?
Thank you!
Andrei Tag: Detect or soft reset Tag: 108434
Capitalise text & large keyboard
Visual studio 2005 c#.
How do I ensure that text entered into a text box is capitalised.
Any code to display a key (just letters & numbers) on half of the screen to
enable easier text entry
Cheers
SteveW Tag: Detect or soft reset Tag: 108433
Having Replication Issues
I have instantiated a publication on SQL 2005 on my local machine, in IIS5.1
again running on my local machine.
I set up a subscription to that publication pointing at a separate database
on my machine.
When I subscribe and run the subscription all went well.
I added the replication subscription to SQL Mobile 2005 which set up the
base database and tables.
I can view and alter the tables on the device as well as on the emulator.
When I set up yhe synchronization code to run via button click I get :
I receive an error -- "A request to send data to the computer running IIS
has failed. For more information, see HRESULT.
I added a second message box to pull HRESULT and native errors which re ran
gives me this:
HRESULT is -2127012894 NATIVEERROR is 28037 with a source of Mobile SQL
Server 2005
I have ran the subscriptions locally without error -- the error comes from a
pocket pc mobile 5.0 device cradled.
I checked TECHNET for the error code and it returns to a basic timeout
problem in IE6 -- which may/may not help -- so here I am
Any ideas?
--
Your imagination is the limit -- Tag: Detect or soft reset Tag: 108430
Activating a internet connection
Any code sample to do the following in c# VS2005
Pocket PC 2003 & 2005
On reciept of text message with subject 'open';
Check to see if there is an 'internet connection';
Then connect ie activate the GPRS connection;
Process code;
Then close the connection.;
Any help appreciated. Tag: Detect or soft reset Tag: 108429
How can I develop in C with VS2005 for Pocket PC??
I have the new VS2005 since yesterday. I had written before my code in
C language. I want to make an app for Pocket PC with Windows Mobile 5.0
( if I could make it also for WM2003 it would be great!).
I choose a project in Visual C++ / Smart Device / Win32 application. I
add my previous file (write in C in Visual C+ 6.0) when I build them it
appears an error telling that I should wite "#include "stdafx.h"", I
add that file in my project and when I build them it appeats a new
error message that says:"Can not include stdafx.h".
- What am I doing wrong?
- Should I learn C++ or with C it's enough? My app is to control the
video streams of the video camera on the pocket pc
Than you Tag: Detect or soft reset Tag: 108426
CPlApplet and MFC : is it possible ?
Hi,
I am trying really hard to have a CPlApplet working with MFC but I
didn't manage. Is it possible?
If so could you send me a sample code.
Thanks Tag: Detect or soft reset Tag: 108423
new WM5 Smartphones with touch screen?
I just noticed that the new WM5 Smartphone emulator sends WM_LBUTTONDOWN
messages with (x, y) pointer coordinates when clicking on the display of the
Smartphone emulator.
Does this mean that soon, some new WM5 Smartphone devices will have touch
screens?
I was always under the impression that the major difference between Pocket
PC and Smartphone was that only Pocket PC had a touch screen - hence a
different UI on the Smartphone, that is designed use without a pointing
device.
Is MSFT changing that and paving the way for the upcoming release of some
WM5 Smartphones with a touch screen? Tag: Detect or soft reset Tag: 108422
UpDate Data in a Grid
I insert a record in a dataset...and i want to see the grid with this
record....
the code i write is:
COMMANDTEXT: "INSERTO INTOANAGRAFICA (CODICE)VALUE(?)"
PARAMETERS.ADD(NEW SQLCEPARAMETER("CODICE", SQLDBtYPE.INT))
PARAMETERS("cODICE").VALUE= VARIABLE
EXECUTENONQUERY()
adaptAnag.fill(datasetAnag,"Anagrafica")
gridAnag.datasource=datasetAnag.Tables("Anagrafica").defaultView
//In this way i will duplicate the record because the grid had already some
records....so maybe I have to delete the previus records in the dataset and
after doing "Fill"?
There isn' t a method more fast that i can use, to add just the last record
I insert?
thanks Tag: Detect or soft reset Tag: 108421
on WM5, ShellExecuteEx outputs garbled text on the debug output - known problem?
i noticed that each time i call ShellExecuteEx, this routine outputs some
garbled text on the debug output.
the garbled text looks mostly like small squares (i.e. undefined glyphes),
and there is bout 80 characters.
for example, this happens when executing the following snipplet. in my test
case, the file \\test_file.html, therefore PIE displays an error "Alert -
page cannot be found", which is normal. what is not normal is the garbled
output.
and yes, i am 100% certain that it is ShellExecuteEx (or something that it
calls) that causes this garbled output, since i have put breakpoints at the
entrance of all my window procedures just before calling ShellExecuteEx, so
none of my code executes and could cause the garbled output.
here is the sniplet that i use:
{
BOOL yes;
SHELLEXECUTEINFO exec_info = {0};
exec_info.cbSize = sizeof exec_info;
exec_info.fMask = SEE_MASK_NOCLOSEPROCESS;
exec_info.hwnd = hWnd;
exec_info.lpVerb = TEXT("open");
exec_info.lpFile = TEXT(\\test_file.html);
yes = ShellExecuteEx(&exec_info);
}
the garbled text occurs with the WM5 Smartphone emulator image (and also
with Smartphone 2003 emulator image).
With the WM5 Pocket PC emulator image, the same code outputs the following
strange undocumented message (but no garbage):
OEMIoControl: Unsupported Code 0x1010058 - device 0x0101 func 22
So maybe the garbled text is somehow related to this "OEMIoControl"? Tag: Detect or soft reset Tag: 108420
Error connecting to SQL
I am doing a connection from PocketPC 2003 application to a SQL Server 2000
instance hosted at an ISP. I'm not sure if this is a PocketPC 2003 error or
if it's some other connectivity error, but the ONLY place this fails is in my
Pocket PC 2003 SE Emulator.
Here is my connection string:
con.ConnectionString = "Data
Source=sqla7.webcontrolcenter.com;Database=Mydb;UID=userName;PWD=password;";
This connection string works on:
VS2005 console application
PocketPC 2002 emulator
PocketPC 2003 device
The ONLY place it fails is while running in the Pocket PC 2003 SE Emulator,
and I am getting a SqlException with a message of "Specified SQL server
not found: sqla7.webcontrolcenter.com"... I can connect to a local SQL
instance through the same emulator, so I don't think there are any corrupted
files involved. I also tried turned off my Windows firewall and still no
luck...
Any ideas??? Or is there a ping or tracert utility for PPC2003 that I can
use to check where the name resolution is dying?
Thanks
Chris Tag: Detect or soft reset Tag: 108415
HELP!! VS2005 and Windows Mobile 5.0 SDK
Hi, I'm trying to develop an app in C with Windows Mobile 5.0 SDK and
VS2005. I have installed both but I can't see the way to start, there
are too many options in VS2005 and when I start the SDK it's a DOS
window(=BF=BF??).
I have already most of the code in C from Visual C 6.0 and I want to
use this code for some algorithms and to use my new software in order
to develop an app that with the existent algorithms reads the video
camera of the pocket pc and gives me some results.
- How can I start?
- How can I test with this 2 programs?
Thank you Tag: Detect or soft reset Tag: 108414
CPlApplet : Passwsword Control Panel
Hi,
I am trying to developp in MFC a CPlApplet in order to set a password
when power on.
The problem is, my project only works if I compile my password.cpl as a
static MFC but I want dynamic.
I tried everything, so please help. Tag: Detect or soft reset Tag: 108409
Open/Save Text File VB WinCe5.00
Sorry to ask such a simple question but can
anyone give me help on reading/writing text
files in Mobile 5.0? I have cut and pasted
the examples from MSN and have no
problem with Visual Basic 2005 Express
programs reading files.
Thank You,
Joey Tag: Detect or soft reset Tag: 108407
Getting WM5.0/ActiveSync 4.x ONF_RECORD, etc. notifications?
Hi,
Does anyone know how one would go about getting ONF_RECORD,
ONF_DATABASE, etc. notifications under Windows Mobile? If you use EDB
(as you have to) to create/mount a volume and create a database, you no
longer get those notifications. Without those notifications, how would
one go about making a WM5.0/ActiveSync 4.x synchronization provider for
an EDB database?
Any ideas appreciated.
Gary Tag: Detect or soft reset Tag: 108406
Please help me - the right version
Hello,
i just want to programm an interface which can help me to save some datas in
a .GPX file
how can i get a .GPX file by programming?
i want to save some routes or waypoints in this file
thanks a lot Tag: Detect or soft reset Tag: 108404
Please help me
Hello,
i just want to programm which can help me to save some datas in a .GPX file
how can i get a .GPX file by programming?
i want to some routes or waypoints in this file
thanks a lot Tag: Detect or soft reset Tag: 108403
Is there a registry monitor tool for Windows Mobile 5.0?
Anyone familiar with a tool to monitor all Windows CE registry read-writes,
(similar to the Sysinternals one for XP)?
Thanks,
vb. Tag: Detect or soft reset Tag: 108400
Invisible child window in window created belonging to different process
Is it possible to create a invisible child window from my application
with parent window of another application. I would like to get
notification on when that application has come to foreground or gone to
background, if I can create a child window I guess I will be getting
events right. Tag: Detect or soft reset Tag: 108390
eVC 4 Startup error
I just installed eVC++ 4 for use with a Pocket PC 2003 and I'm getting this
error:
"Microsoft eMbedded Visual C++ has discovered no CE platform SDK installed
on the desktop. Please install at least one CE platform SDK before launching
Microsoft eMbedded Visual C++."
I have installed the Pocket PC 2003 SDK in the same directory with the
Windows CE Tools.
I've been using eVC++ 3 just fine. I installed eVC 4 in a different folder
so I could run either 3 or 4.
How can I fix this problem? Tag: Detect or soft reset Tag: 108386
eVC 4 Build Error with Windows Mobile 5.x
I'm trying to build an application for a new iPaq rx1955 running Windows
Mobile 5.x. When I complete the build and the application is about to be
transferred to the device, I get the error "The ARM SA1100 CPU does not
support configuration xxxxxx. Executable will not run on device.". Any
help?
I tried and the application does run, but I'm having serial transfer
problems that I wasn't having with a PPC 2003 device and I'm not sure if
it's related.
Thanks
-Brian Tag: Detect or soft reset Tag: 108383
Windows Mobile 5.0 registry
Does anyone know of a utility to merge reg files on a Windows mobile 5.0
device?
Sort of like a regmerge the Windows family uses when you pass in a file.
looking to see if there is a utility for Mobile 5.0. Tag: Detect or soft reset Tag: 108381
Hi,
How can I detect a soft reset on Windows Mobile 2003/2005?