Re: How to get access to Platform Builder functions from PB driver

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



=?Utf-8?B?SmFjayBOYXBpYXRlaw==?=
<JackNapiatek@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:F779F53C-4A74-43EA-A10E-DF03A3D8F749@xxxxxxxxxxxxx:

I am developing hardware probe driver for Platform Builder CE 5.0,
the driver should connect the hardware probe to a target board and
allow debugging WinCE 5.0 or applications on the target board by
Platform Builder debugger. The driver needs to have an access to
various functions provided by PB: - to display messages in PB
debugger Output window, - to get information about PB project
directory (driver will create and manage project-related files
here), project name, target processor name etc, - perhaps others.
Does anybody know how to get access to such PB debugger functions
from driver code ? MS provides KdStubLite driver example, but the
KdStubLite does not use such functionality.
Thanks in advance,

Platform Builder, like the other "Visual Studio" based applications
should export a COM-based API that should allow you to recover this
kind of informations. Interfaces for VS2005 (and PB6) are documented,
but I don't know if the interfaces used by PB 5 are documented.
You may use the oleview tool to check which objects are registered by
PB. I did a quick check and found some Microsoft.PlatformBuilder.*
object that may be interesting.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)
.



Relevant Pages

  • Enabling busenum.dll makes application exit difficult
    ... by disabling touch driver and spi driver. ... PB Debugger Kernel debugger connected. ... FILESYS: Waiting for kernel to be ready to launch apps ... !AFD: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CTooltipCtrl with custom paint causing SYSTEM CRASH!!!!!
    ... you probably have a bad driver. ... you might have found a bug in the kernel. ... this might be a hardware error or a device driver error. ... If the kernel debugger is connected and running when watchdog detects ...
    (microsoft.public.vc.mfc)
  • Re: CTooltipCtrl with custom paint causing SYSTEM CRASH!!!!!
    ... you probably have a bad driver. ... you might have found a bug in the kernel. ... If you copy the output from!analyze -v and post it here, I'll take a stab at analyzing ... If the kernel debugger is connected and running when watchdog detects ...
    (microsoft.public.vc.mfc)
  • Re: Blue screen crashes
    ... Some common problems are exception code 0x80000003. ... If this happens, make sure a debugger gets connected, and the ... What Warning and Error Reports appear in Event Viewer since it's ... If all goes okay without errors then the Printer driver was ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: How do I find Driver Causing System Crash?
    ... Loading Kernel Symbols ... If kernel debugger is available get stack backtrace. ... Microsoft to find which driver is in conflict. ... Your Device Manager, by Right clicking MY Computer and select ...
    (microsoft.public.windowsxp.perform_maintain)