Article and Source

Last post 07-13-2003 12:18 by Anonymous. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-22-2003 8:25

    • ctacke
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-27-2007
    • Indiana
    • Posts 1,922

    Article and Source

    The article can be found here.
    The source can be downloaded here.
  • 05-23-2003 11:34 In reply to

    Re: Article and Source

    I downloaded the source to this article and found that I also needed to download the OpenNETCF WinAPI source. WinAPI compiled and so did the Callbacks project from this article, but GDIInternals does not compile with the following problems:

    'OpenNETCF.WinAPI.Core' does not contain a definition for 'GetObject'
    The type or namespace name 'DIBSECTION' could not be found (are you missing a using directive or an assembly reference?)
    The name 'ds' does not exist in the class or namespace 'OpenNETCF.GDIInternals.BitmapHandler'
    The type or namespace name 'BITMAPINFOHEADER' could not be found (are you missing a using directive or an assembly reference?)
    The type or namespace name 'bi' could not be found (are you missing a using directive or an assembly reference?)
    The type or namespace name 'ds' could not be found (are you missing a using directive or an assembly reference?)
    The type or namespace name 'BITMAPFILEHEADER' could not be found (are you missing a using directive or an assembly reference?)
    The type or namespace name 'bfh' could not be found (are you missing a using directive or an assembly reference?)


    Jack Fox
  • 05-27-2003 2:03 In reply to

    Re: Article and Source

    Jack,

    The article states that the source works with a slightly modified version of WinAPI. Some structs and methods used in the example have not (yet) been included in the official WinAPI release. What you can do is take the WinAPI dll that is included with the zipfile and use this a reference in the GDIInternals project. This should compile fine.

    There is just one catch, I think. The WinAPI dll that comes with the example is compiled for the pocket PC (device) platform, so you have to test it on that platform.

    Thumbs up for the OpenNETCF Advisory Board! Great stuff you're doing here.

    Stephane

    stephanetombeur@hotmail.com
  • 05-30-2003 17:18 In reply to

    Re: Article and Source

    My apologies. Apparently for some unknown to me reason Visual Studio, when adding references decided in a form ..\..\ParentDir1\ProjectDir2 which has obviously backfired since there was a zero chance that anyone would unpack it into a directory with the same name that I had. The solution and the projects with corrected references are now avialable for download in place of the old one


    Alex Feinman
  • 05-30-2003 17:22 In reply to

    Re: Article and Source

    quote:
    Originally posted by stombeur
    The article states that the source works with a slightly modified version of WinAPI. Some structs and methods used in the example have not (yet) been included in the official WinAPI release. What you can do is take the WinAPI dll that is included with the zipfile and use this a reference in the GDIInternals project. This should compile fine.




    Correct. I'll rebuild it with the latest OpenNETCF.WinAPI when I'm back from TechEd a week from now

    quote:

    There is just one catch, I think. The WinAPI dll that comes with the example is compiled for the pocket PC (device) platform, so you have to test it on that platform.



    It does not really have any platform dependencies, so there should not be any problems using the same binary on CE.NET
  • 07-13-2003 12:18 In reply to

    Re: Article and Source

    Has this been moved into the official build yet? I didn't see the new methods in the help files.
Page 1 of 1 (6 items)