windows-ce

How Can i load third party .dll (COM DLL) in ATL Application with WinCE 5.0 RTOS?

為{幸葍}努か 提交于 2020-01-15 11:59:25
问题 I got the answer and need to understand the following : I have a WinCe 5.0 ATL application. This application is using third party COM dll and 3rd party application(.exe).As per my understanding on WinCE and Dll loading is as following: WinCE: All the dll exported functions should be written in ".Def" file and the dll that need to included during runtime image process should be there in ".bib" file.And one should call DLLExport or loadlibrary (i do not want to go into deep how to use these),

Why is the previous form blocking the new form?

六眼飞鱼酱① 提交于 2020-01-06 13:00:06
问题 I am trying to open one form from another, closing the original form. This is standard stuff; I've done in doubtless hundreds of times over the years. Yet in this case, it's not working -- the previous form does not close - I see a piece of the new form "shining through" the old, and the caption changes from "Delivery" (original form) to "Find" (new form), but the controls on the "Find" form never display and, in fact, in a few seconds the app crashes, as if all its resources have been

Can't debug an application on Win CE 6.0 with VS2005

霸气de小男生 提交于 2020-01-06 12:42:43
问题 I'm trying to get debugging working for a Windows CE 6.0 application but I cannot even start the debugging process. I can run a "Hello World" application OK but when I try to run my app which is linked against another DLL I don't get any error but debuggin does not start. The DLL is present in the same folder as the executable. This are the logs from VS2005. 1>------ Deploy started: Project: protobuf_lite, Configuration: Release SDK3 (ARMV4I) ------ 2>------ Deploy started: Project: libus

Can't debug an application on Win CE 6.0 with VS2005

♀尐吖头ヾ 提交于 2020-01-06 12:42:19
问题 I'm trying to get debugging working for a Windows CE 6.0 application but I cannot even start the debugging process. I can run a "Hello World" application OK but when I try to run my app which is linked against another DLL I don't get any error but debuggin does not start. The DLL is present in the same folder as the executable. This are the logs from VS2005. 1>------ Deploy started: Project: protobuf_lite, Configuration: Release SDK3 (ARMV4I) ------ 2>------ Deploy started: Project: libus

Keypress event is triggered twice for a single ENTER button press in Windows CE

亡梦爱人 提交于 2020-01-06 07:25:08
问题 During development i have observed that certain PDAs with Windows CE and possibly Windows Mobile too are sending the Enter key twice in the key pressed event thus i execute twice the code that lies under the control's key press event for the return button. I suspect that this is a hardware bug and i would like to ask how you resolved it without changing your application logic. 回答1: Without changing the logic? You really can't (unless there is a hardware or firmware fix). I'd guess the

Keypress event is triggered twice for a single ENTER button press in Windows CE

孤街浪徒 提交于 2020-01-06 07:25:06
问题 During development i have observed that certain PDAs with Windows CE and possibly Windows Mobile too are sending the Enter key twice in the key pressed event thus i execute twice the code that lies under the control's key press event for the return button. I suspect that this is a hardware bug and i would like to ask how you resolved it without changing your application logic. 回答1: Without changing the logic? You really can't (unless there is a hardware or firmware fix). I'd guess the

Paint datagrid row in color in WinCE

僤鯓⒐⒋嵵緔 提交于 2020-01-06 06:20:35
问题 how can I paint all rows in a datagrid with the value of field "age" = 30 in red? I work in WinCE. Thanks for any help! 回答1: try something like. I set Datagrid1.Datasource = Datatable1.DefaultView where Datatable1 is a Datatable that contains a column named "Age" Sorry, is in VB Private Sub paintColors() Dim vI As Int64 DataGrid1.SelectionBackColor = Color.OrangeRed Dim vI As Int64 = 0 For vI = 0 To Datatable1.DefaultView.Count - 1 If Datatable1.DefaultView.Item(vI)("Age") = 30 Then DataGrid1

How can I fix my invalid resx file input?

こ雲淡風輕ζ 提交于 2020-01-05 08:27:24
问题 I added several existing files (from a VS 2008 Windows CE project) to a VS 2008 Winforms project. For many (but not all) of the forms, I get this err re: the *.resx files: Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names. The *.resx files that are fine display like so when I 2-click them in the Solution Explorer: ...whereas those that won't compile with the err msg above display one thing if I 2-click the *.resx file in

Windows CE 6.0 - USB Drivers at boot up time

試著忘記壹切 提交于 2020-01-05 07:51:36
问题 I built a new Windows CE image and placed two USB drivers. One for the USB printer and the second for some special device with digital and analog I/O ports. I have one problem that came out with the drivers while the operating system boots up. Every time the image boots up it asks to enter the driver's name. (The message is "Unidentified USB Device" Enter the name of the USB device driver) Is there a workaround for this problem ? What does I have to put into a registry? I did not check if the

Wince 5.0 using STLport void *operator new(size_t,void *)' already has a body

偶尔善良 提交于 2020-01-05 04:34:10
问题 I am doing a transform work from windows to wince. For using iostream I choose STLport5.2.1 . I get the compile error on vs2008 : am files (x86)\windows ce tools\wce500\athenapbws\mfc\include\wcealt.h(248) : error C2084: function 'void *operator new(size_t,void *)' already has a body 2> D:\Program Files (x86)\Windows CE Tools\wce500\AthenaPBWS\include\ARMV4I../Armv4i/new(71) : see previous definition of 'new' 2>d:\program files (x86)\windows ce tools\wce500\athenapbws\mfc\include\wcealt.h(254