windows-ce

VS2008 Debug WEC7 Application - Breakpoint will not currently be hit. No executable code is currently loaded at this function

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 05:02:39
问题 I have to port a C++ Win32 console application to WEC7. After I fixed some build and link errors I was able to create an executable that runs on the target. But I could not debug that application with Visual Studio, because the breakpoints were not hit, although the corresponding lines were definitly executed. To further investigate my problem I created 2 new projects: Win32 project Win32 Smart Device project Both include the following code: #include "stdio.h" void main(void) { int i=0; while

Is There a Way to Remove the Delay between an Interspersed Login form and the Main form?

邮差的信 提交于 2019-12-13 04:47:16
问题 Following the suggestion here to create my login form in the project's Main method like so: [MTAThread] static void Main() { AppDomain.CurrentDomain.UnhandledException += Unhandled; frmLogin loginForm = new frmLogin(); if (loginForm.ShowDialog() != DialogResult.OK) { // If they hit "Close" just use the default values for now (for testing) HHSConsts.userName = "duckbilled"; HHSConsts.pwd = "platypus"; HHSConsts.currentSiteNum = "Packers20Seahawks19"; } else { HHSConsts.userName = loginForm

how to send key from my program to external program - winCE

China☆狼群 提交于 2019-12-13 02:46:29
问题 how i can send key from my C# program to external program ? ex: i send "G" to external program that has textbox how to do it ? in C# (winCE) thank's in advance 回答1: Check this code: From MSDN // Get a handle to an application window. [DllImport("USER32.DLL", CharSet = CharSet.Unicode)] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); // Activate an application window. [DllImport("USER32.DLL")] public static extern bool SetForegroundWindow(IntPtr hWnd); // Send

Device Driver not calling Xxx_Init

狂风中的少年 提交于 2019-12-13 02:14:39
问题 I am just starting out with driver development, and am trying to initialize a device driver through the operating system on start up. The driver is for Windows Embedded CE 6.0. I have been attempting to have my device send a message through a serial port to my PC whenever it gets initialized. DWORD MYD_Init(LPCTSTR pContext, LPCVOID lpvBusContext) { DWORD dwResult = 1; RETAILMSG(TRUE, (TEXT("MyDriver: Initializing!\n"))); DEBUGMSG(TRUE, (TEXT("MyDriver: Initializing!\n"))); return dwResult; }

Is Uri available in some other assembly than System in .NET 3.5, or how can I resolve Uri in this RestSharp code otherwise?

拥有回忆 提交于 2019-12-13 00:44:33
问题 I am trying to get a bare bones bit of RestSharp into my Windows CE / Compact Framework 3.5 app. This minimalistic code: RestClient client = new RestClient("http://192.164.144.42:72921/"); RestRequest request = new RestRequest("api/vendorItems/", Method.GET); RestResponse response = client.Execute(request) as RestResponse; string content = response.Content; // raw content as string ...first caused a problem because I had to change this: RestResponse response = client.Execute(request); ...to

Pop-up keyboard in Windows CE 5.0

南笙酒味 提交于 2019-12-12 23:36:32
问题 Is it possible force the build in keyboard to appear within a Windows CE 5.0 application? I am designing a project in C# and would like the keyboard or a numerical keypad to pop-up when the user has to input to the application. 回答1: You should look at the InputPanel control. Just drop one onto your form from the toolbox. Then just show and hide it on the GotFocus and LostFocus events of the input controls: private void textBox1_GotFocus(object sender, EventArgs e) { inputPanel1.Enabled = true

Java VM Best choice for windows CE [closed]

被刻印的时光 ゝ 提交于 2019-12-12 19:13:35
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . What is, currently, the best choice to run MIDP applets in a Windows CE based System? 回答1: We use IBM's J9 JVM on Win CE. You don't

How can I see the SQL sent to the database after the parameters have replaced their placeholders?

99封情书 提交于 2019-12-12 16:18:20
问题 The first MessageBox.Show() below simply shows me the exact same thing as const string SQL_GET_VENDOR_ITEMS, which seems fine to me, but I'm getting, " There was an error parsing the query. [Token line number, Token line offset,, Token in error,,] " Is there a way to spy on the contents of the SQL after parameters have been added; it should then be something like: "SELECT ItemID, PackSize FROM VendorItems WHERE VendorID = 'TEST' AND VendorItemID = '852963' Here's the pertinent code: const

missing pdb file

人盡茶涼 提交于 2019-12-12 09:44:54
问题 I'm debugging my app on a wince7 device. After couple minutes I'm getting an error: "No symbols are loaded for any call stack frame. The source code cannot be displayed." I noticed on the modules list that I have 1 dll that is missing pdb file. Its name is System.Drawing.dll . I noticed that the module added to the module list after some thread (that I'm not creating and I don't know who) is created. I'm getting the error only after the thread is running. Anyone know where can I find the

Why is there an err parsing this DDL, and why can't the engine be more specific about locating it?

白昼怎懂夜的黑 提交于 2019-12-12 05:26:53
问题 With this DDL ("BLA" is a tablename in the form "CCR130329093342") ALTER TABLE BLA ADD salvation float NOT NULL WITH DEFAULT ...I'm getting, " There was an error parsing the query. [Token line number, Token line offset,, Token in error,,] " Okay, then, which line number? offset? It knows/thinks there's a problem, but can't or won't say what or where. Is there anything obviously wrong with this DDL? Should it be this instead: ALTER TABLE BLA ADD salvation float NOT NULL WITH DEFAULT 0.0 ?