I have a DLL that was made in Delphi, this DLL converts BMP images to JPG images.

Carting around 2 files all the time can get messy, especially when installing 2 files into program files, or error happening when the DLL don't exist any more and this and that.

So i have put the DLL as a resource into my project.

How would i still be able to call API calls with this DLL even though it is a resourse now?

Would i just leave it as "Converter.DLL" and it will instantly know which file i'm talking about inside my exe? If not, then how could this be achieved?