Windows API functions

  • Hello,
    are all WindowsCE 5.0 API functions placed in coredll.dll or are there additional DLLs? I searched currently for GetClientRect and got a NotSupportedException.
    Thank you for answering in advance.

  • Usually when you keep the default settings of the Compiler, everything just works fine. GetClientRect() is a graphics function and might reside in a different library. But why do you want to know the library? You have the library on-board, so why bother in which one? If such a basic function fails, then you have most probably manipulated the library search path and the libraries under \windows are not found anymore.


    Regards,


    H. Keller

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Sorry, I forgot to explain that I'm using VB .Net 2008 where you have to declare system functions this way:
    Declare Function GetClientRect Lib "coredll" ( _
    ByVal hWnd As Long, ByRef lpRect As RECT) As Long
    It means you have to declare not only the function name but the library too. This is the reason for my question.