(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-10-24 10:39 PM
Acmlm's Board - I3 Archive - - Posts by ||bass
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
User Post
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 01-31-07 04:50 AM, in Let's Rant about Visual Basic! Link
Originally posted by Kyoufu Kawa
To finally lay the "no pointers in VB" crap to rest, here's an excerpt from Win32 API Programming with Visual Basic I found in my copy of MSDN. I've marked the important part, StrPtr. There's also VarPtr and possibly a third.
Translating Between Byte Arrays and BSTRs
To copy a BSTR:

Dim s As String

to a byte array, we can proceed in a couple of different ways. For a strictly VB solution, we have:

s = "help"
Dim b(1 To 8) As Byte
For i = 1 To 8
b(i) = AscB(MidB(s, i))
Next


Another approach is:

s = "help"
Dim b(1 To 8) As Byte
CopyMemory b(1), ByVal StrPtr(s), LenB(s)


Note that (in both cases) we get:

104 0 101 0 108 0 112 0

showing that the bytes are reversed in each Unicode integer.
Possibly a third? Therein lies the problem. These 'pointers' from the examples look more like specialized pointer-like objects that simply capture the general-esque functionality of true pointers for specific cases. I still fail to see actual pointer support in the language specification itself. (Actual support being something other than what amounts to what appear to be little more than wrapper objects.)


(edited by ||bass on 01-30-07 10:50 PM)
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-03-07 03:00 AM, in What are US people more afraid of? Link
In all honesty, I don't think the general American public is ready to elect either of them.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-03-07 03:08 AM, in What are US people more afraid of? Link
Originally posted by pix
It's a hard question, but I think Obama would have a higher chance of winning than Clinton. Not only is Clinton a woman, which makes it impossible for her to win, she is also a Clinton. Obama may be black but he is still a politician that is respected by many people.
You think Obama's being black will make it any easier? If Obama gets run, the Dems can kiss votes from the entire south and midwest goodbye. Lets just say that there are plenty of people in this country who firmly believe that it isn't called the WHITE House for nothing.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-03-07 04:44 PM, in Windows Drive Letters Link
Kai is right. Your copy of XP must be defective because there is absolutely no reason the OS needs to be installed on 'C'.

On a personal note, this whole mess is part of the reason I think drive letters are retarded.


(edited by ||bass on 02-03-07 10:44 AM)
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-06-07 01:50 AM, in FC Twin Video Game System (NES/SNES) Link
I honestly can't believe how everyone is somehow shocked and amazed at this thing. People have been making Famiclones for years and years and years. The fact that this houses two in a single casing is nothing surprising.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-06-07 02:25 AM, in Useful Software / Links -- Unix-like/Free Operating Systems Link
Graphics Stuff:
Krita - Part of the KOffice suite, a full featured image editing program. Possibly not the most flexible editor in history, but by far one of the easiest to use.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-06-07 04:13 AM, in what makes life good Link
Lots and lots and lots of sex.
||bass
Administrator








Since: 11-17-05
From: Salem, Connecticut

Last post: 6323 days
Last view: 6321 days
Posted on 02-07-07 04:45 PM, in Game glitches you discovered yourself (possible spoilers) Link
Originally posted by BounderTower
And I don't know if this is a "glitch," but I randomly entered "KILLTV" as a game genie code for SMB3 and it was accepted without being 8 characters long.
The game genie has always permitted 6 character codes, and a number of them were made.
(restricted)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Acmlm's Board - I3 Archive - - Posts by ||bass


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.017 seconds; used 373.63 kB (max 455.48 kB)