SQL CE WITH EVC++
Hello
I'm trying to use _bstr_t and variant_t variables with SQL CE and I get an
error on building:
error LNK2019: unresolved external symbol "void __cdecl
_com_issue_error(long)" (?_com_issue_error@@YAXJ@Z) referenced in function
"public: __cdecl _bstr_t::_bstr_t(unsigned short const *)"
(??0_bstr_t@@QAA@PBG@Z)
What library do I need to include to make this work?
Thank you.
Ps. All documentatio say that it's easy integration with SQL CE, but thus
far I can't even create a catalog ???!!! Tag: WINEXEC Tag: 76840
about pmailFolders Object Store DB
I have almost done of my Backup/Resotre App
But I found there's a problem. The Sync Relation has some strange situation after resotreing
After restoring, it always uses "Geset" to sync with desktop and of course all sync items displayed in ActiveSync are gone
Then I found that if I don't restore "pmailFolders" DB, the sync relationship works normal
What I am doing when resotring is delete all records if the DB exist then insert all recoreds. This method works normally, but cause this strange problem. It coufuses me and I don't konw how to dealing with this pamilFolders DB
Help~ Thanks a lot! Tag: WINEXEC Tag: 76839
How can I use System.Management
I'm trying to use WMI through System.Management in C#. When I do it for a windows application is easy but for pocket pc it does not appear in add reference
Is it possible to use System.Managemet with Pocket PC 2003
And if so, how can I add a reference to System.Management
Thank you Tag: WINEXEC Tag: 76835
Tunnels in pocket PC 2003
Hi!
Somebody knows hows make, and up a tunnel ipv6 in PPC 2003?
I know that exists tuneels 6to4 and ISATAP, but its automatically. Is it
possible make manually?
Thanks! Tag: WINEXEC Tag: 76834
CeFlushDBVol problem
I have a CE database stored in compact flash memory. Afer adding a new
record to the database I call CeFlushDBVol to make sure data is
written to the flash memory. The application is running on about 100
Pocket PC 2002 devices without any problems.
Recently, I installed the application on 10 new Symbol PPT8860 with
Pocket PC 2003 (CE 4.2). It works fine on 6 of them, but on 4 of them
the call to CeFlushDBVol takes 6 to 7 seconds instead of the normal
less than one second! Have anybody else noticed this strange
behaviour?
Are there any known bugs in CE databases at the moment (CE 3.x or CE
4.x)? Tag: WINEXEC Tag: 76833
Problem with Virtual List Control in Emulator of Pocket PC
Dear all,
I had tried to use List Control in Virtual List mode using eVC 3.0.
But I met a problem that I cannot solve.
The problem is when I click on the list item of the List (my program run in
the Pocket PC Emulator), I got an error message "Assertion failed. TestProg:
File winctrl2.cpp, Line 479"
But with that program, I run it on a Pocket PC, nothing happen when I click
on List item.
Please tell me what I did wrong.
Thank you very much in advance.
-Kien Bui Tag: WINEXEC Tag: 76831
Newer version of .NET CF required
I'm trying to do a database replication. Upon executing the code I got
this "This application requires a newer version of the Microsoft .NET
Compact Framework than the version installed on this device". The
"Details" error: TypeLoadException Could not load type
System.Data.SqlServerCe.SqlCeConnection from assembly
system.Data.SqlServerCe,Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=969DB8053D3322AC. FYI, I'm not using visual studio
.net, I'm using sharpdevelop. Do I need extra steps for deployment?
Thanks! Tag: WINEXEC Tag: 76830
e800 PPC -> USB Flash Drive
Hi,
I noticed that the Toshiba e800 supports a USB keyboard via Presentation
Pack accessory. I am wondering if it is possible that it can support USB
flash drives (I have a mini cruzer 256MB). Naturally I haven't seen anything
mentioned in the documentation about this so I am assuming it doesn't. But
would it be possible to write a program/driver to support USB Flash drives
via Embedded Visual C++ for it?
Just an idea. Tag: WINEXEC Tag: 76825
Device ID from Dell Axim X3
Device ID from Dell Axim X3
I am having trouble getting device id (UUID) from dell axim X3 pocket pc
using evc++ 4.0.
This code, which works for a Pocket PC 2003 Toshiba e350 and Toshiba e750
always returns error for Axim X3:
#define IOCTL_HAL_GET_DEVICEID CTL_CODE(FILE_DEVICE_HAL, 21,
METHOD_BUFFERED, FILE_ANY_ACCESS)
void GetSerialNumberFromKernelIoControl()
{
DWORD dwOutBytes;
const int nBuffSize = 4096;;
char strDeviceInfo[200]="";
byte arrOutBuff[nBuffSize];
char strNextChar[20]="";
BOOL bRes = ::KernelIoControl(IOCTL_HAL_GET_DEVICEID,
0, 0, arrOutBuff, nBuffSize,
&dwOutBytes);
if (!bRes)
{
ErrorMessage("could not retrieve serial number","Error");
return;
}
for (unsigned int i = 0; i<dwOutBytes; i++)
{
sprintf(strNextChar,"%02X", arrOutBuff[i]);
strcat(strDeviceInfo,strNextChar);
}
memcpy(SerialNo, strDeviceInfo+40, 2);
memcpy(SerialNo+2, strDeviceInfo+45,9);
memcpy(SerialNo+11, strDeviceInfo+70,6);
memcpy(SerialNo+17, "\0",1);
}
Thanks in advance for any help with this.
--
Jeff B.
--
Jeff Berezin
CTO
eMedicine.com
100 Elwood Davis Road
North Syracuse, New York 13212
Office: 315.413.0661
Cell: 315.263.7208
Fax: 775.254.5661 Tag: WINEXEC Tag: 76824
PocketPC 2003 unable to get device ID using KernelIoControl
Hi,
I can not get the device ID of PocketPC 2003 devices. I have been
using the code at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/retrievedeviceid.asp
The KernelIoControl call always returns a status of
ERROR_INSUFFICIENT_BUFFER. It tells me that the required buffer size
is 36, but gives this error even when I set the buffer size to 36.
I read in another post that it has something to do with PocketPC 2003
apps running in user mode only, which does not give me the permission
to call KernelIoControl? If thats the case, is there any way in
PocketPC 2003 to get a device ID?
Any help would be greatly appreciated.
Thanks,
Tony Tag: WINEXEC Tag: 76823
How can I change PictureBox's Picture in vs.net
hi,
I put an pictureBox in the form.
In the IDE,I can set an picture into the PictureBox by Property "Image".
but in the code I can't use this way to set an picture into the PictureBox:
PictureBox1.Image= Image.FromFile("a.bmp");
I checked for MSDN and found that in .net cf it doesn't support class member
"FromFile()" in Class "Image"
now I want to know how I should do when I want to use code to set an
picture?
who can help me,please Tag: WINEXEC Tag: 76812
RDA ERROR 28574
Client agent Error 28574 encountered during the pull
operation between sql server ce and sql server 2000 using
RDA.
Kindly post a solution at the address
given.majid_1@hotmail.com Tag: WINEXEC Tag: 76811
! Error casting enum to ICompable in CF/PPC
I have a .Net CF DLL that when deployed and executed on the desktop works
fine, but when executed in the PocketPC emulator or my HP PPC device throws
an execption (System.InvalidCastException) when casting an enum to
IComparable. (The enum is valid, or itvseems so as I can view the symbolic
value in the debugger, or cast to an int.) Any clues?
thanks,
mike Tag: WINEXEC Tag: 76809
PocketPC SQL Server Connection
I am using this string as my connection string to a SqlConnection
object.
constr = "user id=datamobil;password=datamobil; data
source=ServerName;persist security info=False;initial
catalog=INDB;Integrated Security-SSPI;";
I am running the code in an emulator on the same machine that the
server exists. I keep getting an error "SQL Server does not exists or
access denied. Can somebody help me? Tag: WINEXEC Tag: 76807
Hosting the CompactFramework designer
Hi,
I'm interested in hosting the Compact Framework designer in an external
application.
I found an example that shows how to host the standard Windows Forms
Designer. However I didn't manage to tweak it into hosting the Compact
Framework Designer.
Can any one (maybe someone from MS?) assist with that?
Thanks,
Yaniv Tag: WINEXEC Tag: 76805
Pocket PC and Sound/Recording
Hi!
1. Is it possible to use some alogrithm on the incoming audio data from
microphone in realtime with the waveform audio interface (i am thinking
about reverb or something like that)?
1.1. if not, are there any sound libraries which allow such functionality?
2. is it possible to compress this incoming audiodata from mic in realtime?
-> i am thinking about sending this (hopefully compressed) recorded
audio data in "nearly" realtime to a server. are there any samples out
there which implement these ideas? (evc++, or compact framework)
Thanks a lot for each reply,
Joachim Tag: WINEXEC Tag: 76804
A revolutionary application, iShop from SmartWorlds
Hello, we wanted to share with you a free application that we
developed at SmartWorlds (http://www.smartworlds.com).
The application is called iShop. It allows a WiFi enabled Pocket PC,
Smarthphone and J2ME Cellulars to get information and reviews on Books
and Electronics from Amazon.com directly to your Pocket PC,
Smarthphone and Cellular. You can download for free the application
from http://www.smartworlds.com/ishop.htm. Also we have two forums
dedicated to iShop, one on yahoo
(http://groups.yahoo.com/group/ishop-mobile/) and the official one on
the site.
We hope that you like the application and please feel free to gives us
feedback on iShop, it will help us to improve the application.
Thank you
SmartWorlds Tag: WINEXEC Tag: 76800
moving from evc 3.0 to 4.0
i've got a project in 3.0 and would like to move to 4.0..
but like to still support PocketPC 2000 devices.
firstly, when i open evc 4.0, will i have to re-create
projects for it.
the executable created with 4.0, will it run unchanged
on PocketPC 2000 devices.
thanks. Tag: WINEXEC Tag: 76797
Determining font size to use on Windows Mobile 2003 Second Edition
FYI - sample C# code for this has been posted on the team blog:
http://blogs.msdn.com/windowsmobile/archive/2004/04/17/115294.aspx
--
Robert Levy
Program Manager, Microsoft Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no rights. Tag: WINEXEC Tag: 76796
Pro Football Game for Pocket PC
Pocket PC owners who are football fans and stats junkies may wish to try out
"FuhbawPPC" for the Arm 1100 processor. And possibly other CPU if you ask.
--
http://www3.sympatico.ca/hpolvi/
home of FuhbawPPC, Haakee and Beisboll
H.Pol Sixe
hpolvi@hotmail.com Tag: WINEXEC Tag: 76791
How to read out DLL which is in ROM ?
Hello,
i want to read out a DLL (e.g. coredll.dll and a few others, to see what
functions are imported / exported, readable text inside the DLL) from my
PocketPC, which is stored in ROM of my device. Is this possible ? I thought
about touching the file (so OS is creating a copy of the file in RAM) or by
just reading complete DLL and writing a copy to a new file. Is this possible
?
Perhaps there is already a tool for doing this ?
Regards,
Martin Tag: WINEXEC Tag: 76790
HP Jornada 928
I've been trying to find the flash memory directory "HP Safe Store", as
mentioned in the following web page, but the directory isn't there.
http://h20015.www2.hp.com/en/document.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpjornada989523&docName=bpia2363&cat=use
Any ideas or knowledge?
Thanks
Dave Tag: WINEXEC Tag: 76788
OK selection detect in Property Sheet
(eVC4, MFC, Pocket PC environment)
I have a property sheet opened. I would like to know what's the
message/event I can customise when the user clicks the OK button at the top
right of the display.Thanks. Tag: WINEXEC Tag: 76782
Debugging my app while it runs on the device
Hi
I have an app that is ok in the PPC2003 emulator (VB.Net/VS 2003 .Net) but behaves differently when deployed on the device. I'm going spare putting in MessageBoxes everywhere. Can I use the debugger while executing the app on my device? I have ActiveSync 3.7.1. installed and my development machine is 2003 Server
I've tried making my "deployment device" the "Pocket PC Device" rather than the emulator and, when I do that, the "establishing connection" displays for a while then it fails with a message saying there were "deployment errors" but no details
Cheers, Peter Tag: WINEXEC Tag: 76780
Help: Visual Basica nd Pocket PC
Loaded c++ 4.0, SP3, Visual basic .net, and then Pocket pc 2003 sdk.
When I then go into Visual Studio there is no pocket pc project templates.
What did I do wrong? Have uninstall and reinstalled 3 times with same
results. Heeelllppp! Tag: WINEXEC Tag: 76775
Pls recommend alternative pocket PC to HP
We've experienced such bad service with our other HP products, we no longer
want to purchase anything from HP. We no longer want the HP 5000 PDF series
PDAs with wireless and windows pocket PC support. Could anyone recommend
alternative non HP products with similar features. Tag: WINEXEC Tag: 76772
How do I read PocketPC registry from ASP.NET application
Hi All,
I would like to be able to read Device ID from PocketPC.
I guess I have to read PocketPC's registry somehow.
How do I do this?
--
Thanks for your time
Goran Djuranovic Tag: WINEXEC Tag: 76766
Impossible to delete MyProgram.exe
Hallo,
I have writeng a program for mij Cassiopeia 2002 in VCE++ 3.0
After that I have run the program, I am no more able to delete it.
I always get the warning : Access is denied.
This even happens with the MS demo program "Hallo World"
After pressing the reset button, I can delete it.
Regards
Frits Tag: WINEXEC Tag: 76760
Flickering with SHRecognizeGesture()
My program's main window usually is flicker free, but when the user taps and
holds somewhere, I get extreme flickering.
My WM_LBUTTONDOWN handler:
SHRGINFO rg;
rg.cbSize = sizeof(rg);
rg.hwndClient = hWnd;
rg.dwFlags = SHRG_RETURNCMD;
rg.ptDown.x = LOWORD(lParam);
rg.ptDown.y = HIWORD(lParam);
if(SHRecognizeGesture(&rg) == GN_CONTEXTMENU)
{
Click(LOWORD(lParam),HIWORD(lParam),false);
InvalidateRect(hWnd, 0, FALSE);
}
else
{
Click(LOWORD(lParam),HIWORD(lParam),true);
InvalidateRect(hWnd, 0, FALSE);
}
Is this not the correct way to do it?
Any ideas why my window flickers so much when using the context menu
gesture?
Thanks!
- Pete Tag: WINEXEC Tag: 74759
have problem when receiving multicast packet
I have try to use the sample program of receiving mulitcast packet which is
on this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm/htm
l/_wcesdk_receiving_an_ip_multicast_datagram_sample.asp
Whenever the function recvfrom is calling, the PPC stop there. I have try to
use that sample program on desktop ( usning VC++), there is no problem.
Could anyone tell me what the problem is ?
THX~~~~ Tag: WINEXEC Tag: 74756
have problem when receiving multicast packet
I have try to use the sample program of receiving mulitcast packet which is
on this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm/htm
l/_wcesdk_receiving_an_ip_multicast_datagram_sample.asp
Whenever the function recvfrom is calling, the PPC stop there. I have try to
use that sample program on desktop ( usning VC++), there is no problem.
Could anyone tell me what the problem is ?
THX~~~~ Tag: WINEXEC Tag: 74755
Using the Windows CE .NET Internet Explorer ActiveX Control
I went by implementing Mike Hall's article on "how to use eMbedded
Visual C++ to create an MFC-based application that hosts the Windows
CE .NET Internet Explorer ActiveX control". Everything went well and
all compiled, but when I run the file on my iPAQ H5550 (CE 4.2), it
gives an error "Failed to create empty document". It doesn't seem to
be a memory leak problem, as some have posted on different newsgroups.
It can't be from my mfcce400.dll or olece400.dll either. Does anyone
have any other suggestion on what can be the cause of this error? I'd
appreciate any tiny clue.
-Amir Tag: WINEXEC Tag: 74752
Intel C++ compiler for embedded Visual C++
Why use this compiler over Microsofts? Does anyone know if there are any
significant performance increases?
http://www.cs-software.com/software/fortran/intel/intel_win_em.html
Thanks
Doug W.
www.pda-robotics.com Tag: WINEXEC Tag: 74751
focus event on fields in a tabbed page
Hi all,
I am trying to set the focus on the first textbox that
appears when a user clicks on a tabbed page of a tabbed
control. However, When I try it with the tabPage.GotFocus event , or the
Click event, the cursor
is not positioned in the desired field (i.e. does not position at all). Any
suggestions?
Thanks,
Carlos Tag: WINEXEC Tag: 74748
Right aligned text in textbox not working (C#)
I cannot get text in textboxes to be aligned right. I cannot choose it in design time. If I add code in InitializeComponent, the text displays correctly at design time, but not at run-time
If I add code for run-time execution, nothing happens
I use
textbox1.TextAlign = HorizontalAlignment.Right
Have I missed something basic here? Tag: WINEXEC Tag: 74745
Autocompletion in languages other than English
Hi all,
How can I change PocketPC 2002 to use autocompletion in other languages,
like Spanish or Portuguese?
Thanks in advance,
Fabrício de Novaes Kucinskis. Tag: WINEXEC Tag: 74743
WSE 1.0 and compact framework
Hello all,
i would like to know if i can use the new class microsoft.web.services for
develop mobile application; when i insert that reference i got 3 error:
impossible found a dependency "system.configuration.install"
"system.security" and " system.web"
I have develop a webservice that use gzip to compress a dataset and then
attach it to soap context; i read and uncompress it without problem but how
can do the same from pocketpc ??
many thanks, Jo Tag: WINEXEC Tag: 74739
automate bluetooth startup
Hi,
I want to automate the following:
1. Turn on bluetooth
2. Connect using one of the saved shortcuts in Bluetooth manager
3. Start up a vb app.
It is possible to create a batch file to automate these 3 steps? Or another
way?
thanks. Tag: WINEXEC Tag: 74736
KeyBoard
Dear , sir
How can i create new keyboard my VB.NET Code , I need to design new
keyboard (as numberic only or some chrector only)
THank you Tag: WINEXEC Tag: 74731
Wireless Develop in PocketPC
Hi All,
I'm new to PocketPC develop world. Right now I've a board which is used for
collecting data and transfer to my desktop. Currently I'm using RS-232 cable
to connect the board to my computer. But I want to change to wireless
communication. User can just use a PocketPC remotely monitor/change data in
the board. The data package is about 30 bytes but I need to send/receive it
every 1 second. The connection must be easy to use and reliable. My
questions are:
1. I dont know which way I can use, Bluetooth or 802.11, or any others I
dont know?
2. Besides I've to develop another application on PocketPC, what else I need
to do to accomplish the project?
3. I heard about Wireless RS-232, does anybody use it or can it be used for
my project?
4. Anybody recommend a good website for wireless develop in PocketPC?
Thanks in advance!
Sincerely,
Andy Tag: WINEXEC Tag: 74730
backlight control with GAPI (?) wtf
I'm trying to find out how to control the backlight level.
Searching Microsoft the only reference I can find is in the features of
GAPI.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/_gamex_gapi_solutions.asp
It says "Flash the back light for special effects -> [GAPI] Manages the
problems and provides a simple API call to accomplish this."
But in the documentation of functions in GAPI I can't find any reference to
the backlight level.
So is this a typo in the GAPI features? it's listed for both the 2002 and
2003 versions of GAPI.
Does anyone know how to control the backlight level? Tag: WINEXEC Tag: 74729
POOM - Finding contacts
I am attempting to write an application that will make use of the
contacts in Pocket Outlook.
I would like to provide good ways to find a contact, much the same as
the normal CONTACTS application works.
Is there anyway to tap into the underling code for the Find By Name
functionality and/or the taping of the index bar at the top of the
contact list?
Thanks
-------------------------------------------
Roy Chastain Tag: WINEXEC Tag: 74728
Getting SqlDBType form database
Hi
I am retrieving some records from SQLCE database and storing them in DataSet
I am trying to get database columns DataTypes
Using my_dataset.Mytable.My_column.DataType gives me System.Type, not SqlDbType
How I could get SqlDbTypeâ?¦.
Any suggestions would be really appreciated
Thank you
Gre Tag: WINEXEC Tag: 74723
Is PC2003 or PC2002 machine
I want to automatically install the eMbedded Visual Basic
Runtime for Pocket PC 2003 if required when installing an
application from the desktop.
Does anyone know how to determine if the PocketPC
attached is a 2003 machine?? Tag: WINEXEC Tag: 74722
Embedded Visual Basic 3.0 On Pocket PC 2003
I need help!! Probably guessed that by now.
We are trying to run a program created in embedded Visual
basic 3.0 and run it on a New Ipaq5555 that is running
Pocket PC 2003 and the program just won't respond. We have
been Running the Program on the Ipaq3955 which runs Pocket
PC 2000.
Does anybody know how to fix this problem is there an
update or service pack of some sort for Embedded Visual
Basic?
Any Help would be greatly appriceated
Thanks in advance
Tony Tag: WINEXEC Tag: 74720
Printing to IRDA Printer from PocketPC
Hi!, have a little problem with the connection to my IRDA printer (EXTECH Printer), the snippet below can read the device but can't make the connection to the printer to start the job, someone can tell me what I missing!, or how can I do to print to my IRDA Printer from my pocketpc using sockets or IRDAClient, etc.
Private Sub PrintTxtContents(
Dim IRDAPrinter As New IrDAClien
Dim EndPnt As System.Net.IrDAEndPoin
Dim IRStream As Strea
Dim IRDADevices() As IrDADeviceInf
Dim i As Shor
IRDADevices = IRDAPrinter.DiscoverDevices(10
If IRDADevices.Length > 0 The
For i = 0 To IRDADevices.Length -
ListBox1.Items.Add(IRDADevices(i).DeviceName & " " & IRDADevices(i).Hints & " " & IRDADevices(i).CharacterSet
Nex
Tr
EndPnt = New System.Net.IrDAEndPoint(IRDADevices(0).DeviceID, "IrDA:IrCOMM"
IRDAPrinter.Connect(EndPnt
IRStream = IRDAPrinter.GetStrea
ListBox1.Items.Add("Stream :" & IRStream.Length
Catch ex As Exceptio
If EndPnt Is Nothing The
MessageBox.Show(ex.Message.ToString, "In OpenConnection EP Nothing"
Els
MessageBox.Show(ex.Message.ToString, "In OpenConnection"
End I
End Tr
End I
End Su
Regards
Carlos Var Tag: WINEXEC Tag: 74711
MessageBox returns 0
According to the MEssageBox documentation:
Return Values
Zero indicates that there is not enough memory to create the message
box.
But my messageBox does pop up!
I want the user to choose either YES or NO, to do 2 different things.
But my messageBox pops up, and refuses to go away, while the program
continues running. The reason is because the MessageBox returns 0
immedietely. Any ideas how to make the MEssagBox not return 0? I can't
see how there can be insuffcient memory when the box does pop up in
the way i want it.
My code:
retVal = MessageBox(NULL, L"blah blah", TEXT("Error"), MB_YESNO |
MB_TOPMOST | MB_ICONEXCLAMATION);
if (retVal == IDOK)
.....
Thanks! Tag: WINEXEC Tag: 74709
Hello,
In VC++ I can call WinExec to spawn other apps. What function do I call in
eVC++?
"L'Équipe" <wf@tiscali.co.za> ¦b¶l¥ó news:c605i8$co8$1@ctb-nnrp2.saix.net ¤¤
¼¶¼g...
> Hello,
>
> In VC++ I can call WinExec to spawn other apps. What function do I call in
> eVC++?
>
> Thank you
>
>