gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Calling the Win32 APIs


From: Vance Grkov
Subject: RE: Calling the Win32 APIs
Date: Fri, 30 May 2008 20:49:12 +0000

Cool Thanks for the explanation Richard! I will give it a try tonight and see how it works out.

By the way, what is the reason for needing to have separate header and libraries (mingw)? Why can't the MS Platform Libraries and Headers be used (maybe besides from copyright issues)?

Regards!
Vance

> CC: address@hidden
> From: address@hidden
> To: address@hidden
> Subject: Re: Calling the Win32 APIs
> Date: Thu, 29 May 2008 08:11:54 +0100
>
>
> On 28 May 2008, at 19:04, Vance Grkov wrote:
>
> > Hello
> >
> > I installed GNUstep on Windows and created a sample hello world
> > window based application (using NSWindow, NSView, NSButton ...)
> >
> > Now, how do I call Windows APIs from this GNUstep application?
>
> In an ideal world, you use the GNUstep APIs and don't need to use
> windows APIs (since GNUstep is supposed to provide for cross-platform
> application development rather than deal with platform specific
> APIs) ... but you can call windows APIs directly if you need them for
> something.
>
> >
> > (Do I need to install the platform SDK first and will gcc work with
> > the MS headers and libraries.)
>
> You will have mingw and msys installed with GNUstep. The mingw
> project provides headers and stubs for the win32 libraries. The msys
> stuff provides the development environment (gcc, make etc), so you
> should simply be able to use these directly. If there are APIs that
> mingw doesn't support, that's probably best addressed by asking the
> mingw mailing lists (see www.mingw.org).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]