PureBasic readable PB_Flags inside executeable !? bug?

Everything else that doesn't fall into one of the other PB categories.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

PureBasic readable PB_Flags inside executeable !? bug?

Post by va!n »

I think when using ExplorerListGadget() like in following small example code, there will be some "unused?" stuff inside the executeable!?

Code: Select all

If OpenWindow(0,0,0,500,500,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"Test") And CreateGadgetList(WindowID(0))
    ExplorerListGadget(0, 10, 10, 480, 480, "*.*", #PB_Explorer_MultiSelect)
    Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf 
Stuff you can find in the executeable are:

Code: Select all

RHSDANTCOE
PB_Explorer_Column_Accessed
PB_Explorer_Column_Created 
PB_Explorer_Column_Attributes  
PB_Explorer_Column_Modified 
PB_Explorer_Column_Type 
PB_Explorer_Column_Size 
PB_Explorer_Column_Name 
ExplorerList_FakeParent
ExplorerList_ParentClass
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I don't see any unused stuff here, these labels are used in the explorerlistgadget() management.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Fred wrote:I don't see any unused stuff here, these labels are used in the explorerlistgadget() management.
I don't know a lot about the PE format and all that stuffs, but I think he meant that these labels were quite long Pb_********_******_***** and that was growing the size of the exe (a very little bit of course) ;)
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

these long names have been choosen to avoid possible conflicts with user defined names. It could have been shorter, but i don't think it really matter here, the listgadget itself is big.
Post Reply