Gdiplus.dll dependency from 5.40?
Posted: Thu Mar 17, 2016 5:09 pm
I stumbled onto a problem when I fired up a Windows 2000 to test my PB 5.41-program.
I got a message saying that the file GDIPLUS.DLL can“t be located, and yes, that file does not exist on a standard Windows 2000.
However, an older(v5.31) PB-program worked just fine previously so I started investigating what exactly I had done that required gdiplus.dll.
And found absolutely nothing.
So more testing followed and I could conclude with a simple program like below:
that with PB 5.31, this will generate an executable with no gdiplus.dll dependency.
With PB 5.40/5.41/5.42 this will generate an executable with gdiplus.dll dependency.
So something changed within PB between 5.31 and 5.40.
My problem is that I want to run my software on Windows 2000....
Any suggestions would be really appreciated!
I got a message saying that the file GDIPLUS.DLL can“t be located, and yes, that file does not exist on a standard Windows 2000.
However, an older(v5.31) PB-program worked just fine previously so I started investigating what exactly I had done that required gdiplus.dll.
And found absolutely nothing.
So more testing followed and I could conclude with a simple program like below:
Code: Select all
; Shows possible flags of ButtonGadget in action...
If OpenWindow(0, 0, 0, 222, 200, "ButtonGadgets", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(0, 10, 10, 200, 20, "Standard Button")
ButtonGadget(1, 10, 40, 200, 20, "Left Button", #PB_Button_Left)
ButtonGadget(2, 10, 70, 200, 20, "Right Button", #PB_Button_Right)
ButtonGadget(3, 10,100, 200, 60, "Multiline Button (longer text gets automatically wrapped)", #PB_Button_MultiLine)
ButtonGadget(4, 10,170, 200, 20, "Toggle Button", #PB_Button_Toggle)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
With PB 5.40/5.41/5.42 this will generate an executable with gdiplus.dll dependency.
So something changed within PB between 5.31 and 5.40.
My problem is that I want to run my software on Windows 2000....
Any suggestions would be really appreciated!