• Welcome to Valhalla Legends Archive.
 

Visual Basic 6 - Winsock API

Started by TheMinistered, June 08, 2003, 12:49 PM

Previous topic - Next topic

TheMinistered

#15
lol, camel, always taking the first answer and not logically thinking through it aye?

visual basic strings are unicode.  I doubt you passed in a different "type" of string.

LenB works by grabbing the BSTR header and returning it.  Len works by grabbing the BSTR header, shifting right by one (dividing by two effectively...) and returning.

Camel

Quote from: TheMinistered on June 10, 2003, 09:35 PM
lol, camel, always taking the first answer and not logically thinking through it aye?

visual basic strings are unicode.  I doubt you passed in a different "type" of string.

LenB works by grabbing the BSTR header and returning it.  Len works by grabbing the BSTR header, shifting right by one (dividing by two effectively...) and returning.

i believe you, but something has going on to make lenb take longer than len

Banana fanna fo fanna

It's not hard to port CheckRevision if you've written expression evaluators before. You don't even need to implement order of operations!

Camel

Quote from: St0rm.iD on June 11, 2003, 06:51 PM
It's not hard to port CheckRevision if you've written expression evaluators before. You don't even need to implement order of operations!

i never said it was
the point is i'm using pointers in vb...and it's ultra slow :D

Banana fanna fo fanna


Camel

Quote from: St0rm.iD on June 11, 2003, 07:30 PM
Don't need to use pointers.
who is filling your head with this stuff? nobody ever said pointers are required. that's why it's a mechanical port! i know it's not efficient--i dont even use it!