Emulator
Is they a emulator available that will run an app I created for pocket pc
2002 outside of Vs.net? I'm interested in creating a demo of my app.
Thanks Tag: changing color of icon Tag: 80921
Start Button
Is it possible to disable Start button on Pocket PC Taskbar ? When I make it
invisible with SHFullScreen(m_hWnd, SHFS_HIDESTARTICON), if another program
is activated then the button is redrawn. I would like to make it inacessible
"forever".
Thank's. Tag: changing color of icon Tag: 80919
monitor file activities - file open - file close
Hi,
Is there a possibility to get system informations (messages) when
a file is opend / executed / closed ?
I found an example with SHChangeNotifyRegister(...) but this works only
if you are creating a new file or if you are copying a file not if
you are executing or opening a file? Is there a way to do that?
http://www.pcquest.com/content/coding/102070301.asp
Thank you
Best regards
Wimpi Tag: changing color of icon Tag: 80916
html and PIE
I have some html code that works in IE on the desktop and not on the
handheld. I'm trying to change the displayed text of a link dynamically.
Here's the code:
<html>
<body>
<a id="a1" href="javascript:void(0);" onClick="newTitle(sec1,a1)">test
link</a>
<div id="sec1"><br></div>
sometext
<script language="JScript">
function newTitle(layer1,link1)
{
if(layer1.innerHTML!="")
{layer1.innerHTML="",link1.innerText="1"}
else
{layer1.innerHTML="displaytext"};
}
</script>
</body>
</html>
Was wondering if this is supported in PIE or whether there was another way
to do it. One that did not include putting a div section around the <a href>
to change it. Thnx.
Yusuf Tag: changing color of icon Tag: 80906
Horizontal Scroll bar to a Listbox
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C4645B.3DF2CB60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Using PPC 2003 -- Does anyone know how to add a Horizontal Scroll bar to =
a Listbox.
=20
I am displaying information inside of a listbox that is too long to read =
so I need a horizontal scroll bar. If this can not be done what other =
method would be useful for displaying this type of information.
=20
Thanks,
Page
------=_NextPart_000_001E_01C4645B.3DF2CB60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Using PPC 2003 -- </FONT><FONT =
face=3DArial=20
size=3D2><FONT face=3D"Times New Roman" size=3D3>Does anyone know how to =
add a=20
Horizontal Scroll bar to a Listbox.</FONT></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT =
face=3D"Times New Roman"=20
size=3D3> </FONT></o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>I am displaying information inside of a listbox that is too =
long to read=20
so I need a horizontal scroll bar. If this can not be done what other =
method=20
would be useful for displaying this type of information.</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT =
face=3D"Times New Roman"=20
size=3D3> </FONT></o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Thanks,</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Page</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3></FONT> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3></FONT> </P></FONT></DIV></BODY></HTML>
------=_NextPart_000_001E_01C4645B.3DF2CB60-- Tag: changing color of icon Tag: 80903
ANN: NetCF/VSD Online Chat tomorrow!
Hello!
Just a note that we'll be hosting an online chat tomorrow concerning Smart
Device Programming with Visual Studio .NET 2003. Members of the development
team will be on hand ready to answer your questions, so bring 'em on!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: Smart Device Programming with Visual Studio .NET 2003
Chat Date: July 8th
10:00 - 11:00 A.M. Pacific time
1:00 - 2:00 P.M. Eastern time
17:00 - 18:00 GMT
Description: Please join the members of the .NET Compact Framework and
Visual Studio product groups in this live chat regarding the .NET Compact
Framework and the Smart Device Programming features of VS.NET. The .NET
Compact Framework brings the world of managed code and XML Web services to
smart devices, and it enables the execution of secure, downloadable
applications on devices such as personal digital assistants (PDAs), mobile
phones, and set-top boxes. Please come prepared to ask the tough questions!
To join this chat, please log on via the main MSDN chat page at:
http://msdn.microsoft.com/chats
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--
--
Thanks!
Michael Fosmire
MVP Lead, Windows Embedded/.NET Compact Framework
This posting is provided AS IS with no warranties, and confers no rights. Tag: changing color of icon Tag: 80902
confusion creating events & delegates (reading hardware buttons, opennetcf)
i'm trying to include the hardware buttons control posted by
mastermind at
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=283&SearchTerms=hardware,buttons
in my vb.net project, but am having some trouble converting the
author's c# example to vb.net. particularly with creating the events.
here is what i have, and the errors i am getting
any help appreciated
captureHButtons = New CaptureHButtonsControl.CaptureHButtons
'//
'// captureHButtons
'//
'tried to convert this line to vb.net:
' this.captureHButtons.BindedButtonPressed += new
CaptureHButtonsControl.CaptureHButtons.KeyUpEventHandler(this.captureButtons_BindedButtonPressed);
'next line gives the following error:
' Public Event BindedButtonPressed(KeyCode As Integer)' is an event,
' and cannot be called directly.
' Use a 'RaiseEvent' statement to raise an event.
' and
' CaptureHButtonsControl.CaptureHButtons.CapturedButtonEventHandler'
is a delegate type.
' Delegate construction permits only a single AddressOf expression as
an argument list.
' Often an AddressOf expression can be used instead of a delegate
construction.
Me.captureHButtons.BindedButtonPressed += New
CaptureHButtonsControl.CaptureHButtons.CapturedButtonEventHandler(Me.captureButtons_BindedButtonPressed)
'tried to convert this line to vb.net:
' this.captureHButtons.RegisteredButtonPressed += new
CaptureHButtonsControl.CaptureHButtons.CapturedButtonEventHandler(this.captureButtons_RegisteredButtonPressed);
'next line gives the following error:
' Public Event BindedButtonPressed(KeyCode As Integer)' is an event,
' and cannot be called directly.
' Use a 'RaiseEvent' statement to raise an event.
' and
' CaptureHButtonsControl.CaptureHButtons.CapturedButtonEventHandler'
is a delegate type.
' Delegate construction permits only a single AddressOf expression as
an argument list.
' Often an AddressOf expression can be used instead of a delegate
construction.
Me.captureHButtons.RegisteredButtonPressed += New
CaptureHButtonsControl.CaptureHButtons.CapturedButtonEventHandler(Me.captureButtons_RegisteredButtonPressed) Tag: changing color of icon Tag: 80898
How to user WaitForSingleObject(). is this right?
hi,all
==========================================
SHELLEXECUTEINFO ShExecInfo;
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = _T("open");
ShExecInfo.lpFile = _T("\\good.doc");
ShExecInfo.lpParameters = _T("");
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
COleDateTime startTime = COleDateTime::GetCurrentTime();
DWORD dwRet = WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
COleDateTime endTime = COleDateTime::GetCurrentTime();
============================================
On handheld, I create a process to open the document. I want to know how long the document was opening.
I had thought after WaitForSingleObject(), it should stop going until we close the document. But in fact, it ofen goes to endTime directly, and the dwRet = 0. The document is opened successfully. Another case is it looks fine and is waiting. But after I close the document, I can not find our program any more. It is running. And the speed become slower and slower, and then died. I guess after I close the document, the Pocket Word is still running?
Thanks Tag: changing color of icon Tag: 80895
eVB and Windows Mobile 2005
Hi,
At the TechEd Europe, I learned that eVB will not be supported on the 2005
version of Windows Mobile.
Does anybody have some information about it ? Any solution idea ?
Thanks,
--
Olivier Dewit
Microsoft C# MVP
Le Guide de la programmation .net pour la mobilité
www.odewit.net Tag: changing color of icon Tag: 80893
Access Informix Database with wireless
Hello to everyone.
I´ve to develop an application that access an Informix database and shows
the results in pocket screen.
The access will be with wireless.
This is my first project with pockets, and i´m very lost with pocket pc, and
wireless.
First question i have is speed. Wireless access is fast or it would be
better to have local database and syncronize. ??
Some sample code to access Informix Database ??.
Where can i achieve good information about pocket development and wireless
??
Many thanks for your help. Greetings from Spain. Excuse my english:
Natalia Castillo Tag: changing color of icon Tag: 80886
CFileDialog file time shown incorrectly
Hi all,
I'm seeing the wrong time on the PocketPC and also when running in the
emulator. The time/date column of the CFileDialog shows all file
details with +7 hours added to their creation time. Also the type
column shows 'Unknown Type' even when there is a valid association
with the particular file type.
Other applications such as File Explorer and Excel on the device
display the time attribute correctly and show the associated icon as
well.
Changing time zones adjusts the amount of shift seen in the file time
stamp. For example, in Pacific Time (-8hrs), immediately after saving
a file, opening the CFileDialog shows a time stamp +7hrs from the
clock time. Then I change time zones to Atlantic Time (-4hrs) save a
file and open the CFileDialog which shows a time stamp +3hrs from
clock time.
So I'm not sure if the problem is in the CFileDialog, or if it's some
time related setting in my application. Any suggestions?
Cheers,
E. Tag: changing color of icon Tag: 80883
OpenNETCTF.org's ConnectionManager - Adding connection to ConnMgr
I am using OpenNETCTF.org's ConnectionManager.cs file for a reference.
The MSDN docs for Connection Manager aren't very great to say the least.
I am beginning to understand how everything works together but I still
have one unanswered question: How do you programmatically ADD a
connection to Connection Manager? Tag: changing color of icon Tag: 80881
[COM ?] ActiveSync provider & POOM issues
Hello,
I'm currently playing with the PocketPC SDK 2003 and ActiveSync, in
order to use POOM. I've tried a very basic piece of code but it doesn't
work.
...
HRESULT hr = S_OK;
IPOutlookApp *pOlApp = NULL;
if (FAILED(CoInitializeEx(NULL, 0)))
{
printf("CoInitializeEx() failed !\n");
return FALSE;
}
hr = CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER,
IID_IPOutlookApp, (LPVOID *)&pOlApp);
if (FAILED(hr))
{
printf("CoCreateInstance failed : hr = %x\n", hr);
return FALSE;
}
...
When run, the result is :
CoCreateInstance failed : hr = 80040154
Taken from winerror.h, it means REGDB_E_CLASSNOTREG, or "class not
registered". Where does this error come from ? Do I have to registered a
DLL ? Or something like this ?
My setup is :
- MS Toolkit 2003 (compiler)
- PocketPC SDK 2003 (and eVC++ 4)
- ActiveSync 3.7.1
Thanks,
Damiano Tag: changing color of icon Tag: 80874
Visual Basic 2005
I downloaded the beta of Visual Basic 2005 but I dont see any way to make a app for Pocket PC!
Can somesome please tell me a low cost way to program for the pocket PC Tag: changing color of icon Tag: 80870
Get a WM_CLOSE on dell axim?
Hi,
I have a very simple app (game) that runs nicely on my iPAQ. But on a
DELL AXIM I get a WM_CLOSE message after the program has started. Can
anyone think of what might send it??
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com Tag: changing color of icon Tag: 80866
IBrowser2 for PPC
can anyone tell me where to find IBrowser2 Interface definitions?
which functions it contains and how to use it..
thaks
Nicola Tag: changing color of icon Tag: 80865
poacket pc 2002 support j2000 image format?
sHi..
i am using vb.net(compact framwork) to devlop a client application(for pocket pc 2002) which is able to view(uncompress) J2000 images.
however i have trouble finding libraries which can support j2000 formats in pocket pc 2002..
anyone got any ideas? or have came across any ways to solve this??
thks ...
regards
iceman11 Tag: changing color of icon Tag: 80864
format compact flash
Hi,
I would like to create a tools to format the compact flash card.
But I can't find any information related to this topic in the Embedded
visual c++. How can i format a compact flash ? Is there any API do
this kind of job ? Tag: changing color of icon Tag: 80860
inclucding javascript file in PDA application
Hai,
I have written an html page and included a java script js
file to display menus.when i am viewing the html page on
standalone machine i am viewing the menus and form fields.
but when i view it Pocket PC 2003 i am not able to view
the menus.i am able to see only the form fields.
will u help me how to solve this issue..
Madhav Tag: changing color of icon Tag: 80859
Shortcut to WZC "Configure Wireless Networks" ??
Hi,
I need to add a shortcut to my app. to the "Configure Wireless
Networks" screen of WZC.
Does anyone know how to do this programmatically?
Thanks,
Philip Tag: changing color of icon Tag: 80855
voice recorder error - Namespace cannot be found
I am trying to program a voice recorder as explained in the Multimedia
library and getting the error
Namespace or type 'Audio' for the imports
'OpenNETCF.Multimedia.Audio' cannot be found.
on the line
Imports OpenNETCF.Multimedia.Audio
Am I going about this wrong?
I have the OpenNETCF framework installed (I ran SDFSetup11.msi and it
seemed to work OK)
Any help would be appreciated! Tag: changing color of icon Tag: 80853
voice recorder - Namespace or type 'Audio' for the imports 'OpenNET
I am trying to program a voice recorder as explained in the Multimedia
library at www.opennetcf.org and getting the error
Namespace or type 'Audio' for the imports 'OpenNET
on the line
Imports OpenNETCF.Multimedia.Audio
Am I going about this wrong?
I have the OpenNETCF framework installed (I ran SDFSetup11.msi and it
seemed to work OK)
Any help would be appreciated!
-----
Public Class Audio
Public Class Player
Inherits Audio
Properties:
Playing = True, if the player is currently playing. False otherwise
Volume = Gets or sets playback volume on the current wave device
Methods:
Equals = (inherited from Object) Determines whether the specified
Object is equal to the current Object.
GetHashCode = (inherited from Object) Serves as a hash function for a
particular type, suitable for use in hashing algorithms and data
structures like a hash table.
GetType = (inherited from Object) Gets the Type of the current
instance.
Pause = Pause Play
Play = Plays waveform contained in the given stream. Stream is
exepcted to contain full riff header
Restart = Restart a paused wave file
Stop = Stop Play
ToString = (inherited from Object) Returns a String that represents
the current Object.
Public Class Recorder
Inherits Audio
Properties:
Recording
Methods:
Equals = (inherited from Object) Determines whether the specified
Object is equal to the current Object.
GetHashCode = (inherited from Object) Serves as a hash function for a
particular type, suitable for use in hashing algorithms and data
structures like a hash table.
GetType = (inherited from Object) Gets the Type of the current
instance.
RecordFor = Overloaded. Record sound data for specified number of
seconds at 11025 sps and 1 channel The stream will be a properly
formatted RIFF file
Stop = Stop recording operation currently in progress. Throws an error
if no recording operation is in progress
SupportedRecordingFormats = Overloaded. A list of PCM wave formats
supported by the default device
ToString = (inherited from Object) Returns a String that represents
the current Object.
Enumeration Description
SoundFormats Flags for the supported audio formats for recording and
playback devices
Delegate Description
WaveCloseHandler Handles generic wave device Close event
WaveDoneHandler Handles generic wave device Operation Complete event
(Record/Play)
WaveFinishedHandler Handles wave device Recording Complete event
WaveOpenHandler Handles generic wave device Open event Tag: changing color of icon Tag: 80850
To C or not to C?
Before I'm admonished to RtFF or otherwise flamed, please know that I've made a VERY GOOD effort to avoid having to post this question.
Let me make clear that I'm parachuting into this territory and, while Iâ??m worthy of being called a power user, I've never developed for any device and thus have very little sense of context or understanding of terms of art or other colloquialisms. So dumb it down a notch, please.
That said, all I need to know is where to get good OBJECTIVE advice on choosing a programming language for the application Iâ??m going to develop (and you will all eventually buy) for WM devices. In my many readings, Iâ??ve found developers to be more zealous about their preferred language than many people are about their chosen religion, and that they see the universe through that frame of reference.
On the other end of the spectrum, Microsoftâ??s publications seem to promise that EVERY option is a good one, in its own way.
Therefore, I am offering no clue as to the nature of the project, only that I have one and need help making a decision.
I will say this: the application will require a robust desktop interface â?? assuming that makes a difference.
Please donâ??t flame. Just a link or two would be great.
Thanks! Tag: changing color of icon Tag: 80849
Out of Memory displaying large jpg with c#
I'm trying to programatically view pictures from my 6MP camera's
memory card on my IPAQ. I assume I run out of memory because it's
trying to make a huge bitmap. Is there someway to display the jpg to
the picturebox without going through the huge bitmap?
Here is the line that blows up on big files:
PictureBox.Image = new Image("test.jpg") ; Tag: changing color of icon Tag: 80848
Win PPC 2002 vs. Win Mobile 2003 for PPC?
Hi. I have an app that is compatible ith PPC 2002 but may need to utilize devices in the near future that only advertise support for Win Mobile 2003 for PPC. I heard any such PPC 2002 app needs to be completely re-written to operate under Win Mobile 2003 for PPC?
Is this true? Any info ASAP would be appreciated!
-HD Tag: changing color of icon Tag: 80843
Emulator not connecting to SQLCE, I need HELP!!!
I just started rewritting an app that I wrote in ebv to vb.net and am having a problem connecting the emulator to my sql server through sqlce for RDA purposes. My IIS hasn't changed in fact I can still see the sscesa20.dll file from both the emulator in ebv and from my pocket pc device, but I can't see the sscesa20.dll file from the emulator in Visual Studio..... Any Ideas why the emulator isn't working????? I am using vs2003, sql2000 with 3a service pack and sqlce2.0. Tag: changing color of icon Tag: 80842
Updater App Block
Will the MS Updater Application block work with the compact framework? If not, how do you handle winform upgrade deployments to multiple ppc devices? Tag: changing color of icon Tag: 80837
Updater App Block
Will the MS Updater Application block work in the compact framework? If not, how do you solve winform upgrade deployments to multiple ppc devices? Tag: changing color of icon Tag: 80836
Problems with debug / emulator in PPC 2003
Hi there,
Iâ??m having problems with eVC++ 4.0 emulator. Until now I always developed on eVC++ 3.0 and everything worked well, including the rapidness of the emulator. But my client brought a Dell Axim X5 with Pocket PC 2003. In this case I had to create a new project in eVC4. It compiled well, without errors.
After this porting, I tried debuging and I had many problems:
- I can debug step over (F10) just lines with attribution of variables, like â??a = b + c;â??. When it needs to access emulatorâ??s resources (like â??SetWindowText()â??) it freezes.
- I canâ??t make a PC Link connection, it returns timeout error.
- It is veeeery slow.
Just to know, on eVC3, with the same source code, all works well (debug, emulator, connection).
Iâ??m working with Windows 2000 SP2, with eVC++ 4.0 SP3. I already used eVC++ 4.0 SP2, without success.
Thanks in advance for any help!
Vanessa Tag: changing color of icon Tag: 80834
Pocket PC 2002 Application Development Hand Guide for EVB Developers ? Part 1
http://www.roseinfotech.com/articles/PocketPCArticle1.htm
Pocket PC 2002 Application Development Hand Guide for EVB Developers ?
Part 1
Vishal Rajpara (Rose Infotech) // www.roseinfotech.com
Applies to:
Microsoft® Windows® Pocket PC 2002
Microsoft® eMbedded Visual Basic®
June 7, 2004
Summary: This Article describes step-by-step application development for
Microsoft Windows Pocket PC 2002 software development from Microsoft
eMbedded Visual Basic. EVB development kit enables user to provide same
development platform like VB. So it very easy and fast to develop a
application for PDA, Pocket PC application.
Contents:
Introduction
Development Kit and Download resources
EMbedded Visual Tools 3.0 - 2002 Edition Installations
Start Application Design
Application Development using EVB
Application Testing and Deployment
Conclusion Tag: changing color of icon Tag: 80828
Error installation emdedded Visual Tool 3.0 and Pocket PC sdk 2002
I solve a problem with the installation of Embedded
Visual Tool 3.0 and with Pocket PC SDK 2002
If the installation freeze or show error on registering
some DLL like vbcedem.dll , you can try this solution :
- Run this commands :
1- regsvr32 -u atl.dll
2- regsvr32 atl.dll
Good luck ! Tag: changing color of icon Tag: 80827
automate Pocket Internet Explorer
hi
Is there a possibility to control the pocket internet explorer like the desktop internet
explorer (get events of button presses/focus changes)? (the HTMLVIEW Control does not seem
to allow these events)
bye.
manuel.
-- Tag: changing color of icon Tag: 80822
SOMAXCONN typical buffer size ??
Hi all
if you use
rc=listen(sock,SOMAXCONN)
What is the actual size of the buffer if the sock is a AF_INET ?? I
appreciate this depends on several things I'm just looking for a guide. 4k?
8k? 32k? 1mb??? ;)
If/when it is full I assume the client "connect" or "send" commands fail ?
Thanks in advance
Andrew Kennard Tag: changing color of icon Tag: 80821
share a Dataset
How can I share a SqlDataSet between all the forms of my application?, I´ve
create the dataset and fill it in the main form of my application and now I
need acess to the dataset in others forms.
I worc with c#
thakns Tag: changing color of icon Tag: 80818
Terminateprocess doesn't work
Hi everibody,
I'm programming an application than it runs on turn on the pocket pc.
Unfortunately, sometimes (a week later) when I turn on my ppc the
application disappears (but it remains in memmory). Then, I need to
terminate the old process to run another instance of my application, but
TerminateProcess does not work.
There is an example at
http://www.innovativedss.com/Resource/shutdownapp.asp.
Could you help me, please? Tag: changing color of icon Tag: 80816
Disabling "Options..." menu item
Do someone knows if it is possible to disable (or make it invisible) the
"Options..." menu item of the virtual keyboard menu at Pocket PC ? It opens
an input settings dialog box that I want to be not accessible. Any C++ code
is welcome.
Thank's in advance. Tag: changing color of icon Tag: 80814
BlueTooth Show Stopper No 2
I have had some success with serial communications between an iPAQ and
a PC using BlueTooth virtual COM ports, but only if I establish the
connection from the PC end (see earlier post)
If I establish the connection from the iPAQ end (using the standard
GUI), my program fails to open the COM port (COM8: on the iPAQ 2210).
Specifically, CreateFile(?) returns error 55. I get the same result
irrespective of whether or not the BT connection has been established.
The same thing happens on an iPAQ 3970 (COM5). Also the third party
mToken terminal emulator program seems to suffer the same problem,
which makes me think that it is not a simple bug in my program.
I believe that the correct behaviour is that if the BT connection is
not established then attempting to open the COM port should cause the
BT GUI to pop up and prompt the user to select a device to connect to.
If the BT connection is already established then the port should just
open.
Has anyone else seen this behaviour? Does anyone know how to work
around it? Tag: changing color of icon Tag: 80812
BlueTooth Show Stopper No 1
I am programming serial comm's between an iPAQ and a PC using the
BlueTooth virtual COM ports.
If I establish the BlueTooth connection from the PC end (using the
standard GUI), I can communicate successfully in both directions using
COM5: on the iPAQ. However, if the BlueTooth connection drops out
(e.g. out of range) or if I try to communicate without first
establishing the BT connection, then as soon as I try to send data
from the iPAQ [i.e. WriteFile(hPort,...);], the iPAQ locks up and can
only be recovered with a soft reset.
Has anyone else seen this behaviour? Does anyone know how to work
around it?
I get the same behaviour on an iPAQ 2210 and 3970. Also the third
party mToken terminal emulator program seems to suffer the same
problem, which makes me think that it is not a simple bug in my s/w. Tag: changing color of icon Tag: 80811
C#: realy close Application
Hi,
how can i really close my application, if i click the "X"-button?
I use C#.
Thanks for an Answer! :o)
Greetz
Dirk
sorry for the other thread - i forgott to use my brain. :o\ Tag: changing color of icon Tag: 80810
C#: Programm wirklich beenden
Hi,
wenn ich in meiner Anwendung "X" drücke, so beendet diese nicht wirklich.
Dies mag bei den meisten Anwendungen auf dem Pocket PC ja auch ganz sinnvoll
sein.
Meine Anwendung muss dann jedoch wirklich schließen - und sei es nur um
Resourcen zu sparen =)
Meine derzeitige Lösung, einen extra Button zum Beenden bereitzustellen
finde ich nicht bes. elegant, da viele dann fälschlicherweise
selbstverständlich immernoch auf das "X" klicken würden...
Klick hin, klick her! meine Frage: wie kann ich in C# meine Anwendung
veranlassen sich wirklich zu beenden, wenn ich oben auf dieses "X" klicke?
Bin für eine Antwort im Vorhinein sehr dankbar :o)
Greetz
Dirk Tag: changing color of icon Tag: 80809
EVC++4 PPC2003 ActiveX Control Problem
Hi,
I've written an activeX control (ATL no MFC) which I'be been using for
years built for WCE, PPC2000, PPC2002 etc (using EVC++3.0) - which is
run by being embedded in a web page.
I now need it to run on an XDAII, so I've downloaded EVC++4.0 + SP2)
and the SDK for PPC2003.
My first problem was that it would open my workspace but not give me
the option to build for PPC2003 (only STANDARDSDK) - so I created a
new ATL COM project and then just copied all my files into it - after
setting the various link options it compiles.
However it does not work on the XDA or in the emulator - it would
appear that its not getting run at all (I added a mesasge box in the
constructor - does not even get that far).
I am using IObjectSafety (I had to in previous iterations of the
control), as some have mentioned in other posts on this subject, my
class definition is as follows:
class ATL_NO_VTABLE CPdaVideoCtl :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CPdaVideoCtl, &CLSID_PdaVideoCtl>,
public IDispatchImpl<IPdaVideoCtl, &IID_IPdaVideoCtl,
&LIBID_PDAVIDEOLib>,
public IProvideClassInfoImpl<&CLSID_PdaVideoCtl,
&LIBID_PDAVIDEOLib>,
public CComControl<CPdaVideoCtl>,
public IOleControlImpl<CPdaVideoCtl>,
public IOleObjectImpl<CPdaVideoCtl>,
public IViewObjectExImpl<CPdaVideoCtl>,
public IObjectWithSiteImpl<CPdaVideoCtl>,
public IOleInPlaceActiveObjectImpl<CPdaVideoCtl>,
public IOleInPlaceObjectWindowlessImpl<CPdaVideoCtl>,
public IObjectSafety
I link with wininet.lib & imgdecmp.lib
I was hoping that all I'd need to do was a simple re-compile for
PPC2003 but I guess not - does anyone have any idea of what the
problem might be or what I can try to work out what is going wrong?
Thanks,
Glen Tag: changing color of icon Tag: 80808
Get and Set the sound volume PPC Phone edition
There is three different sound types
System Volume
Phone Volume
Speaker Volume
How to get and set each sound volume?? Tag: changing color of icon Tag: 80806
Multiple winsock connections ?
Hi all
I've been reading up on winsock as I would like to incorporate it in my
application so that two or more PDA's can communicate with each other over
wifi in an ad-hoc network.
If I want one PDA to listen for two or more other PDA's then I presumeably
need to do somthing like the following ?
Create a thread for each PDA I want to 'listen' for.
Each of these threads creates a socket, binds the socket to it's OWN (?) IP
addr and a DIFFERENT socket number for each of the PDA's it needs to
communicate with ?
The other PDA's 'connect' using the common 'server' IP addr and a unique
socket number.
I don't want the 'main' program on the 'client' PDA's to stop working if
there is some kind of network failure. As I don't appear to be able to
control the time-out of the send command I assume if I put this is it's own
thread along with connect and disconnect from socket. I can then check to
see if this thread is still running before starting a new one. If it is and
I consider this a 'failure' then I abort the thread etc. Also if within the
thread the send etc commands return errors then the thread exits with an
error code.
Thanks in advance from all the winsock experts ;)
Andrew Tag: changing color of icon Tag: 80805
Wait cursor on Pocket PC, HOW?
The way to show the wait cursor on pocket pc according to the help in eVC4
is to call SetCursor like this:
SetCursor(LoadCursor(NULL, IDC_WAIT));
This works fine if you do that in the main message loop and in the same loop
do some time consuming operation.
But in my case I have a worker thread that is doing all the work so the GUI
will not freeze. That way I can dump text on the screen while processing
data.
If I call SetCursor in the worker thread the wait cursor will not show. Is
there a way to show the wait cursor even though the main message loop is not
locked doing some time consuming operation?
/Magnus Tag: changing color of icon Tag: 80804
SDIO Now! & compatible PPC 2003 list
Hello World,
I'm searching a list of all PPC 2003 that are fully compatible with
Bsquare
solution SDIO Now!
Looking through all PPC specification is not only boring bur unefficient
as
OEM seems to hide this info ...
At least, i wonder if someone can give a model of PPC2003 where
interfacing
Bsquare solution SDIO Now! was a sucess story ...
By the way, is there some models to avoid?
--
-----------------
liooil
* remove _NOSPAM_ in my adress if you wish to mail me directly * Tag: changing color of icon Tag: 80803
evc4 SP4 ??
When did this one get sneeked out ? ;)
I've just been looking at the microsoft windows mobile site (redesign ?) and
notice that a link to the evc download says evc4 SP4 ??? I thought SP3 was
the latest and if you search the 'full' Microsoft download site it returns
the SP3 update with a March 04 date and yet that 'new' SP4 version seems to
have a Dec 03 date ?
Is is a typo or is there really a SP4 and will it be available for separate
download ?
Cheers
Andrew Tag: changing color of icon Tag: 80801
eVC4.0 does not support __declspec(align(16)) ?
Hi all,
I want to align my structures or variables on n byte boundary. (n is power
of 2)
I have found that there is a new extended attribute "align".
MSDN and other articles explain that "__declspec(align(16))" works well.
But after I have modified my code using "__declspec(align(16))" in EVC
3.0/4.0,
I get the following error message:
" error C2485: 'align' : unrecognized extended attribute"
Please teach me some reason !
Regards
JK Kim Tag: changing color of icon Tag: 80800
developing in evc 3.0...
can one change the color of an icon that's not one
of the standard 16-color palette provided by
the built-in editor?