|
ok try to do a Middle Tier (Web Service) between the Client Application(ur Widnows CE) and the Data Tier (SQL Server), send the query to ur mid tier(web service) and let it update the database or retrieve the data from the SQL server and send it back to u as an XML Doc.
|
|
|
|
|
You should change the SQL collation to SQL_Latin1_General_CP1254_CI_AS.
|
|
|
|
|
I use vs.net2003 to write a SmartDevice application on desktopo PC.
But, the vs.net2003 only support IrDa/TCP methods to transfer code from desktop PC to PocketPC. Since the PC didn't has one Irda dongle and I don't want to buy a ethernet card for PPC, how to use USB to transfer code to PocketPC?
Thanks.
Tsung-Yu
|
|
|
|
|
There's no need to buy an ethernet card for ppc. The TCP transfer mode connects to the PPC using ActiveSync. You just need to cradle the PPC, and VS.NET2003 will use ActiveSync to transfer your program to PocketPC.
|
|
|
|
|
Hello
I am very new to mobile devices. I am attempting to write my first MFC app for a Pocket PC. I have a dialog app created with the wizard and I have added a number of edit controls to the dialog template.
When I use Class Wizard to add variables for the edit controls it says 'There are no data types for this type of control'
Is CEdit not available in MFC on CE?
|
|
|
|
|
Josh Gray wrote:
Is CEdit not available in MFC on CE?
Yes, it is. You can bind an edit control to either a CEdit or to CString, int, long...
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Thanks. I can add the variables manually but not with the class wizard which is weird but not a huge problem
|
|
|
|
|
I use explicit link a class DLL, but I got an 'Unersolved external symbol "public ... CMyClass..."
Here are the parts of code
-------------------------------------
hDLL = LoadLibrary("MyDLL");
if (hDLL != NULL)
{
CMyClass my ;
--------------------------------------
Where I missing?
Thinks.
|
|
|
|
|
My development environment is win2k/EVC4.
How the careate a dll which includes a dialog class, so that I can call this dialog class in my wince application?
Thanks.
|
|
|
|
|
Hi,
I am doing a project on 'Mobile Computing'. The project demands the recognition of the type of the client machine i.e. whether it is a PDA or a mobile or a simple desktop machine from the request sent to the server from the client. But, I don't know how to do it. Plzzz ........... help me in this respect.
Looking forward to your help.
Regards,
Barun Biswas,
M. Tech(IT), Bengal Engineering & Science University, Shibpur, India.
|
|
|
|
|
Hi all, i'm trying to create a new database in CE but it doesnt seem to work for some reason........can someone help? thanks!!
Imports System.Data.SqlServerCe
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'create DB
Dim engine As New SqlServerCe.SqlCeEngine("Data Source = \My Documents\test.sdf")
engine.CreateDatabase() 'error here
'connect to DB
Dim ssceconn As New SqlServerCe.SqlCeConnection("Data Source = \My Documents\test.sdf")
ssceconn.Open()
'ceate table
Dim sqlCreateTable As SqlServerCe.SqlCeCommand = ssceconn.CreateCommand()
sqlCreateTable.CommandText = _
"CREATE TABLE People(people_id int IDENTITY(0,1) PRIMARY KEY, f_name ntext, l_name ntext)"
sqlCreateTable.ExecuteNonQuery()
'inserting rows
Dim sqlInsertRow As SqlServerCe.SqlCeCommand = ssceconn.CreateCommand()
sqlInsertRow.CommandText = "INSERT INTO People(f_name, l_name) VALUES('John', 'Doe')"
sqlInsertRow.ExecuteNonQuery()
'close connection
ssceconn.Close()
End Sub
An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll
Additional information: SqlCeException
SQL Server CE encountered problems in creating the SQL Server CE database [,,,Connection String,,]
|
|
|
|
|
hi.
i have a program with access mdb database and i want to connect my database from pocket pc but when i change a record from each side it will show on each computer(pocket pc and desktop comp) . it could be very nice if someone have an example about it..
or i can chance my desktop database to sql server and pocket pc database to sql server ce but i still need to see changed records online..
thank you
|
|
|
|
|
i have an application which does many things , aprt of which is : transforming XML files using xsl & xpath of the system.xml namespaces but the problem is that i want to use this application on a pocket pc emulator [smart device app.] and both namespaces are not allowed! so what shud i do!
is there similar namespaces for the Compact Framework??!
|
|
|
|
|
in evc i do:
CODrawMenu menu;
CODrawMenu menu2;
menu.CreatePopupMenu();
menu2.CreatePopupMenu();
menu.AppendMenu(MF_STRING,1,_T("1"));
menu.AppendMenu(MF_STRING,2,_T("2"));
menu.AppendMenu(MF_STRING,3,_T("3"));
menu2.AppendMenu(MF_POPUP|MF_STRING,(UINT)menu.m_hMenu,_T("1"));
menu2.AppendMenu(MF_STRING,4,_T("2"));
menu2.TrackPopupMenu(TPM_LEFTALIGN | TPM_NONOTIFY, point.x, point.y,this);
menu.DestroyMenu();
menu2.DestroyMenu();
where CODrawMenu - my class derived from Cmenu
it use MF_OWNERDRAW style to append
but in void CODrawMenu::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
i use
CRect rectFull(lpDrawItemStruct->rcItem); to get rectangle to draw item. And get zero Height for this item
menu2.AppendMenu(MF_POPUP|MF_STRING,(UINT)menu.m_hMenu,_T("1"));
what i do wrong?
sorry for Bad english
|
|
|
|
|
Hello,
I 'm trying to create a simple program that would run like a daemon for PocketPC and I have the eMbedded Visual C++ 4.0 IDE. I choose to create a new project and my options are limited to applications with GUIs, a WinMain() etc. I want to write a very simple unix like non-gui program in C. I don't even need a console. Is there any way to avoid all these windows specific chaos code?
Thanks, Themis
|
|
|
|
|
You can start from 'WCE Application' or 'WCE Pocket PC 2003 Application'. On the first page of the wizard, select 'A simple Windows CE application'. This generates a StdAfx.h for common includes and definitions, StdAfx.cpp (which causes precompiled headers to be generated for StdAfx.h) and project.cpp, which contains a WinMain routine.
Pocket PC does not support the C standard main routine. The Windows CE C run-time library does not provide the mainCRTStartup routine that the desktop provides. You should use WinMain instead.
Please be aware that Windows CE only supports a total of 32 concurrent processes - this is a consequence of the single-memory-map design. A number of those process slots are already running at startup time - the device driver host process device.exe, the Graphics Windowing and Events Subsystem gwes.exe, the file system process filesys.exe, and others. CE 4.x and later provide a Services host process for hosting services written as DLLs.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I require a code example for USB communication(Data Receving) in PalmOs 4.0 written using Codewarrior in C.
Please help..
|
|
|
|
|
Hi,
I setup my application for profiling... I get results from the profiler but
all the functions are unnamed (The profiler can not load the symbols) ... I
have setup the symbol path to "C:\myproject\debug" this is where the exe and
pdb files get generated.
On the PPC the program is run from "\debug\myapp.exe" ... I have also copied
the *pdb files into the "\debug" folder on my PPC.
Am I missing something what else is need to get the profiler to display proper function names?
Thank you
Tom.
|
|
|
|
|
i would like to create dll on mfc (for example) for pocket pc. it's need to use functions from lib and h files when i'll be progamming on c#..
when i created dll on EVC mfc-dll same VC MFC dll creating i have no results..
mb it's a wrong way? can anybody help? mb get something experience for creating
pocket dll's? or smth other...
thank u..
|
|
|
|
|
I'm not sure what u r saying. But, what I understood is, u want to create a dll using EVC(may be regular/extension dlls), and u want to include this into ur application.
This can be done, In normal way, as u r doing in VC++( desktop application), except u have to select the target processor in which the PDA is running. The dll(server) will be registered onto the PDA when u rebuild the dll.
Then u can start usiing ur dll. remember this is alomst simillar to the desktop application. So, u need to mention the path of .lib, etc.. as u r doing in desktop.
I haven't tried using the C# yet.
If this not helps, let me know what exactly u need.
thanks,
Zxczc
|
|
|
|
|
Hello
We are developing an application for windows CE terminals in C#. The application is developed in Visual Studio .Net 2003. It consists of a Smart device application with various subproject (libraries, apps).
Now we would like to port everything from the compact framework to the full framework on the desktop. Is there a way to use the source files of the smart device application in the desktop port so that we can share the source file between both platforms?
Thank you
yves
|
|
|
|
|
|
I have 2 applications written in VB.NET for pocket pc 2003. Neither is complicated and each one runs perfectly. Problem is, I can't run them at the same time without getting a 'TypeLoadException' when starting the second one, regardless of which it is. I have set every reference in each project to "Local Copy" and it still happens - what's going on?
BTW...I have no custom written assemblies
Thanks.
|
|
|
|
|
I am using Embedded VC++ 4.0 with MFC. I build your basic app-wizard generated SDI application with all the default settings -- just run appwizard and compile. It works great in the simulator. Then I go to test on an Intel based processor (xscale I think). I build for the ARM
processor. The application runs, but the menu does not display. For example, on the PDA, I open Explorer, browse to the application I just made, double tap on it to run it. My app runs and the screen client area show my
app, but the menu at the bottom of the screen is still the Explorer menu! My apps menu is never seen or available.
How can I fix this? Do I need to buy the $1500 development package from Intel? How is it that an straight-from-appwizard program won't run correctly?
By the way, I tested this on two PDS of different manufacturer but both with Intel processors and the result is the same.
|
|
|
|
|
Is there a Rich Edit control (one that reads / writes RTF files) for Pocket PC? I need it to include it as part of an application that i am to port to the Pocket PC.
|
|
|
|