What I am doing wrong?
That dll seems to be for MinGW.
gdImageCreate@8 isn't normal __stdcall function name in win32,
_gdImageCreate@8 or
gdImageCreate is for win32.
_gdFontGiant is for data.
__declspec(dllimport) in header also means to use
gdImageCreateEDIT: some bgd.dll depends too much msvcrt.dll, so it can be useless with PellesC (different FILE struct?).