Feb 24 2010

Well, trust me it does!

Christoph

// Windows sucks. (Oh, you didn’t know that… Well, trust me
// it does!). It is not documented in the help what
// LoadString returns but it seems that if the text doesn’t
// fit into the buffer LoadString returns 0.
// Ok. Windows NT sucks more. If the string can’t fit into
// the buffer NT returns ERROR_RESOURCE_NAME_NOT_FOUND. Not
// insufficient buffer.
//
// AAAAAAAAARRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHH!!!!!!!!
//

Source: Direct link to the source code
Software: Kerberos Telnet
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 3,67 von 5)
Loading...Loading...

Jan 27 2010

IE’s textRange

Christoph

//IE’s textRange and selection object is woefully inadequate,
//which means this fancy stuff is gecko only sorry :-|
//Die Bill, Die. (IE supports it somewhat nativly though)

Source: Direct link to the source code
Software: Xinha
Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 3,75 von 5)
Loading...Loading...

Dez 22 2009

Sometimes the world sucks

Christoph

/* attempt to create a new thread to wait for activity,
 * this is because windows pipes are crap and doing a Wait on
 * them fails. so us poor programmers have to jump through
 * lots of hoops just to make Bills crap usable, and what
 * really hurts is that after doing so every non-programmer
 * thinks Bills stuff is wonderful!
 * Sometimes the world sucks.
 */

Source: Direct link to the source code
Software: JASSPA MicroEmacs
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (5 Bewertungen, Durchschnitt: 4,20 von 5)
Loading...Loading...

Nov 16 2009

Windows fister

Christoph

/* Just to be F*CKING AKWARD, windows fister… err i
 * mean vista… seperates the nameservers with spaces instead.
 */

Source: Direct link to the source code
Software: InspIRCd
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (7 Bewertungen, Durchschnitt: 4,71 von 5)
Loading...Loading...

Okt 5 2009

Hey IE developers!

Christoph

/*
argh! HOLY SHIT! this crap works only until the 2nd line break. Hey IE developers! no insulting, but did you code IE while you were on drugs?
*/

Source: Direct link to the source code
Software: jQuery plugin: fieldSelection
Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (9 Bewertungen, Durchschnitt: 4,78 von 5)
Loading...Loading...