Lisp HUG Maillist Archive

Win32 API bindings

Hello,
does anyone have good tested Win32 API FFI bindings? (I am mostly interested in GUI stuff - the likes of SetWindowLong, brushes functions, device context functions etc.).
 
Additionally, can anyone explain why doing M-x Evaluate Buffer on win32.h with contents
 
//BOF
//(prototypes edited for test purposes - macros like DWORD and LONG expanded)
 

long FindWindowEx(long hwndParent,
    long hwndChildAfter,
    char* lpszClass,
    char* lpszWindow
);
 

bool SetWindowLong(          long hWnd,
    int nIndex,
    LONG dwNewLong
);
 

bool SetWindowPos(          long hWnd,
    long hWndInsertAfter,
    int X,
    int Y,
    int cx,
    int cy,
    unsigned int uFlags
);
//EOF
 
 
 
 
 
produces the following error:
 
Name must be a string or a recognised symbol: :ABSOLUTE.
 
?
 
This is on LWW 4.4.5 under Windows XP.
 
Thank you, Denis.

RE: Win32 API bindings

> does anyone have good tested Win32 API FFI bindings?
> (I am mostly interested in GUI stuff - the likes of
> SetWindowLong, brushes functions, device context functions etc.).

see http://cl-cookbook.sourceforge.net/win32.html for a good starting point.

-- 
Frank Buß, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de



Re: Win32 API bindings

Unable to parse email body. Email id is 4005

Re: Win32 API bindings

Unable to parse email body. Email id is 4006

Updated at: 2020-12-10 08:52 UTC