Package: pocketpc-sdk
Version: 1.0.0-1
Severity: wishlist
Submitter: Eric House <[EMAIL PROTECTED]>
libcoredll.a is missing functions, such as DialogBoxParamW.

2005/11/27, Eric House <[EMAIL PROTECTED]>:
> It compiles now, but I'm getting link errors on about 10 functions,
> e.g. DialogBoxParamW.  In searching the libraries using
> arm-wince-pe-nm and -objdump I find that it's not there, though
> related functions are.  Does that mean that whoever built the
> libraries didn't add it?  If I grabbed the source would it be obvious
> to me how to add it?  (I'm guessing that APIs are implemented as jumps
> to some offset into a Windows DLL and that the only hard part is
> figuring out the offset.  That might be *really* hard for me since I
> don't have a working Windows-based development environment to study.)

It's actually really easy. Download the source for pocketpc-sdk,
modify the .def file, rebuild the package, and install the package.

        apt-get install apt-src
        apt-src update
        apt-src install pocketpc-sdk
        cd pocketpc-sdk-1.0.0
        vi coredll.def
        # Add the desired functions.
        apt-get install devscripts
        debuild binary
        debi

Tell me how it goes, and if it works, please send me a patch, or even
better, send it to the bug report.

Cheers,
Shaun

Reply via email to