SmartPhone (SP) and WebService Enhancements (WSE) with .NETcf - new DEVBUZZ tutorial
Hi all,
So I had taken my first cut at WSE from the Compact Framework=
(=2ENETcf)
many months ago (/cfWSE)=2E Since then, I have gotten to do a lot=
more
Web Service (WS) work using the =2ENETcf=2E So I felt I was ready for=
a
second attempt to raise the bar =2E=2E=2E although this article is=
really
the third in a long running series=2E I could not continue the=
/cfWSE
article because =2ENETcf was lacking the=
System=2ESecurity=2ECryptography
namespace; so that is why I wrote the follow up /spCrypt article=2E=
Now
I can continue where I left off=2E
http://www=2Edevbuzz=2Ecom/content/zinc_smartphone_wse_pg1=2Easp
--
Regards
Derek Mitchell
news@devbuzz=2Ecom
=2ENET Compact Framework Tutorials:
- http://www=2Edevbuzz=2Ecom/content/init_compact_framework=2Easp
eVB Tutorials:
- http://www=2Edevbuzz=2Ecom/content/init_starting_out=2Easp
Pocket PC Development Forums:
- http://forums=2Edevbuzz=2Ecom/
Code Snippets:
- http://www=2Edevbuzz=2Ecom/content/code_snippet_list=2Easp Tag: shlwapi.lib in pocketpc 2003? Tag: 69325
Starting to Program
I am trying to start programming for the Pocket PC 2003
system.
I'm quite new to this and I went to Microsoft and
downloaded embedded Visual C++ 4, service pack 2, active
Sync, and the Pocket PC 2003 SDK (all as per the Pocket PC
2003 SDK webpage's suggestion.
Then when I tried to load the Visual package, it gives me
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 no Idea what I need to do. I don't have the PDA
with me yet so I can't hook it up. Any suggestions.
Thanks. Tag: shlwapi.lib in pocketpc 2003? Tag: 69324
IContact::Display() cause accees violation on PPC 2003
Hi,
I am using following code snippet to display Contact information. It works
fine on Pocket PC 2002. However, on PPC2003, after the Contact dialog
showing up, if I press the 'Show Recording Toolbar' button on Notes page and
then press OK button to close the dialog, IContact::Display() will cause
access violation exception. Is this possible a bug of PPC 2003?? How can I
avoid this problem??
----------------------------------------------------------------------------
------------------------------------------
void CPoomTestDlg::Foo()
{
int iCount;
IPOutlookApp *pIApp;
HRESULT hr;
hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
if (FAILED(hr)) {
return;
}
hr = CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER,
IID_IPOutlookApp, (LPVOID *)&pIApp);
if (FAILED(hr)) {
return;
}
hr = pIApp->Logon(NULL); // Logon
if (FAILED(hr)) {
return;
}
IFolder *pIFolder = NULL;
IPOutlookItemCollection *pIItems = NULL;
pIApp->GetDefaultFolder(olFolderContacts, &pIFolder);
if (NULL == pIFolder) {
return;
}
pIFolder->get_Items(&pIItems);
pIItems->get_Count(&iCount);
if (iCount > 0) {
IContact *pIContact;
hr = pIItems->Item(1, reinterpret_cast<IDispatch **>(&pIContact)); // get
first contact
if (SUCCEEDED(hr)) {
pIContact->Display();
}
}
pIFolder->Release();
pIItems->Release();
pIApp->Logoff(); // Logoff Pocket outlook
if (pIApp) {
pIApp->Release();
}
CoUninitialize();
} Tag: shlwapi.lib in pocketpc 2003? Tag: 69323
IR subroutine
I am looking for a VB subroutine to open the IR port to receive pulses.
My goal is to count pulses and the length of the pulses.
Thanks! Tag: shlwapi.lib in pocketpc 2003? Tag: 69315
EVB Simulation
Dear Developers,
I have some queries regarding software development for IPAQ3850. I am using
embedded Visual Basic for Pocketpc2002.
I am unable to get the Pocet PC for this developemnt and experimental work
so is please tell me any way by which i may develop and
test(emulate/simulate) the application on my Pc using some emulator and
then transfer it to PocketPC using ActiveSync.
The problem that im facing currently is that whenever i want to test my code
or debug it, evb gives me an error message that pocket pc is not connected.
I would be gratefull if you provide me information for solving this
shortcoming, either by emulating in evb, some other emulator (preferably
downloadable). Please reply at the earliest.
Please provide the related information so that we may proceed with the
development.
I'll be gratefull if you provide the related info asap.
Thank you
best regards
Azhar Ishrat Tag: shlwapi.lib in pocketpc 2003? Tag: 69314
Bluetooth in eVb
Does anyone have any information on communication using Bluetooth, in eVb?
The application I have in mind does not justify the development time
involved in eVc or .Net.
Jeff Law Tag: shlwapi.lib in pocketpc 2003? Tag: 69312
database on pocket pc
what databases exist for the pocket pc, and which one is
the best to work with
(i'm using c# so i need support for .net compact
framework) Tag: shlwapi.lib in pocketpc 2003? Tag: 69310
ASP support?
Does windows 2003 suppport asp pages? I found a folder under windows/www/:
wwwpub.
What is that for? Tag: shlwapi.lib in pocketpc 2003? Tag: 69308
MFC in Windows Mobile 2003 ROM?
Hi,
Is MFC library (MFCCE400.DLL) burned into Windows Mobile 2003 ROM?
If yes, is it Execute-In-Place?
Thanks Tag: shlwapi.lib in pocketpc 2003? Tag: 69303
link problems when using throw under PocketPC 2003 SDK
I've run into quite strange problem:
when using new (heavily advertised) try-catch feature of WinCE4.2/eVC++4,
it compiles and works w/o any problems, but only under STANDARDSDK.
When switching to PocketPC 2003 SDK or Smartphone 2003 SDK, it leads to
the
following linker error:
main.obj : error LNK2001: unresolved external symbol "const
type_info::`vftable'" (??_7type_info@@6B@)
evC++4, SP2, /GX enabled, /GR does not make any difference.
It seems to me that I've managed to nail down minimal
code fragment that causes problems:
try
{
throw 0;
}
catch(...)
{
}
When commenting out throw 0 - everything links Ok, when there is
at least one throw in the file - it doesn't link under PocketPC
2003/Smartphone 2003 SDKs - under STANDARDSDK it's still Ok.
If anybody can try it and check whether the problem exists in
some specific configurations - will be greatly appreciated (I even
got it when added a fragment above to wizard-generated "hello, world"
app). Tag: shlwapi.lib in pocketpc 2003? Tag: 69295
Deleting a read-only file via code
Hi!
I need to delete a read-only file via code.
The line code I am using is the following:
DeleteFile(_T("\\windows\\www\\wwwpub\\default.htm"));
But the file is not deleted. If I delete in the Pocket File Explorer, or via
Activesync in the Windows Explorer, it is deleted with no problems.
Any help?
Thanks in advance,
Anderson T. Kubota Tag: shlwapi.lib in pocketpc 2003? Tag: 69294
Bluetooth Samples in eVC++ 4 - where are they?
Bluetooth Samples in eVC++ 4 - where are they? I see them
described in Help but no actual source code!!! where to
get source code/project files for them? Tag: shlwapi.lib in pocketpc 2003? Tag: 69293
simple file transfer
Hi
I need to transfer some files via a ras connection and have not found a
suitable solution.
Simple file copy fails across a Ras connection (even though I can manually
use Explorer)
1 other solution was to spend $900US on a component suite which is just not
possible
Are there any other cheaper file transfer solutions out there?
They can use Ftp or Get/Put for Http connections or file copy that works on
a ras connection.
Using eVB 3 and Pocket PC 2003.
Any help appreciated.
Brenton Wildman
Australia Tag: shlwapi.lib in pocketpc 2003? Tag: 69292
Today DLL detecting shutdown
How do I detect that the PPC has been turned off? I am using FMOD to play
MP3s from the Today screen, and if you turn off the PPC while playing, it
does a soft reset when turned back on.
I am using eVC4, "pure" C++. Thanx!
---Mike
http://www.todayplayer.com Tag: shlwapi.lib in pocketpc 2003? Tag: 69289
How do I install an application?
Hello,
This is my first foray into Pocket PC application
development and I'm having a problem that
I haven't been able to figure out.
I've created a very simple test app using eVB and was able
to figure out how to create the
CAB files. I even figured out how to export the CABs to
the emulator (I have an actual device but I'm currently
just trying to use the Pocket PC 2002 Emulation for
testing), however, I have not been able to figure out how
to actually install the application on the emulator.
I have searched the Internet and the only stuff I can find
that seems to be relevant indicates that you use the
Application Manager (a.k.a. CEAppMgr.exe) but I do not
have this file on my PC nor is it on the emulator or the
device and I can't find a download for it from Microsoft.
I've also seen references to a Control Panel in Settings
with an Add/Remove Applications option but the only thing
I can find is the Remove Programs option in Settings.
There is no Control Panel nor is there an Add/Remove
option that I can find in either the emulator or the
device.
Can someone please teach me the "secret handshake"
required to install applications on a Pocket PC device?
Thanks!
P.S. To reply directly to me, remove the "=_" characters
from my email address. Tag: shlwapi.lib in pocketpc 2003? Tag: 69288
How can I handle hardware buttons and events
Hi,
I need to get the click of my pda (extern) microphone
(I have a wallaby with pocket pc 2002 phone edition)
within my application.
My application is written with Embedded Visual C++ 3.0
Thanks a lot.
Mat. Tag: shlwapi.lib in pocketpc 2003? Tag: 69287
How to use dynamic_cast ?
Hi all,
I have a problem with dynamic_cast in eVC4. When I use dynamic_cast in my
program and then compile this program, linker show me this message :
xxx.obj : error LNK2001: unresolved external symbol "const
type_info::`vftable'"
My compile configuration is
POCKET PC 2003/Win32 (WCE emulator) Debug/POCKET PC 2003 Emulator
and I added compiler option /GR in Project/Settings.
Please tell me what I must do, when I want to use dynamic_cast. Tag: shlwapi.lib in pocketpc 2003? Tag: 69285
Signal Strength using ExTAPI
When there's no Signal lineGetLineDevStatus returns
dwSignalLevel=65535 which is the same as Full Signal.
Currently I also query registration status to differenciate between
Full Signal and no signal, the only problem is that when there's no
signal the registartion status does not change until after a few
seconds, leaving my application thinking that there's 100% signal.
Is there any way to get the correct signal level when there's no
signal?
Thanks!
-- Younes Tag: shlwapi.lib in pocketpc 2003? Tag: 69271
PCMCIA speed fluctuates
Hi, I have written a PCMCIA driver and my driver downloads
a bitstream to a chip on the card. My problem now is that
I noticed that the time taken to download a fix number of
bytes fluctuates a lot (6-46sec). I suspect there is
something hogging the system. Anyone has any idea how I
can check that?
Is there a way to set a fix rate to the speed at which the
data is transferred from the PDA to the card over the
PCMCIA bus? I know I can set a window speed in my driver
but no matter what value I set, I get the same results.
Please help. Thanks. Tag: shlwapi.lib in pocketpc 2003? Tag: 69269
Show and Hide keyboard in eVB3
Hi
Does anyone know how to check the state of the soft keyboard and then
show/hide it?
Thanks in advance for the help.
Regards
Brenton Wildman Tag: shlwapi.lib in pocketpc 2003? Tag: 69261
ADOCE for PocketPC 2003 Emulator
Microsoft is no longer supporting eVB and ADOCE on Pocket
PC 2003. They say that you can download the runtime. I
found a runtime at:
http://www.microsoft.com/windowsmobile/resources/downloads/
developer/evb.mspx
But when I downloaded it there was only an ARM file. In
order to do testing I need the eVB runtime and ADOCE for
the Pocket PC 2003 EMULATOR, so I need the x86 version.
This is a real problem. I don't understand how Microsoft
can take away support for this technology without
providing the proper tools for those of use who need to
test our applications.
Please, does anyone know of a solution?
Heather Tag: shlwapi.lib in pocketpc 2003? Tag: 69255
Pocket Access Future?
All,
I see that the .Net compact framework does not directly support Pocket
Access files. Does this mean that Microsoft is dropping support or is not
going to support this file type in the future? Perhaps we should consider
using something else? I don't want to spend a bunch of time coding our app
for this file type if it's not going to be supported in the future.
Thanks,
Randal Ferguson Tag: shlwapi.lib in pocketpc 2003? Tag: 69254
PPC Emulator with no PPC device connected to the computer
I have installed eVC++ 4.0, PPC 2003 SDK, and ActiveSync 3.7. I do not have any PPC device installed on the machine. I want to be able to debug applications before I get the hardware
I have compiled the Hello sample and now want to debug it on the emulator.
When in eVC and I run the program, the emulator comes up and all I get is the "Connecting" dialog. No connecton is ever made
I have tried lots of settings in eVC, Tools/ Configure Platform Manager. When I try the "test" button, I do not get a connection
How do I have to set up ActiveSync and eVC to make this possible? Or do I need to have a PPC device connected to the computer
Thank you
Cesa Tag: shlwapi.lib in pocketpc 2003? Tag: 69251
Custom Controls?
Has anyone built any custom controls like bitmapped buttons, better looking
UI controls?
TKS. Like to beef up the plain vanilla controls that PocketPC has.. Tag: shlwapi.lib in pocketpc 2003? Tag: 69245
which to buy?
I need to buy a pocket pc device to test my first C#=20
application built with =20
Visual Studio 2003.NET and .NET Compact Framework, but I'm=20
not sure what to buy.
I see on the web some device has OS - "Windows Mobile 2003=20
for Pocket PC" (such as Toshiba e355 Pocket PC ),
some has OS - " Microsoft=AE Windows=AE 2003 for Pocket PC" =20
(like hp iPAQ pocket PC h1935).
What's the difference between these two operating system ?
Can my application run on both devices ?=20
THANKS ! Tag: shlwapi.lib in pocketpc 2003? Tag: 69244
Thank you! GrandaSoft's beta phase finished (Software released for free)
----------------------
NEW RELEASE
GrandaSoft XSDesigner and XSForms (form based database applications)
http://www.grandasoft.com
----------------------
GrandaSoft is proud to announce the new release of XSDesigner and
XSForms in version 1.0. The Beta phases finally have come to an end
after quite some adding, deleting, tweaking, hammering and bolting
down. Now we take a breather and dive in again for the second round,
errrhh?. version. A very special "Thank you" to all beta testers! Your
support and suggestions really made the difference to help improve
both products. By no means do we stop here. We are well aware there is
always room for improvement. So, don't stop sending us your input. We
love to hear from you.
During the Beta phases we had 2 people across the globe ask if they
could help translate the software interfaces. Surely we said, "Yes,
please." As of today, we have a translation for Spanish and Portuguese
in the works. Release dates shall be soon. Please check back often to
see support for more languages. If you would like to help out with
translations please send us an email.
Currently version 1.0 will remain absolutely cost-free! Until we
believe we have products worth selling we will not charge a single
penny for XSDesigner or XSForms. We will keep you posted.
Get the latest version from our website.
http://www.grandasoft.com Tag: shlwapi.lib in pocketpc 2003? Tag: 69242
read expansion card information
Hi,
Is there any API function to read the information of
expansion card and API function to notify the application
upon the card insertion and removal ?
thanks ! Tag: shlwapi.lib in pocketpc 2003? Tag: 69240
How to reactivate form that is hidden (eVB.net)
Hi
I have trouble in reactivating hidden forms (PocketPC 2003, eVB.net, CF 1.0 SP1)
The problem is like this
I have 2 forms in "MyProgram".
Form1 is showed and brings Form2 to front by calling "Form2.ShowDialog()".
Start =><any another application like File Manager
Then
Start => Settings => System => Memory => Running Programs => "MyProgram" => Activat
Now if I call Me.Close() in Form2, the form disappears but Form1 is still hidden and there is no way to bring it on front than over "Running Programs" in "Memory" or a click on the executable
Calling methods like .Show() .Activate won't help :
How can I solve this problem? API
Thanks for helping
Alexander Tag: shlwapi.lib in pocketpc 2003? Tag: 69237
eVB app & PPC 2003
I know this has been discussed before, and I understand that the only way to
get 'legacy eVB' apps to run on PPC 2003 is for end-users to download and
install the runtimes on their handheld. Sadly for me, my app is an eVB app.
What idiot is responsible for this? This has got to be the most boneheaded
move since MS decided to leave out 'edit-and-continue' in VB.NET. I'm
astounded at the lack of foresight. The typical PPC user has no idea if
their OS is CE, 2002, or 2003 (in fact, they sometimes call their PPC 'a
palm", or some such). And they're supposed to select a particular install
package?
Here's the deal. If users can't easily install software on their device,
they won't use it. And they'll complain. The result - negative
word-of-mouth and a negative impact on the company. MS can't really expect
users of a mass-market app to jump through these installation hoops. Same
for a vertical market app. So how are we supposed to successfully write and
deploy for the different OSs?
Yesterday I had the opportunity to watch a neighbor attempt to install a
medical app on his PPC 2003. It was interesting to see him try to install
it himself (maybe MS should do some install usability testing). Two hours
and a few asprins later, he was on the phone with tech support. Last I saw,
he was on hold.
Now if users can't install apps, what's the attraction for the platform?
Jawbreaker? I predict that unless MS makes it easier to develop and INSTALL
apps across OSs, the platform will fail and we'll all be writing for Palms.
Man am I disgusted. Tag: shlwapi.lib in pocketpc 2003? Tag: 69236
Is SDIO taking over from CF ??
Hi All
With new PDA's comming out by the hour there seems to be a trend away from
CF in favour of SDIO. Resiging CF to backpack/addon/not at all
My question is does SDIO have the capability of doing all CF can and will
there be more that just SD-WiFi and SD-BT cards in the future ie full serial
RS232 with built in SD memory etc
I'm a little worried because we use quite a few specialised CF cards in
PPC's for our apps
Thanks in advance for any comments
Andrew Kennard Tag: shlwapi.lib in pocketpc 2003? Tag: 69235
PocketPC 2003 - is msxml3 supported??
hi:)
one question as far as stylesheets is concerned
is msxml3 in PPC 2003 supported?
thx, Simon:) Tag: shlwapi.lib in pocketpc 2003? Tag: 69225
msxml3 problem - pocketPC 2002 - is it somehow available
Hi:)
I'd like to use the stylesheets form Win32 on PPC where i have msxml2,
but not everything is portable, for example:
"<xsl:variable>".
Is it possible somehow that I could use msxml3?
It's important.
thanks, Simon:) Tag: shlwapi.lib in pocketpc 2003? Tag: 69224
Problem using htmlview.dll... now I need to implement the IWebBrowser Interface. Any help?
Hi!
I was using htmlview.dll believing that all the implementations I need would
be as good as in Pocket IE.
But now I saw that there are some methods that are not implemented. For
example, the javascript:history.back().
Does anyone know if it is possible to solve this problem using htmlview.dll?
If so, how?
If not, does anyone could help me for using the IWebBrowser Interface?
Any help will be great.
Thanks in advance,
Anderson T. Kubota Tag: shlwapi.lib in pocketpc 2003? Tag: 69223
Open Pocket XL file from Pocket IE
Hi
I don't know if this is possible ??
I would like to have a link on a webpage which would open a LOCAL pocket
excel file on a pocket pc 2003 device.
I have seen how to do it on a 'normal' pc but have been unable to find
anything about doing it on pocket pc 2003 OS.
Any help would be greatly appreciated.
Regards
David Tag: shlwapi.lib in pocketpc 2003? Tag: 69222
Hiding the close button of a dialog box
Is there a way to hide the close button of a dialog box?
Thanks in advance Tag: shlwapi.lib in pocketpc 2003? Tag: 69221
EVC++ 3.0 crashes
Hello,
this week I have been developing nicely with EVC++ 3.0 together with the
Pocket PC 2002 SDK. Until this morning when I installed the SDK of Pocket PC
manufacturer Symbol.
Immediately after I did this EVC++ 3.0 would crash during the opening of an
existing project or trying to create a new project with the filemenu option
"new".
Uninstalling everything (EVC++ 3.0 SDK of MicroSoft and the Symbol SDK)
doesn't help. When I reinstall the EVC++ 3.0 the same problem occurs.
Could ANYONE help me please? I would be very much obliged as I don't know
what to do anymore for except maybe reinstalling my computer which I would
rather not do.
thx in advance,
Jeroen Tag: shlwapi.lib in pocketpc 2003? Tag: 69219
ActiveX scripting on Pocket PC 2003.
I have built, using eMVC 4.0 SP2 a Pocket PC 2003 ActiveX that
successfully
works on iPAQ 5550 and on the emulator when it is called from a
dedicated test
application (built using 'WCE Pocket PC 2003 MFC AppWizard (exe)').
Unfortunately I never succeeds when trying to call the ActiveX from a
JScript.
Depending on IObjectSafety is implemented in the ActiveX or not, and
depending
on the object is created in an OBJECT block or using 'new
ActiveXObject()',
different errors are observed (ShowScriptErrors is set to 1):
- cases IObjectSafety not implemented:
- case 'new ActiveXObject':
"Microsoft JScript run time error" "Automation server can't create
object"
- case <OBJECT id="myName" ...>:
"Microsoft JScript run time error" "<myName> is undefined"
- cases IObjectSafety implemented:
- case 'new ActiveXObject':
"Internet Explorer" "(nul)" on the 1st line referencing an ActiveX
method
- case <OBJECT ... >
"Assertion Failed!" "<myName>: File ctlinplc.cpp, Line 220"
In each case I could however verify (using MessageBox()) that the
ActiveX
constructor is well entered.
Thank in advance for any help on any of these problems.
Claude Michel Tag: shlwapi.lib in pocketpc 2003? Tag: 69218
HOW TO redirect stderr to a file??? (freopen NOT supported)
Hi i'm doing a porting from an application console for win32
to pocketpc 2002, this applicancion have a lot of call to function
similar to those:
fprintf(stderr, "%s: Unknown error\n", msg);
................
................
fprintf(stderr, "dropping packet #%u\n", seqno);
...............
i want to preserve those functions and redirect stderr to a file but
pocketpc sdk and EVC30 doe not support the function "freopen"
anyone can soggest me a way to do that redirection?
Thanks Tag: shlwapi.lib in pocketpc 2003? Tag: 69216
Focus on buttons causing unwanted events.
I have found with my application that focus on a form, after a period of
inactivity, moves to a button. This inverts the button to white text on
black, which is ugly. Then some activity on the device, like make /
break of Internet connection, or insertion into the cradle, then causes
this button to press. Thus causing my application to do unwanted events
without user intervention. Which is very annoying!
This has happened on a number of CDialog I use, so I do not think it's a
problem with just my code. It might be the way by XDA handles the
select hard-button with events?
Does any member know how to stop this action, either by stopping this
auto-focus action, or stopping the automatic depression of buttons on
unrelated events?
Thanks in advance,
Ben Tag: shlwapi.lib in pocketpc 2003? Tag: 69215
BitBlt problem
I want to draw something in DC. But the following code doesn't work. I
get the update rectangle and try to update the dirty region only. But
the dirty region will get redraw. If the update rectangle is the whole
screen, all the things work (the drawing is redrawed). Why ??
I am clicking on the text "M". Update rectangle is correct. But it is
not updated !!
void CPasswordDialog::OnPaint()
{
RECT rectUpdate;
BOOL succ = GetUpdateRect(&rectUpdate, FALSE);
if (!succ) return;
else {
CPaintDC dc(this); // device context for painting
// TODO: Add your message handler code here
CDC dcMem, dcMem2;
dcMem.CreateCompatibleDC(&dc);
dcMem2.CreateCompatibleDC(&dc);
HBITMAP hOldBitmap = (HBITMAP) dcMem.SelectObject(m_hbmBackground);
BITMAP *bmp = new BITMAP;
GetObject(m_hbmBackground, sizeof(BITMAP), bmp);
HBITMAP hbmPaper = CreateCompatibleBitmap(dc, bmp->bmWidth,
bmp->bmHeight);
HBITMAP *hOldBitmap2 = (HBITMAP*) dcMem2.SelectObject(hbmPaper);
// background
dc.BitBlt(0, 0, bmp->bmWidth, bmp->bmHeight, &dcMem, 0, 0, SRCCOPY);
dcMem2.BitBlt(0, 0, bmp->bmWidth, bmp->bmHeight, &dcMem, 0, 0,
SRCCOPY);
dcMem.SelectObject(hOldBitmap);
RECT bound;
bound.top = 32;
bound.left = 0;
bound.right = 19;
bound.bottom = 40;
dcMem2.SetBkMode(TRANSPARENT);
dcMem2.SetTextColor(RGB(0,0,0));
dcMem2.DrawText(L"M", &bound, DT_RIGHT | DT_VCENTER);
dc.BitBlt(rectUpdate.top, rectUpdate.left, rectUpdate.right -
rectUpdate.left, rectUpdate.bottom - rectUpdate.top, &dcMem2,
rectUpdate.top, rectUpdate.left, SRCCOPY);
dcMem2.SelectObject(hOldBitmap2);
DeleteObject(hbmPaper);
delete bmp;
}
} Tag: shlwapi.lib in pocketpc 2003? Tag: 69205
Viewsonic Europe, the V37 and Windows Mobile 2003
A bit of a long gripe about Viewsonic and its V37:
I purchased Visual Studio .NET Professional 2003 because of the free
Viewsonic V37 which I naively assumed would be upgradable to Windows
Mobile 2003 based on the Microsoft Technology "Guarantee".
Viewsonic now refuse to supply the upgrade to me in the UK (no longer
"supported" in Europe by Viewsonic) and they will not allow me to purchase
it from their American or Australian subsiduaries. All of this is despite
for months from June 2003, Viewonic UK told V37 owners we could purchase
such an upgrade and they would update their website as soon as it was
released. Where can I get this upgrade from? I am willing to pay good
money (as in more than its worth) but they refuse to take it, in my mind
this promotes black and grey markets. On another note, I could have saved
myself about £300 ($500) on the cost of VS .NET 2003 and got a real
Windows Mobile 2003 PPC with standard editions of VS, should I take the
software back and demand a refund based on the guarantee above? In
addition as a wireless developer I cannot use the full wireless
capabilities of the V37 because its not fully supported under PPC 2002 and
I feel the results of Sisoftware Sandra 2004 would be showing 90-110% of
the benchmark 400mhz Xscale unit instead of the 60-90% I'm getting at the
moment. The latter poor performance is I assume because PPC 2002 is for
optimised more for ARM rather than XScale?
Please correct me if any of this is incorrect. Tag: shlwapi.lib in pocketpc 2003? Tag: 69198
Version info not appearing in eVC4-compiled DLL
I have a DLL that I've compiled with eVC 4. The DLL works fine on PPC
2003, but no version info appears if I copy it to the desktop and try
to check its version information through file properties or the XP
tool tips (no version tab at all on file properties). I've verified
that the version resource is present by opening the DLL as a resource
file. I've also used a 'strings' tool to see that the version strings
are present in the binary.
Has anybody seen this issue before? How is it fixed? Thanks! Tag: shlwapi.lib in pocketpc 2003? Tag: 69196
Direct Access to SQL Server 2000 via Wi-Fi
Hi,
I'm new to programming on the PocketPC and I'm having some difficulty in
determining what I need to do for my embedded VB app to connect to my SQL
Server 2000 and access data just like my desktop VB6 applications do. I
have tables that use an Identity column that multiple PocketPCs will be
inserting records into. I will need to be able to have each PocketPC insert
a record and return the new Identity value.
My PocketPCs have Wi-Fi access to the network, I don't intend to store any
data on the PocketPC, nor do I want to batch the data and synchronize with
the server. Is there any way of gaining direct access to the SQL Server?
Thanks for any assistance,
Aaron Tag: shlwapi.lib in pocketpc 2003? Tag: 69195
Virtual list view control - LVN_GETDISPINFO not received
Hi,
I have created a virtual list view control by setting the LVS_OWNERDATA
style bit, and calling ListView_SetItemCountEx. However, I never receive the
LVN_GETDISPINFO message.
The parent window does receive LVN_ODCACHEHINT (which I am responding to),
so it appears that apart from not sending LVN_GETDISPINFO, the control is
behaving as a virtual list view should. Is there something more I need to do
to receive this message?
I am using eVC 3.0 / PocketPC2002.
Thanks,
Peter Tag: shlwapi.lib in pocketpc 2003? Tag: 69194
Please Help!!! Full screen mode
I'm placing a document/view application in semi Full Screen mode. I
hide the task bar and move the main frame window above the task bar
but the commandbar remains. My applciation stays in this mode for the
most part. However, the application gets resized back to the normal
size when the user selects and show the SIP button.
My questions are:
-How do i prevent the application from resizing the main frame window
after sip is shown?
-Is there anyway i can trap when the user presses the SIP button?
-What is the event that i should tap on to resize my screen?
Any help would be greatly appreciated. Tag: shlwapi.lib in pocketpc 2003? Tag: 69193
Is there no shlwapi.lib in pocketpc 2003? It is avaliable in the pocketpc
2002 sdk. I am using evc4 with the pocketpc 2003 sdk, but don't see it
there.