Page 1 of 1

The issue of naming conflict between ProcedureDLL function and library function.

Posted: Sun May 04, 2025 5:45 am
by pbc
I'm writing msimg32.dll and need to export the function name "AlphaBlend" using ProcedureDLL.
I must use this exact function name, but PureBasic reports an error: "Invalid name: same as a command (from library '2DDrawing')."
The 2DDrawing library cannot be removed since I use it frequently. How can I resolve this issue?

Re: The issue of naming conflict between ProcedureDLL function and library function.

Posted: Sun May 04, 2025 9:45 am
by mk-soft
First of all, please don't shout like that.
Note: Large font = very loud

What do you have in mind? Normally you use the MSIMG32.dll and don't write one.
Here you will have to use a different name. e.g. AlphaBlendingEx

Re: The issue of naming conflict between ProcedureDLL function and library function.

Posted: Sun May 04, 2025 10:19 am
by Fred
Yes, there is no point writing a new msimg32.dll unless you want to fake it and create a malware. Locked.