LockWindowUpdate for PocketPC?
is there any function similar to LockWindowUpdate available on PocketPC
(2002, 2003)?
one of my forms takes about half a second to display all the controls, so
i'd like to lock the screenupdate until the form is fully drawn...
on win32 i can do this using LockWindowUpdate, on palm os i can do this
using WinScreenLock/Unlock.
any help greatly appreciated!
markus dresch (www.palmside.com) Tag: ActiveSync function Tag: 67413
Display Frame Buffer Addresses
How do you find out the frame buffer address for a device? I am trying
to write directly to the display, and can do so if I already "know"
the address...
Eg. I can test on my iPaq which has the address 0x0451a000 which I use
like:
0x80000000 | 0x0451a000
However, there must be a way you can determine this value on any
device. Any help would be greatly appreciated.
So far I have investigated HalTranslateBusAddress - but this only
seems to apply when writing device drivers and not applications. Is
this on the right track or is there a much simpler way? Tag: ActiveSync function Tag: 67406
Videp Streaming in PPC 2002 Application
Hi. I would like to know if is possible to use the new DirectPlay for PPC
2002 for showing a Streaming VIDEO in a PPC 2002 application written in
visual c++ or visual
basic. If not, how can I do it with eVC++3.0?
Thanks.Arvind Tag: ActiveSync function Tag: 67405
Can the Viewsonic V37 execute ROM files in place?
Hi, all
The V37 has 64MB of RAM, but only 36.45MB is user accessible. Presumably
this is because the O/S and apps are copied from ROM to RAM before being
executed.
Is this because the V37 ROM is not suitable for XIP? Or is it due to
poor/lazy design on the part of Viewsonic? Can we expect that, with the PPC
2003 upgrade, the V37 will be able to execute ROM files in place, thus
leaving much more RAM for the user?
Also, the V37 makes about 36MB of its flash ROM available as file storage
space. Is this unusual among PPCs? Is that likely to change with the PPC
2003 upgrade?
Cheers
- rick Tag: ActiveSync function Tag: 67393
PPC 2002 + .NET CF + SharpDevelop
How do I get the .NET CF on my PPC (iPaq 1910)? What do I need to DL?
I have .Net on my Desktop.
I want to be able to use SharpDevelop to write some small apps. They're not
really worth having to buy
VS.
Thanks. Tag: ActiveSync function Tag: 67392
Tab Key
This is a multi-part message in MIME format.
------=_NextPart_000_001F_01C39D9E.24C28FB0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there anyway to trap Tab key with .NET on PacketPC 2002 (iPaq) on =
Windows form.
--=20
Thanks
-------------------
czupet@wsinc.com
------=_NextPart_000_001F_01C39D9E.24C28FB0
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.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>Is there anyway to trap Tab key =
with .NET=20
on PacketPC 2002 (iPaq) on Windows form.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><BR>--=20
<BR>Thanks<BR>-------------------<BR><A=20
href=3D"mailto:czupet@wsinc.com">czupet@wsinc.com</A></FONT></DIV></BODY>=
</HTML>
------=_NextPart_000_001F_01C39D9E.24C28FB0-- Tag: ActiveSync function Tag: 67391
Help with SqlCeDataAdapter
I am trying to take a dataset returned from my web
service and merge it with the local SQL Server CE
table "Route_Sheets". I can't even get it to compile. I
get errors like da doesn't contain a definition
for "Fill",dbadaptor not referenced. This is what I
have. Please help. Thanks.
using System.Data;
using System.Xml;
using System.Data.SqlServerCe;
DataSet dsRemote = new DataSet();
dsRemote = ws.GetRouteSheet(2);
SqlCeConnection conn = new SqlCeConnection
(LocalStorage.ConnectionString);
SqlCeDataAdapter adapter = new SqlCeDataAdapter();
adapter.SelectCommand = new SqlCeCommand("SELECT *
FROM ROUTE_SHEETS", conn);
adapter.Fill(dsRemote); Tag: ActiveSync function Tag: 67388
Using FtpPutFile with PPC 2002
I can make an FTP connection from my wireless device
using the wininet dll but once I make the connection I
want to FTP images to the webserver. When I make the call
to FtpPutFile on the wireless device(I am using C# for my
wireless app) I get a NotSupportedException. I read that
there is a bug with FtpPutFile in Pocket PC 2002. There
is a workaround that involves opening the file, reading
the file, writing the file etc. I would like to know if
this workaround will work with IMAGE files or if the
FtpPutFile problem has been fixed by the Pocket PC 2002
Service Packs. I have seen a service pack 4 out there,
will this fix this problem? I can't find too much info on
this.
Any help is very much appreciated. Thank you. Tag: ActiveSync function Tag: 67383
How do I change My Documents location?
How can I change the default location for 'My Documents' to the My Documents
folder which I've created on the Storage Card?
A while back I moved all of my Notes into this folder and I nver noticed any
problem on the Pocket PC, all of my Notes show up in the Note applet just
fine. However, I just noticed that on my PC, all of my Outlook notes are
gone! Although the Note applet can find them, evidently ActiveSync doesn't
see these as Outlook notes anymore since they're not in the expected
location. Does this diagnoses make sense? Will changing the defined location
of My Documents to the storage card solve the problem?
Thanks for your help!
- Joe Geretz - Tag: ActiveSync function Tag: 67380
Change Registry settings
Is it possible to change values in the Registry for
HKEY_LOCAL_MACHINE\COMM\NETWLAN1\PARAMS?. Tag: ActiveSync function Tag: 67379
Listview control question.
To make an application faster and more responsive, I switched a list view
control to virtual. I'm not doing custom drawing, just owner data. Everything
works great except that I'm having trouble preserving one behavior of the
program. In the handler for a particular message which tells the dialog to
update the list data, I have logic which tries to select the last item and
bring it into view:
// WTL syntax:
numItems = Compute();
lastItem = numItems - 1;
m_list.SetItemCount(numItems);
m_list.SetItemState(lastItem, LVIS_FOCUSED | LVIS_SELECTED,
LVIS_FOCUSED | LVIS_SELECTED);
m_list.EnsureVisible(lastItem, TRUE);
Trouble is, the item is not selected and does not scroll into view. What's
more, the control seems to remember the previous selection. For instance
suppose that item 3 was previously selected (manually, by the user) and the
above tries to select the last item, say 23. The control will not scroll down
to show item 23. Moreover, if the user tries to move the cursor down, then
suddenly item 4 will be selected and focused.
Is there some trick to make this work with a virtual list view control? Maybe
it's sensitive as to when in the painting cycle these calls are made? Tag: ActiveSync function Tag: 67377
waveIn application - have you written one?
If anybody has written a waveIn application, and has access to a Dell
Axim X5 shipped after July 2003 (ROM version A05), could you please
try your application on that Axim? I would like to confirm that it is
impossible to write an application that gracefully survives a cycling
of the power on such an Axim if the sound input was in progress at the
time the power was turned off. My application fails to resume under
these conditions, and I would like to know if other applications do
the same.
-Robert Scott
Ypsilanti, Michigan
(Reply through newsgroups, not by direct e-mail, as automatic reply address is fake.) Tag: ActiveSync function Tag: 67376
Pare web page
This is a multi-part message in MIME format.
------=_NextPart_000_001C_01C39D66.190FD980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How can I parse a web page in C# program. I would like to read a =
webpage in a background, parse it and display values in Windows form. =
Does anyone have any examples or tips on how to do that?
--=20
Thanks
-------------------
czupet@wsinc.com
------=_NextPart_000_001C_01C39D66.190FD980
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.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>How can I parse a web page in =
C#=20
program. I would like to read a webpage in a background, parse it =
and=20
display values in Windows form. Does anyone have any examples or =
tips on=20
how to do that?</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><BR>--=20
<BR>Thanks<BR>-------------------<BR><A=20
href=3D"mailto:czupet@wsinc.com">czupet@wsinc.com</A></FONT></DIV></BODY>=
</HTML>
------=_NextPart_000_001C_01C39D66.190FD980-- Tag: ActiveSync function Tag: 67375
Handheld suited for computationally intensive programming?
Hello everyone,
can someone let me know which handheld would be best suited to develop
computationally intensive applications. Some of the options were the high
end dell axiom model,etc. But I am clueless. Please let me know which
handhelds offer the maximum processing power and memory keeping in mind the
os that accompany them. thanks
Abhishek Gattani Tag: ActiveSync function Tag: 67374
Edit Bitmap Bits
I understand how to load a bitmap file from disk and load
it into an HBITMAP. I can even paint it on the screen.
My question is: How do I access the individual pixel
values within the bitmap? For instance, if I want to do
contrast adjustment. Using dc.GetPixel/SetPixel is way to
slow.
Also, the files are all 8-bpp grayscales. How can I load
the palette into an HPALETTE or similar?
Thanks,
Dave Tag: ActiveSync function Tag: 67372
Question about using GAPI with MFC
Hi, sorry if this is an old topic somewhere, but I was wondering if it
was possible to use GAPI with MFC?
I am relatively new to pocketpc programming, I'm using an IPAQ, and
all the GAPI programming I've done is with the regular winCE app and
eVC. I've tried looking up tutorials online but it seems as if I can
only find GAPI tutorials for regular winCE apps and not MFC.
Does anyone know of a good tutorial for programming GAPI on MFC? Or if
that's possible and such?
Thanks in advance,
- Qing Li Tag: ActiveSync function Tag: 67371
Bug in destructor of CCeSocket class
Hi!
I have an iPAQ 3600 with PocketPC 2000, and I want to
write a server application that accepts incoming
connections using the CCeSocket class.
I know that I have to derive from that class and override
the OnAccept method and so on, but try the following code:
CCeSocket *mySock;
mySock = new CCeSocket( CCeSocket::FOR_LISTENING );
mySock->Create();
delete mySock;
Everything is fine as long as I don't delete my object, then system
pauses. I see such code in the destructor:
code:------------------------------------------------------
--------------------------~CCeSocket()
{
//...
if (m_pListenThread)
{
while (::GetExitCodeThread (m_pListenThread->m_hThread,
&dwCode) )
{
if (dwCode == STILL_ACTIVE)
{
Sleep(50);
}
}
gCeSocketCS.Lock();
delete m_pListenThread;
m_pListenThread = 0;
gCeSocketCS.Unlock();
}
}
-----------------------------------------------------------
---------------------
it means, that if ListenThread returns 0 (normal exit),
then while-cycle never ends. I think they just
forgotten "else break;" as in the code of CCeSocket (FOR_DATA), in
fact the problem nto exist if the CCeSocket is created (FOR_DATA)!
how to solve this problem? Can i modify MFC source file and so
MFC300.dll? How?
Thank you,
Antonio Tag: ActiveSync function Tag: 67369
Pocket PC and RAS Server
What is the trick to connecting to a RAS Server via dialup
from a Pocket PC? Anybody had any luck or issues?
The PDA authenticates to the RAS Server (the
security Log verifies this), but then the connection is
dropped immediately after the initial connection.
Any Ideas?
Thanks Tag: ActiveSync function Tag: 67361
Raw Ir
Is it possible to do raw-ir on the pocket pc. We were
developing a palm application where the raw-ir worked on
some processors but not others. Would the same
inconsistency be found on the Pocket Pc platform? Tag: ActiveSync function Tag: 67360
Full Screen Application
Hi,
How can I make an application which runs in full screen - that is it covers
even system toolbars etc.
TIA Tag: ActiveSync function Tag: 67357
Deployment Error
Hi
I am developing a little application for the pocketPC 2002 platform, using
VB.NET.
The emulator always worked fine, and now i always get deployment errors...
The .Net CF is installed, that is not the problem, it copies the right
files, but it does not start the program anymore.
Any idea what went wrong ?
Thx
Johan De Paepe Tag: ActiveSync function Tag: 67352
Set full screen pocket ie for flash file
Hi there - for security reasons, the flash stand alone player is unable to
access data outside of itself (In order that people use it as a macro-style
virus attack.). A colleague wishes to create a flash file on the pocket ie
that when a button is clicked, an asp page is called and an access db is
updated to record that click as a web stat. This is easy enough within ie
itself and I have sent him the files to do the job, but he has asked if it
is possible to get the full screen effect that the flash stand alone player
does. He is creating this content for pocket ie 2003 - is there any way of
making ie full screen or like the kiosk mode of the desktop ie?
many thanks
frank Tag: ActiveSync function Tag: 67349
Pocket Outlook database through RAPI
Dear all,
I want to read Pocket Outlook's 'Contacts Database'
through RAPI.
But I don't know which fields are mapped with which
property ids.
I mean, what is the property_id value for 'Name', 'Job
Title', etc.
If you know how these values are defined, please tell me.
Thank you in anticipation
PPC. Tag: ActiveSync function Tag: 67340
pocketpc 2003 pcmcia driver irq problem
Hi,
I'm porting a driver from wince 3.0 (pocketpc 2002) to wince 4.2 (pocketpc
2003). The driver is working properly on the 3.0 device (ipaq 3970) but will
not work on the 4.2 device (ipaq 5550). Eveything looks ok and all the calls
to pcmcia.dll return ok. However my ISR never gets called. The pcmcia card
generates the interrupt but it never reaches the driver. Any ideas?
Thanks, Martin. Tag: ActiveSync function Tag: 67334
C++/File size on PPC
Hi, I seem to be having a problem writing large files on the PPC.
GetDiskFreeSpaceEx reports 6.5Mb free but whenever I try writing a large
file the write fails at around 4.65Mb on both the emulator (EVC 3) and our
PPC (WCE2002). I looked through the help and the only reference to file size
would seem to indicate an upper limit of 32Mb for WCE2002. Anyone any ideas
? Tag: ActiveSync function Tag: 67330
ONEXIT.C Pocket PC popup on running
Hi there:)
After successful compilation of my APP under eBMVS I run the beast and
it fetch me with a need of the ONEXIT.C . Any idea why does it need
it?
After pressing CANCEL the programm runs.
Any idea?? Tag: ActiveSync function Tag: 67328
Start ActiveSync on device after disconnect
I'm interested in disconnect the connections to the PC and
found the RasHangup function (and RasEnumConnections).
I have ActiveSync up and running and when I call RasHangup
it seems to disconnect (hear disconnect sound and can't
see the device anymore from file explorer on PC).
Later I want to get ActiveSync up and running again (from
device).
I try to start repllog with the AppRunAtRs232Detect switch
and it tries to connect but hangs with the "Connect To"
message, "Status: Connecting to Host".
Any idea why? Should something more be restarted?
If I power off/on or take the cable out/in it reconnect as
it should.
Also if I only kill the repllog process instead of use
RasHangup it reconnect when start repllog with
AppRunAtRs232Detect but then it's possible that a
connection still exists and I don't want that. Tag: ActiveSync function Tag: 67311
How to copy db-file to emulator
How do I copy (and convert) a database file to the Emulator. If I just copy
the mdb file using the Remote File Explorer the file will not be converted
from mdb to cdb. I am using Visual Tools 3.0 (eVC++).
/M Tag: ActiveSync function Tag: 67310
Dummem
Hi ,
Is there any utility called DumpMem availabale in embedded Visual
studio or as a third party tool for Win CE.
I was told that this is used to know how much memory a dll/process is
taking at runtime Tag: ActiveSync function Tag: 67308
Fullscreen Pocket IE???
Hello,
Im New to eVC++ 3.0
Is it possible to open the pocket IE Through my (ppc 2002) Application in
Full screen mode without any task bar and command bar. I don't want to
provide any option to user to switchover to normal screen mode ??? though i
am able to disable task bar completely with the handle HHTASKBAR and
disabling it but that's not what i am looking for as that creates lot of
problems afterwards.
is there any API or something like that which i can use.
any leads will be helpful.
Thanks and Regards,
Arvind Tag: ActiveSync function Tag: 67300
Data Synchronizing
I'm developing a C# application. Where can I find some
examples about syndhronizing between SQL Server CE 2.0 and
SQL Server 2000? Tag: ActiveSync function Tag: 67296
exception handling with eVC 4.0 for PocketPC2003
Did any tried try-catch in their PPC 2003 program?
I get LNK2001: unresolved external symbol "const type_info::`vftable'" when
I try to use try-catch in Pocket PC 2003 build. For STANDARD SDK it barks
at -GX, but somehow works
Thanks in advance Tag: ActiveSync function Tag: 67292
how to get system idle time count
How to get system idle time count(from time when no tap screen or
key) like GetTickCount()?
thanks. Tag: ActiveSync function Tag: 67287
Why my GSM modem is not recognized by TAPI as a voice device?
Hi,
I am a beginner of TAPI.
Platform: PocketPC 2003 Phone_Edition; Modem: GSM radio; We are using
RIL in this OS;
My problem is: To make the voice call, I guess the
LINEDEVCAPS.dwBearerModes has to be LINEBEARERMODE_VOICE, and
LINEDEVCAPS.dwMediaModes has to be
LINEMEDIAMODE_INTERACTIVEVOICE;
But these two parameters on my terminal are: dwBearerModes:
0x48(LINEBEARERMODE_PASSTHROUGH + LINEBEARERMODE_PASSTHROUGH);
dwMediaModes: 0x10 (LINEMEDIAMODE_DATAMODEM)
Are they controlled by the registry settings, or something else? My
reg setting for this modem is:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"DeviceArrayIndex"=dword:00000008
"IoBase"=dword:bfac0020
"Irq"=dword:00000000
"Prefix"="COM"
"Index"=dword:00000002
"Flags"=dword:00000008
"Dll"="Serialdrv.Dll"
"Order"=dword:00000001
"Tsp"="Unimodem.dll"
"IoLen"=dword:00000024
"Priority256"=dword:00000067
"DeviceType"=dword:00000000
"FriendlyName"="GPRS Modem - Control Port as COM2:"
"DevConfig"=hex:\
10,00,00,00,05,00,00,00,10,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00
"IClass"="{f8a6ba98-087a-43ac-a9d8-b7f13c5bae31}"
Where to tell Unimodem.dll or sth else that I am using RIL?
Can somebody help me? Thanks a lot!
Chi Tag: ActiveSync function Tag: 67285
what is Drop-in CPU database?
I get this error message when I want to start EVT 3.0 and EVC 4.0.
Failed to connect to the Drop-in CPU database.
what is it mean? what should I do? Tag: ActiveSync function Tag: 67284
No ActiveSync programming support
Hi:
I've been posting some questions regarding activesync
programming and found no answers. Seems that Microsoft is
not giving any support nor interested in promoting this
valuable tool to develop serious apps.
Does anyone know how to obtain info or a helping hand?
Marcelo Asorey Tag: ActiveSync function Tag: 67282
PPC 2003 DesktopToDevice Fails
Hello
Does anyone know why with PPC 2003 DesktopToDevice Fails to overwrite the
database tables. I get -2147024864 Error. I find if I delete the database
it will work sometimes.
Thanks Eric Tag: ActiveSync function Tag: 67281
pocketpc ear training (music) app development
Looking for some pointers to get me started:
I want to develop an ear training app for the pocketpc. Features will
revolve around playing a note (a pitch) , or a sequence of notes, and
the user will identify the note by name, or the interval (distance
between) the notes. The sounds should resemble piano.
Problem is, I don't know thing one about programming multimedia or
sound, on any platform. But I am an experienced programmer, and I
have a MSDN universal license so I have access to all the SDKs. What
are the basic technologies and SDK(s) I should look at? For example,
will I record my pitches on an electronic keyboard for playback on the
pocketpc? Using MIDI format? I guess that's really my basic
question: how do I create and playback the pitches?
I'm looking forward to your suggestions.
- leo tohill Tag: ActiveSync function Tag: 67277
Personal Certificate Help...
Hello,
I'm a bit confused and hope someone has an answer for me. I am trying to
connect my IPAQ 1945 to a wireless network. I have a SanDisk 802.11b Connect
SDIO network card and have been issued a personal certificate in order to
identify myself on the network. My problem is that I need to figure out how
to get the certificate loaded. The file is a .p12 file and has a private key
thus I can not simply export the file from my laptop since it then becomes a
root certificate and I loose my private key. I've also seen a post where
there was a hack for the registry but that didn't seem to work. SO, if
anyone knows how to load a .p12 file please let me know what I need to do!!!
Thanks,
triton@nc.rr.com Tag: ActiveSync function Tag: 67276
Show a dialog box in InitInstance
Hello,
I created an application with MFC's Doc/View structure on Pocket PC 2002. In
InitInstance of CWinApp derived Class, I putted code to show a Modal dialog
box before other initailization. If the user click OK, the program will
continue to run. Otherwise the InitInstance will returns FALSE to stop the
program.
The problem is that after the dialog box returns IDOK, the program is still
running, but the main window is hidden in background. Do I implement this in
wrong way? I can move this code to OnNewDocument of CMyDocument or somewhere
else. I am wondering why the main window will be hidden after a dialog box
displayed.
Thanks,
Shangwu Tag: ActiveSync function Tag: 67275
ADOCE in WinCE 2.12 (forever)
I would like to know as I can use a database Access (CDB)
in eVC++. If somebody will have some example of code will
go to help.
I am trying to use the following code:
BOOL CEXADOCEDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework
does this automatically
// when the application's main window is not a
dialog
SetIcon(m_hIcon, TRUE); // Set big
icon
SetIcon(m_hIcon, FALSE); // Set
small icon
//Make the Window Wider so the title bar is
viewable
if (!SetWindowPos(this,0,0,480,200,SWP_NOZORDER |
SWP_NOMOVE)) {
AfxMessageBox(_T("Error Resizing Current
Window."));
}
CenterWindow(GetDesktopWindow()); // center
to the hpc screen
//Create the ADOModule
m_pADOMod = new ADOModule();
//Initialize the ADOModule
if (FAILED(m_pADOMod->Initialize())) {
AfxMessageBox(_T("Database support cannot
be initialized\r\n")
_T("Please make sure that you have
the proper database on\r\n")
_T("your device, and that your
device supports ADOCE."));
}
return TRUE; // return TRUE unless you set the
focus to a control
}
/////////////////////////////////////////////////////////
HRESULT ADOModule::Initialize()
{
TCHAR szFilter[] = _T("MS-Access Files
(*.cdb)|*.cdb|");
//You are required to pick the database file to be
working with
CFileDialog cfd(TRUE,_T
("cdb"),NULL,OFN_FILEMUSTEXIST,
(LPCTSTR)szFilter,NULL);
if (cfd.DoModal() == IDOK) {
//Store the path of the database file for
later use
m_strFilePath = cfd.GetPathName();
//Initialize the COM system:
//Note that the Multithreaded flag is the
only
//one supported in Windows CE at this time.
if (FAILED(CoInitializeEx(NULL,
COINIT_MULTITHREADED))) {
AfxMessageBox(_T("Error
initializing COM"));
return E_FAIL;
}
//Get the Recordset interface
if (FAILED(CoCreateInstance
(CLSID_ADOCERecordset, NULL,
CLSCTX_INPROC_SERVER, IID_IADOCERecordset,
(void**)&m_pIRecordSet))) {
AfxMessageBox(_T("Could not load
ADOCE"));
return E_FAIL;
}
//Change class state to initialized state
m_bInit = TRUE;
//Make sure that we're dealing with a
database that this
//sample application can work with.
if (!VerifyCompatible(TRUE)) {
return E_FAIL;
}
return S_OK;
}
return E_FAIL;
}
///////////////////////////////////////////////////////////
BOOL ADOModule::VerifyCompatible(BOOL bShow)
{
long size = 0;
HRESULT hr;
COleVariant source;
COleVariant connStr;
CursorTypeEnum cte = adOpenKeyset;
LockTypeEnum lte = adLockReadOnly;
//Check to make sure that the 'ToyTable' table
exists
source.SetString(_T("ToyTable"),VT_BSTR);
connStr.SetString((LPCTSTR)m_strFilePath,VT_BSTR);
//Open the table
hr = getRecordSet()->Open
(source,connStr,cte,lte,adCmdTable);
if (FAILED(hr)) {
return FALSE;
}
//And get the record Count
hr = getRecordSet()->get_RecordCount(&size);
if (FAILED(hr)) {
return FALSE;
}
CString strMsg;
strMsg.Format(_T("'ToyTable' table opened properly
with %ld records.\r\n"),size);
//Close the 'ToyTable' recordSet
hr = getRecordSet()->Close();
if (FAILED(hr)) {
return FALSE;
}
if (bShow) {
AfxMessageBox(strMsg);
}
return TRUE;
}
However he is not functioning. I need a urgent aid. The
2,12 version of windows ce that I am using is and the
processor i486. Tag: ActiveSync function Tag: 67274
IrDa adapter: Serial or USB?
I'm about to start a development of an application pair (ppc-winXP) that
will use IR communication.
Are there substantial differences in programming IrDa communication for USB
and Serial IrDa adapter for desktop windows (winxp pro)?
which one would you choose, and why?
thanks,
Vedran. Tag: ActiveSync function Tag: 67273
Having problem with ppc emulator
I meet a problem during deploying pocket pc app. In my P4
1.5ghz, with windows 2000 pro, when i run the pocket pc
app in debug mode, it will load the app, install the
compact framework and straight away run the app...
but in my p4 2.4C with win xp, i need to go to
the "programs files" folder, find the copied application
and run it.. why will this happen??
Louis.. Tag: ActiveSync function Tag: 67268
Help Please
Hey,
Can someone point me to an example of how to get data
from Sql Server Ce using a SELECT query with OLE DB? I
can get CREATE TABLE and INSERT to work, but I can't
figure out how do get data out of a command execute. All
the examples I have seen just use IOpenRecordset, but I
want to use a query and I can't find any examples. I have
gotten to the point of passing the query with:
hr = pICmdText->SetCommandText(DBGUID_SQL, pwszQuery);
But now what?
Thanks for any help.
(I am using EVC 4.0) Tag: ActiveSync function Tag: 67264
RAPI for .NET
Is there a managed version of RAPI for .NET
I've had a little play with RAPI in VB6 (thanks to the RemoteCETypeLibrary)
but am struggling to do the same in VB.NET. It will take some time to
convert all the types and declare the functions correctly so wanted to check
that it's not been done before or whether a better alternative exists before
it get stuck in. Tag: ActiveSync function Tag: 67261
Today Background
Hi,
I need to write a simple program that will automatically build new (.tsk)
files and use them as Today background.
Does anybody know if there is a way to change the Today background
programmatically...
I know how to create the (.tsk) file, but I don't know how to change put in
on the today on the fly.
thanks in advance,
Joe Tag: ActiveSync function Tag: 67258
How can I transfer my files via P/Invoke of MS ActivwSync(eVC++ 3.0 project)