Re: Howto debug a DLL with WCE emulator ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Helix (helix-no-spam_at_despammed.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 18:12:34 +0200


> Possibly copy the dll to the \windows folder of the emulator using the
file menu of the emulator ?
>
> I haven't done this yet either, but I'm going to have to soon - so I want
to find out too.

It works that way, thanks
However I have needed to call LoadLibrary() from within the application and
now I can see DLL_PROCESS_ATTACH e DLL_PROCESS_DETACH.
Now the problem is that the following call fails because the emulator dont'
know about [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Sample]
CreateFile(L"DEM1:",GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL
,NULL);

The new question is:
How can I set the following entry into the emulator ?
Is it possible ?
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Sample]
    "Dll" = "mydriver.Dll"
    "Prefix" = "DEM"
    "Index" = dword:1
    "Order" = dword:0
    "FriendlyName" = "Demo Driver"
    "Ioctl" = dword:0

TIA
/helix



Relevant Pages

  • Re: again a "cant find PInvoke DLL" problem
    ... Right now I'm working only with an emulator, ... I have read on a forum that there is a \windows folder on ... I will try to build again the dll but I don't really understand ... I'm trying to develop a GIS mapping software on smart devices using VS ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: DLL written with Embedde VC++ 4.0
    ... so the folder where the DLL is installed may be ... In the emulator, ... > protected override void Dispose(bool disposing) ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: DLL written with Embedde VC++ 4.0
    ... Using Explorer I found that the Dll is not located under \Windows,but I ... so the folder where the DLL is installed may be ... In the emulator, ... >> private void InitializeComponent() ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: How to register a directshow DLL in Windows Mobile 5.0 or 6.0?
    ... the emulator but now when I run the code CoCreateInstanceonto my filter ... emulator and on a Windows Mobile 6 terminal. ... // SampleGrabber.cpp: Implementation of DLL Exports. ... http://msdn2.microsoft.com/en-us/library/aa918244.aspx for how to register ...
    (microsoft.public.windowsce.app.development)
  • Re: SQL CE
    ... from emulator, use the File Explorer in the emulator to map to a ... shared folder on your desktop and copy and paste the sdf file to ... >> if you create a sql ce database programmatically using ... >> you cannot create a SQL CE database directly on your desktop ...
    (microsoft.public.sqlserver.ce)