Click here to Skip to main content
15,867,141 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: "This is a rare event" Pin
Craig Robbins27-Jun-22 14:01
Craig Robbins27-Jun-22 14:01 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult27-Jun-22 14:41
mvePIEBALDconsult27-Jun-22 14:41 
GeneralRe: "This is a rare event" Pin
Duncan Edwards Jones16-May-22 7:05
professionalDuncan Edwards Jones16-May-22 7:05 
GeneralRe: "This is a rare event" Pin
pkfox30-Jun-22 22:36
professionalpkfox30-Jun-22 22:36 
GeneralRe: "This is a rare event" Pin
Member 150787164-Jul-22 17:10
Member 150787164-Jul-22 17:10 
GeneralRe: "This is a rare event" Pin
Ron Anders21-Jul-22 5:56
Ron Anders21-Jul-22 5:56 
GeneralTell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 5:35
Gary R. Wheeler4-May-22 5:35 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 6:42
professionalGreg Utas4-May-22 6:42 
What's wrong isn't obvious to me. Blush | :O

It looks like SendVersion tells you which union to look at.

If sent interprocessor, it will pack differently on 32-bit and 64-bit CPUs, ignoring endianism problems. The fact that there's a version number suggests that this could be the case.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 6:53
Gary R. Wheeler4-May-22 6:53 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 7:00
professionalGreg Utas4-May-22 7:00 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:30
Gary R. Wheeler4-May-22 12:30 
GeneralRe: Tell me what's wrong with the following Pin
Mircea Neacsu4-May-22 9:09
Mircea Neacsu4-May-22 9:09 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 10:09
professionalGreg Utas4-May-22 10:09 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 10:44
professional Randor 4-May-22 10:44 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 11:38
professionalGreg Utas4-May-22 11:38 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 11:49
professional Randor 4-May-22 11:49 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:33
Gary R. Wheeler4-May-22 12:33 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:48
Gary R. Wheeler4-May-22 12:48 
GeneralRe: Tell me what's wrong with the following Pin
Mircea Neacsu4-May-22 13:40
Mircea Neacsu4-May-22 13:40 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 14:28
Gary R. Wheeler4-May-22 14:28 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 12:06
professional Randor 4-May-22 12:06 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:53
Gary R. Wheeler4-May-22 12:53 
GeneralRe: Tell me what's wrong with the following Pin
charlieg15-May-22 1:33
charlieg15-May-22 1:33 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler15-May-22 3:16
Gary R. Wheeler15-May-22 3:16 
GeneralRe: Tell me what's wrong with the following Pin
charlieg20-Jul-22 8:03
charlieg20-Jul-22 8:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.