"...The function uses the GetEnvironmentStrings function to receive a pointer to the environment block, and the FreeEnvironmentStrings function to free this block. As you can see within the code, the function stores the results of GetEnvironmentStrings into pVarBlock, and then later passes this variable to FreeEnvironmentStrings. The problem is, is that pVarBlock is modified in the meantime..."
Coming back later today... I admit total bewilderment.
FurryGuy appeared to be laughing at two pieces of code, which I, admittedly, didn’t read close enough to see that they were importantly different. I laughed too.
Why are you rage quitting?
I don’t know that I really consider myself an “expert” at C++, but I know enough that, meh, close enough. That doesn’t stop people from treating me like dirt. Right off the top of my head I could post at least three examples of high-and-mighty a-holes picking a stupid-bone with me over at another well-known forum. (Not to mention some recent crap that went down here when I spoke my mind.)
I can also post a very recent example (yesterday!) where I was corrected for being wrong (on a non-coding subforum of said well-known forum), and the people correcting me were even nice about it.
This forum does not allow me to see pre-edit stuff, so I really don’t know what was said, but...
Deleting/closing an account is easy, when logged in.
I don't log out normally because I am the sole user on my computers. My cousin's "friend" saw an opportunity to be an ass and took it. Writing the garbage in this thread, editing the posts and closing out the account.
If'n I hadn't been at death's door from whatever is still kicking my butt I doubt any of this would have happened.
Here in the US of A (you’re in CA, right?), what your cousin’s friend did is actually criminal.
Tell your cousin that he/she ought to inform the “friend” that you are considering pressing charges, which could result in jail time.
(It probably isn’t worth your time to actually do anything, but you could.)