[Feature] - A Way to remove ununsed libraries

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: [Feature] - A Way to remove ununsed libraries

Post by c4s »

c4s wrote:There is a buried "hack" by Danilo called Dead Procedure Remover. [...] Tomorrow I'll try to test if it still works with PB5.40...
Well, better late than never. ;)

Today I finally fiddled around a little with Danilo's code because it needed some changes to get it even started. Unfortunately I have bad news: It doesn't seem to work anymore. I figured it's because the tool is searching the "PureBasic.asm" source file for the strings "macro MP" and "}" (that apparently indicate procedure macros) which aren't available anymore.

Does anyone of you know how it could be adapted to work with PB 5.40? Maybe the ASM source needs to be created with comments so that the missing information can be read/processed correctly?
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: [Feature] - A Way to remove ununsed libraries

Post by Mistrel »

Fred wrote:BTW, if you really need to support Win2000, you can install these redistribuable for GDI+:

http://www.microsoft.com/en-us/download ... x?id=18909

But we don't support it anymore, so it can break anytime somewhere else.
When he mentioned Windows 2000 and GDI+, this is also what sprung to mind. Windows 2000 may be old but the GDI+ redistributable works as far back as Windows 98.
Post Reply