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

COM Data (called aProjectDescription on this site)

 
   VB Decompiler Forum Index -> Structures
Author Message
ionescu007
Sometimes here


Joined: 21 Aug 2004
Posts: 33

Posted: Sun Aug 22, 2004 10:50 pm     Post subject: COM Data (called aProjectDescription on this site)

Hi Everyone,

I've updated the PDF with completely documented information on VBHeader.aProjectDescription, or what I now call "COM Registration Data" (officially called tagREGDATA inside MS).

This structure contains lots of goodies regarding all the COM objects in your project.

Same site: http://www.relsoft.net/Articles/VB/vb.pdf

Same "rules", you're allowed to copy it here just add a credit, thanks

Btw, the four last "flags" in VB Project Structure (the ones on your site) aren't actually part of the structure, they are merely there for padding. VB doesn't always zero out its heaps when compiling, so sometimes you get random values instead of 0s, making you think that something is actually there. I got a lot of that in the COM structures I documented in the updated PDF. Then I noticed the "Random values" where actually bits and pieces of code or other data inside my project, which were only initalized to 0 by luck, or actually had a valid value if they were used. Getting pieces of your code in a VB structure is simply because those values were on the stack at that time.

Best regards,
Alex Ionescu
President, Relsoft Technologies
Kernel Developer, ReactOS
Back to top
vbgamer45
Regular user


Joined: 07 Jul 2004
Posts: 93
Location: 127.0.0.1

Posted: Sun Aug 22, 2004 10:53 pm     Post subject:

Thank you you answered one of my questions.
I was wondering what VBHeader.aProjectDescription was.
It was not the string of the project description like i thought it was supposed to be instead.
The data that i recieved via this address was not a string but something else..


Last edited by vbgamer45 on Sun Aug 22, 2004 11:47 pm; edited 1 time in total
Back to top
ionescu007
Sometimes here


Joined: 21 Aug 2004
Posts: 33

Posted: Sun Aug 22, 2004 10:56 pm     Post subject:

NP, I hope it all makes sense now. This structure (and childs) was a b*tch.

Best regards,
Alex Ionescu
President, Relsoft Technologies
Kernel Developer, ReactOS
Back to top
_aLfa_
Site Admin


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

Posted: Mon Aug 23, 2004 9:33 am     Post subject:

What can I say?

WOW
_________________
One thing only I know, and that is that I know nothing. (Socrates)
Back to top
_aLfa_
Site Admin


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

Posted: Mon Aug 23, 2004 9:41 am     Post subject:

By the way, I changed aProjectDescription to aCOMRegData because we hadn't defined a ProjectDescription structure so far.

I will add this structures to sticky later today
_________________
One thing only I know, and that is that I know nothing. (Socrates)
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