Albert
Albert

Reputation: 68360

crash when calling gd function

I got libgd from here and link to it from within some MSVC 2010 project. When I call gdImageCreateFromPng(FILE *in), it crashes. I'm not exactly sure where to start debugging so I'm asking here. Maybe the libgd is outdated (it's from 2005)? Maybe it is something unrelated?

Upvotes: 0

Views: 215

Answers (1)

Albert
Albert

Reputation: 68360

I searched a bit around and it was said in this forum post that the published DLLs are compatible to MSVC6 only. Esp., it is said there that all gd-functions which take a FILE* parameter don't work.

Upvotes: 3

Related Questions