Hi,

This is a follow up to [ nantcontrib-Bugs-1082302 ] Vb6task ignors
references when parsing the project.
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1082302&group_id=54790


I encountered a somewhat strange behavior of VB6 with Typelib numbers in
vbp file.

I have a project with two external self writen components
Both have only one entry in registry since I used a regcleaner

The first one, let me call it viewer.ocx:
Typlib entry in registry:  d.0
referece entry in VBP:    13.0

both entries are corresponding obviously. But I'm not shure if the last
patches in bug 1082302 handle the hex major number in registry
correctly. (I didn't use the debugger to step through)

The second one, let me call it DAL.dll:
Typlib entry in registry:  b.0
referece entry in VBP:     b.0

This causes a parse error when trying to parse the hex b into double
(ushort).

To solve this parse error I changed the major number handling to
Convert.ToUInt16 like the minor number.
Then this reference will be resolved correctly. But now vb6 task throw a
warning that the first component (viewer.ocx) could not be found.

Right now I have no idea how to resolve this.

Best regards

Dominik
--
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to