|
I am a novice to Windows CE so sorry in advance if this is a stupid question.
We just got an Itronix Q200 with WindowsCE 4.2 and I would like to be able to set up a folder on this device as being shared on the network so that a desktop pc can access this folder (via \\IPaddr\sharename) so that an app that runs on the desktop pc can do file transfers with the device. I can ping the device from the desktop pc and can ping the desktop pc from the device so the device is communicating on the network, but I don't know how to set up a share on the device. My app needs this share to do the file transfers.
Is this possible?
Thanks, gary
|
|
|
|
|
I'm having problems receiving and making phone calls whilst a GPRS session is active. I'm using third part components to programatically make the RAS connection (in C#), but when a phone call is made or received the connection utility is locked out and cannot make another successful connection until the device is reset. Even manual connections cannot be done until the device is reset. I have tried connecting manually, and when a phone call is made or received the GPRS session is simply suspended, and reactivates when the phone call is over. I have tested several third party components and they all have the same problem. One of them said there was nothing they could do about it as it was a problem with the RAS DLL. Is this true? Is it not possible to programatically create a GPRS connection via the RAS DLL whilst also being compatible with phone usage? Does anyone know a way around this problem?
Sean
|
|
|
|
|
I have downed load a USB drive for my experiment. I use PE Explorer to disAsemmbler the .sys file into .asm file. Can anyone tell me how can I compile it back to .sys file after the modification? I apprecite it.
|
|
|
|
|
Hello
I created a Windows CE application with C#.NET
I'm using System.Data.SqlClient
When I try to connect to PC SQL server from pocket pc, It throws; PlatformNotSupportedException
I opened Guest account from PC WinXP, gave full rights to SQL server and database.. I'm using static IP.
All I need to do is: store and get data from SQL 2000.
Actually I'm using MSDE on PC
Any help,
thanks...
|
|
|
|
|
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
|
|
|
|