|
Hi, I have a similar problem that I want to input data on a handheld and later transfar data sets to the PC. Right now I am using Pocket PC 2002, C++ and possibly MFC. As a first guess I would store data into a database on the device, later sync and import it into a SQL database on a PC. Would be very helpfull to get:
a) overview of which database APIs and classes are available
b) posisble to automatically sync the database to an SQL server when device is connected to PC?
c) how about using flat files and no database on the device at all to store data, stone age?
Thanks, Moak
|
|
|
|
|
Hi,
When I try to open a raw socket on a pocket PC I get the following error code from the failed call to socket():
WSAESOCKTNOSUPPORT (10044)
•Translation: Socket type not supported.
•Description: The support for the specified socket type does not exist in this address family. For example, the SOCK_RAW optional type may be selected in a socket (Wsapiref_2qr6.asp) call but the implementation does not support SOCK_RAW sockets at all.
The code I use to open the socket is:
rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
The error code suggests that raw sockets are not implemented on CE (Pocket PC 4.20) ? Can someone confirm this? I have some code that performs an ICMP ping and I would like to run it on CE, but it appears as if this will not be possible.
Thanks,
Tom.
|
|
|
|
|
I found the answer,
raw sockets are not supported but this exists :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcetcpip/html/cereficmpsendecho.asp
|
|
|
|
|
Hi!
I am planning, to by an SDA Smartphone (Qtek 8020) from a shop (not from a mobile operator). I read about the security model of smartphones (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtphn2k3/html/smartphone_security.asp)
and I would like to know, if a smartphone bought in a shop is good for development purposes. Now I got an SPV 200, it was good, but a newer one is needed.
Unfortunately it is an urgent question, I have to order it tommarow.
Thanks for the reply in advance!
Best regards,
S.
|
|
|
|
|
I am writing a dialer program in PocketPC2003. I want to notify the user the incoming call via a notification bubble. I hope the bubble not to be dismissed until the user click the button on the bubble or the call is dissmissed. Just like the one provided by MS in PocketPC phone.
When I test the shell notification APIs, I find that the bubble will be dismissed automatically when I tap anywhere outside the bubble region.
How can I avoid this?
Thanks.
|
|
|
|
|
I want to compile an .asm program.
Please tell me how to get the masm 6.0.
Thanks!
|
|
|
|
|
Masm ships with Professional and Enterprise versions of VS.Net. If you have either, you have the macro-assembler. I think it's called ML.exe.
-- modified at 14:21 Friday 3rd February, 2006
|
|
|
|
|
Is there any way to control the camera of mobile phone programmatically ??? I mean it takes snapshot at a part. instance of time which i have feed in my program ???? I mean through a piece of code i take a snapshot .... Any help in this regard will be helpful.
|
|
|
|
|
Hey all, just found this site and it looks pretty good from what I have seen so far.
For my Dell Axim X5 I am trying to develop a small app that will read the GPS stream from my Compat Flash GPS unit and write the stream to the CF card as a text file.
I have been able to write an application to do this on my laptop using Python and again in Java (the languages that I work in) All I have to do (have done on my laptop) is open the COM Port and start reading. Sounds simple, I know, however it has been quite some time since I have developed a native application for windows and I am lost when it comes to the PPC.
Thanks, and any help that you can give would be greatly appreciated.
Cartman
War does not decide who is right only who is left...
|
|
|
|
|
my program need to add control during runtime, and the control adding is triggered by a socket listening thread. However, i discover that the control adding cannot do in different thread, and ArgumentException will throw.
Here is the Code for demostrate the problem.(Click the button1 will open a new thread to add textbox1) Any Idea to solve the problem?
_____________________________________________________________________________________
Imports System.Threading
Public Class Form1
Inherits System.Windows.Forms.Form
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
MyBase.Dispose(disposing)
End Sub
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Private Sub InitializeComponent()
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.TabControl1 = New System.Windows.Forms.TabControl
Me.TabPage1 = New System.Windows.Forms.TabPage
Me.Button1 = New System.Windows.Forms.Button
Me.TabPage2 = New System.Windows.Forms.TabPage
Me.TextBox1 = New System.Windows.Forms.TextBox
'
'TabControl1
'
Me.TabControl1.Controls.Add(Me.TabPage1)
Me.TabControl1.Controls.Add(Me.TabPage2)
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(240, 272)
'
'TabPage1
'
Me.TabPage1.Controls.Add(Me.Button1)
Me.TabPage1.Location = New System.Drawing.Point(4, 4)
Me.TabPage1.Size = New System.Drawing.Size(232, 246)
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(128, 88)
Me.Button1.Text = "Button1"
'
'TabPage2
'
Me.TabPage2.Location = New System.Drawing.Point(4, 4)
Me.TabPage2.Size = New System.Drawing.Size(232, 246)
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(8, 88)
Me.TextBox1.Text = "TextBox1"
'
'Form1
'
Me.Controls.Add(Me.TabControl1)
Me.Menu = Me.MainMenu1
Me.Text = "Form1"
End Sub
#End Region
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub TabPage1_EnabledChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage1.EnabledChanged
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ListeningThread As Thread
ListeningThread = New Thread(AddressOf AddTextBoxFunction)
ListeningThread.Start()
End Sub
Private Sub AddTextBoxFunction()
Me.TabPage1.Controls.Add(Me.TextBox1)
End Sub
End Class
|
|
|
|
|
The problem only occur in .Net compact framework. It work fine on windows platform's .net framework
|
|
|
|
|
CAN NOT DEPLOY/DEBUG a CF application in any language ON THE IPAQ EMULATOR after installing the FULL REMOTE DEBUGGING COMPONENTS.
the ipac emulator 2002 was working fine until then. I reloaded the entire .NET system including the framework, vs .net and it still does not work.
does anybody have any idea where in the registry is the debugging information kept?
I really don't want to rebuild the entire system if I don't have to...
versions used:
Microsoft development environment version 7.1.3088
Microsoft .NET Framework 1.1 version 1.1.4322
Any help will be greatly appreciated….
thanks
sun.lcr
|
|
|
|
|
Is there a way to use ms access as the backend for an application developed
in vb.Net for a ppc 03 device?
If so, are there some resources for sample code for connecting to the database, opening the database, retrieving records, modifying records
etc.?
Thanks in advance for any help
|
|
|
|
|
helo friends,
I am looking for unoptimised C codes that considerably reduces the performance of the system.
I am looking for some of the cases (like,
inline functions,constant propagation,constant folding,faster for loops,loop fusion,loop jamming,table lookup,arrays,induction variable,commom sub expressions etc) by which when a programmer misuses them(above mentioned cases) in turn affect the performance of the system.
Example for Common Sub Expression Elimination.
(unoptimised code)
t1=x+y+1;
t2=x+y;
Instead declare a temporary variable say temp.calculate temp=x+y and then use in these instructions.so,introducing temp becomes my optimised code avoiding calculations.
temp=x+y;
t1=temp+1;
t2=temp;
By doing this i am avoiding the calculation thats happening twice.if such calculations are in for loop it really affects the performance.By doing this Common sub expression elimination we gain performance.
I am looking for such unoptimised codes in the cases mentioned above.
If anyone gets please do send me the details.
|
|
|
|
|
Frank Francis wrote:
temp=x+y;
t1=temp+1;
t2=temp;
Is not optimal, try:
t2 = x+y;
t1 = t2;
t1++;
No temporay variable allocation and store, only two store operations instead of 3. Use of the increment operator eliminates need for storage of the constant (1)
Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg
|
|
|
|
|
Plz give some new and the latest ideas about the writing .NET applications for PDAs and the Pocket PCs..etc i need ideas as what to develop as my final year project. i m interested in developing communication/networks based applications like file transfers, or bluetooth etc..
NEDIAN_MUSTAFA
|
|
|
|
|
Maybe this will interest you for a while?
How do I place a GSM call on my PocketPC (Mobile Phone Edition) using C# and .net CF.
The device (MDA II / XDA II) offers a 'wireless modem' feature to any external device - just connect per Bluetooth/USB/serial/IrDA and issue AT commands just like any other normal modem. But I am not an external device - I am (in this context!) an application running on the MDA II / XDA II.
How do I get to place a GSM call (for V110 data) - I just want to dial my phone number and be told when I am connected, with the option to abort if this takes too long. C++ is a number too big for me and TAPI is way too complex for what I want - has somebody got a neat, lightweight C# solution... or at least a push in the right direction!
Peter Beedell
"Remember that age and treachery will always triumph over youth and ability." Quoted from the BBC Comedy 'The Office'.
|
|
|
|
|
Hi, I'm writing an application in evc++4.0 (c++) for a ppc2003 and wince based device.
When I try to make an icon object transparent I succeed but when i try to paint transparency on a bitmap I don't manage in doin' it because in the color toolbar the button with the screen (meaning transparent color) doesn't appear.
Is it possible to paint transparent a bitmap object?
|
|
|
|
|
Take a look at TransparentBlt.
|
|
|
|
|
Hi there,
sorry first of all 'cause i think it's an already soluted problem in the board but i can't find the answer.
Due to SDK and Hardware issues i'm forced to use evc++ 3.0 (with MFC)
First Problem:
Suddenly the Class Wizard doesn't want to add member variables for added Objects (e.g. a button). I read somewhere that this is a common bug about evc3, and that u should delete the vcc or vcb file. Is there anyone who could give some further explanation about that?
Second Problem:
I added a combobox and populatet the list items via the properties dialog, but when i compile the project no dropdown-items ar listed. it seems that this failure depends on the dialog the cb is created in. when i do the same steps in an already existing dialog in the same project it works fine.
any solutions?
Thanks in advance
Klabautermann
|
|
|
|
|
I derived a class from CCeSocket.
The object of that type that I use in my app is dynamically created.
I can connect and communicate correctly with the server-application using that object, the problem is that when the object gets destroyed that in DEBUG mode the application sometimes crashes. (In Release all seems to run correct)
The assertion error refers to wcesock.cpp line 733. Looking there it seems as if a thread created by the CCeSocket is still trying to access the socket. (My app is single threaded by the way). The crash does not happen every time though.
Should I wait for a certain event after I close the socket before I delete the socket-object? Or is this a known problem when running in DEBUG mode... Could something else be at fault?
I just want to avoid a crash ever happening in Release, so I don^t want to just ignore this warning without knowing for sure that it can't harm ignoring it...
Thanks for any help you might provide,
With Friendly Regards,
Davy
|
|
|
|
|
Hi all,
I just installed vs .net on my system and tried to create run and debug a test app using c#.
the application compiles, gets loaded into the emulator but the debugger is not run and app has to be run manually.
Does anybody else have had this experience?
running:
win2k sp4
vs .net 2003
system installed from scratch and its the only thing running on the system along with sql/2000
Thanks for the help....
sun.lcr
|
|
|
|
|
Can anyone help on how to keep a status icon visible on the bottom bar (beside the keyboard icon for example) when another program fills the whole screen usually. This happens in certain map functions of GPS software for navigating.
I'me sure I've something to achieve this but my searches have failed so far.
TIA for any ideas
Sylvia
|
|
|
|
|
I need help to make a simple application using Embedded Visual c++ 3.0
It's just a simple application that enables me to read and write files.
Write a file - save it - then retrieve it within the application.
Can anyone help to give me the codes needed for me to make the application work?? Thanks.
|
|
|
|
|
Hi all,
I've been asked to develop a little app for Pocket PC, and as I can't buy one for me, I would like to now if there is a Pocket PC Emulator, and where can I find it.
Thank you all for your time.
R@Y
|
|
|
|