VB Decompiler Forum Index VB Decompiler
Hosted by TheAutomaters.com
 
  MemberlistMemberlist
 

ObjectInfo? FormInfo? ModuleInfo???

 
   VB Decompiler Forum Index -> Structures
Author Message
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Sat Sep 28, 2002 4:30 am     Post subject: ObjectInfo? FormInfo? ModuleInfo???

Hey i was wanting all of your opinions on the ObjectInfo struct[s]

As far as ive seen they are all the same with the exception of the FormInfo

we have:
ClassInfo
ModuleInfo
PropPageInfo

etc and they are all the same

so i was thinking that perhaps they should all be one struct.

ObjectInfo

Or should there be seperate structs for each type?

FormInfo
ClassInfo
ModuleInfo
PropPageInfo

etc

Let me know.
Back to top
Anonymous
New User


Joined: 10 Feb 2008
Posts: 0

Posted: Sat Sep 28, 2002 12:42 pm     Post subject:

Think of it as ObjectInfo and OptionalObjectInfo. Hence:

Code:

Private Type ObjectInfo
Signature As Integer ' Has always been 00 01
ObjectNumber As Integer ' Number of object, starting at 0
aUnknownAddress1 As Long ' ?? address - seems to be constant through the objects. Address to another struct
UnknownNull1 As Long
aUnknownAddress2 As Long ' FFFF FFFF for modules
UnknownVariable1 As Long ' FFFF FFFF for modules
UnknownNull2 As Long
aUnknownAddress3 As Long ' Address to a structure 0x30 bytes long
aUnknownAddress4 As Long ' Address to a structure 0x10 bytes long
AmountOfFunctions As Long ' Amount of functions
FirstFunction As Long ' Address of first function. If there is a module with no functions then it seems random
UnknownVariable4 As Long ' ?? unknown variable 0400 (amnt of jumps) 2000 ?
UnknownNull3 As Long
UnknownVariable5 As Long
aVariablePool As Long ' Address to variable pool
End Type


And

Code:

Private Type OptionalObjectInfo
UnknownNull4 As Long
aUnknownAddress7 As Long
UnknownNull5 As Long
aUnknownAddress8 As Long
AmountOfEvents As Long
aUnknownAddress9 As Long
UnknownNull6 As Long
aUnknownAddress10 As Long
AmountOfControls As Long
aControlTable As Long

UnknownVariable6 As Long
UnknownVariable7 As Long
aUnknownAddress11 As Long
aUnknownAddress12 As Long
UnknownNull7 As Long
UnknownVariable8 As Long
aUnknownAddress13 As Long
aUnknownAddress14 As Long
End Type


As you can see, I havent really looked into the optional part enough to make any decent conclusions - besides finding the node that goes to the next structure (or one of them at least)...

People, you got anything to add to my humble unknowns?
Back to top
MrUnleaded
Site Admin


Joined: 21 Sep 2002
Posts: 385
Location: California

Posted: Sat Sep 28, 2002 9:44 pm     Post subject: Yea thats what i was thinking

thats pretty much what i was thinkng....ObjectInfo and Optional ObjectINfo.... i think i have some stuff to add.....well at least about the unknowns....const\variable....etc

ill post in a few days...
Back to top
   VB Decompiler Forum Index -> Structures All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group