'How to Load Images into a Win32 App without changing Linker/Compiler Settings [duplicate]

I need to display Images inside of a Win32 Frame. I can currently only load Bitmaps and Icons using the LoadImage function but i also need to open jpg and png images.

I cant use Gdi+ because I'm required to use CodeBlocks with GCC and must not change any compiler/linker settings.

Are there any other ways to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source