www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++.windows.32-bits - GDI+ for DigitalMars, not to bad

GDI+ for DigitalMars

Locate the files gdiplus*.h by installing the platform SDK.
Install the redist gdiplus.dll.

Create an import lib using Jan Knepper's modified version of
IMPLIB.EXE, renamed as implib_jk.exe, as follows:
 implib_jk /system /v /suffix /def /test /I. gdiplus_dm.lib
gdiplus.dll

The resulting gdiplus_dm.lib can then be linked into your project.
A files titled "gdiplus_dm.cpp" was also created, may be useful.

Change gdiplus.h by adding the following at the top:
 // DigitalMars additions
 #define UINT32 DWORD
 #define ULONG_PTR ULONG
 #define UINT_PTR UINT*
 // End DigitalMars additions
Aug 24 2007