Actually I do have both. I didn’t mention it in the post before, but tga stopped to work for me too and jpg too.
Then I replaced some definitions in some JPG library includes with byte instead of BOOLEAN and it works again, so it looks like something has changed after moving my project to DLL.
Now only JPG works for me.
ps. PCX stopped to work for me too, so I’m sure it’s not a bug in another parts of my code