Menu

Devcpp and MS PSDK

Arpad Bato
2008-10-18
2012-09-26
  • Arpad Bato

    Arpad Bato - 2008-10-18

    Do I need the MS Platform Develelopment Kit to develop a Windows application in Devcpp?

    Or Devcpp use his own libraries?

    Thank: Arpad from Hungary

     
    • cpns

      cpns - 2008-10-18

      > Do I need the MS Platform Develelopment Kit to develop
      > a Windows application in Devcpp?

      No, and it would not work in any case.

      > Or Devcpp use his own libraries?

      Yes it does the MinGW Win32API. It would not be legal to distribute Microsoft's files in an open source tool.

      > My installed Devcpp (ver4) linker does not find out
      > the DeleteObject() and CreateSolidBrush() functions for exampl.

      You need to explicitly link libGdi32.a by adding a the -lGdi32 linker option to your ptoject's linker options. Where the MS documentation says to link XXX.lib, you should link libXXX.a (which conforms to teh GNU naming conventions). The -l option assumes the lib prefix and .a extension, so you only need -lXXX.

      It is recommended that you don't use the outdated and unsupported v4. Use 4.9.9.2 (also described as v5 beta).

      Clifford

       
      • Arpad Bato

        Arpad Bato - 2008-10-20

        Thanks Clifford!

        PSDK is ok.

        About libraries: First I have try to generate my program from a native source file, not from project! When I have copied the native source file to a new project, it was in good working.

        Arpad

         
    • Arpad Bato

      Arpad Bato - 2008-10-18

      Still I am. My installed Devcpp (ver4) linker does not find out
      the DeleteObject() and CreateSolidBrush() functions for exampl.

       

Log in to post a comment.