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

Object Descriptor

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


Joined: 21 Sep 2002
Posts: 233
Location: Aveiro, Portugal

Posted: Fri Aug 27, 2004 1:31 pm     Post subject: Object Descriptor

Parents:
Project Info 2

[vb:bmxx6dzl]
  1. Type ObjectDescriptor
  2.   lNull1      As Long '0x00 (00d)
  3.   aObjectInfo As Long '0x04 (04d) Pointer to Object Info
  4.   lConst1     As Long '0x08 (08d)
  5.   lNull2      As Long '0x0C (12d)
  6.   lFlag1      As Long '0x10 (16d)
  7.   lNull3      As Long '0x14 (20d)
  8.   aUnknown1   As Long '0x18 (24d)
  9.   lNull4      As Long '0x1C (28d)
  10.   aUnknown2   As Long '0x20 (32d)
  11.   aUnknown3   As Long '0x24 (36d)
  12.   aUnknown4   As Long '0x28 (40d)
  13.   lNull5      As Long '0x2C (44d)
  14.   lNull6      As Long '0x30 (48d)
  15.   lNull7      As Long '0x34 (52d)
  16.   lFlag2      As Long '0x38 (56d)
  17.   fObjectType As Long '0x3C (60d) Flags for this Object
  18.                       '0x40 (64d) <- Structure Size
  19. End Type
[/vb:bmxx6dzl]

Notes:
* lNull1 links to another Heap during compilation and its nulled when releasing.
* lConst1 is set to -1 by the compiler (maybe some reserved value).
* lNull2, lFlag1, lNull3, lNull4, lNull5, lNull6 and lNull7 are probably temporary values only used in the IDE.
* All-in-all ignore this structure, because it can be deleted from the executable.

Pointers:
Object Info

Greetings to Alexandru Ionescu for helping finding this out.
Back to top
_aLfa_
Site Admin


Joined: 21 Sep 2002
Posts: 233
Location: Aveiro, Portugal

Posted: Sun Aug 29, 2004 10:25 am     Post subject:

Edited a bit, because some values were mis-aligned.
_________________
One thing only I know, and that is that I know nothing. (Socrates)
Back to top
Welf Wiest
New User


Joined: 15 Dec 2007
Posts: 4

Posted: Mon Dec 17, 2007 10:23 am     Post subject:

I decoded aObjectDescriptor; //0x0C (12d)
I named it

[cpp:3m7lfn3k]
  1.  
  2. VBATypeInfo *pVBATypeInfo;
  3.  
  4.  
  5. //Struktur aus VBAObjectInfo verwiesen
  6. class VBATypeInfo
  7.   { public:
  8.       DWORD dw0;
  9.       VBAObjectInfo *pVBAObjectInfo;
  10.       DWORD dw1[2];
  11.       unsigned short nCountVARDESC;
  12.       DWORD dw2;
  13.       VB6_FUNCDESC **ppFuncDesc; //Table of function descriptions (Count from VBAObject)
  14.       DWORD dw3;
  15.       VB6_VARDESC **ppVarDesc;
  16.   };
  17.  
[/cpp:3m7lfn3k]


it contains all Function and Variable Descriptions
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