Click here to Skip to main content
15,897,518 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: Prepping for SQL Server Update Pin
#realJSOP26-Jun-18 7:04
professional#realJSOP26-Jun-18 7:04 
GeneralRe: Prepping for SQL Server Update Pin
Dave Kreskowiak26-Jun-18 7:33
mveDave Kreskowiak26-Jun-18 7:33 
GeneralRe: Prepping for SQL Server Update Pin
TheGreatAndPowerfulOz3-Jul-18 8:57
TheGreatAndPowerfulOz3-Jul-18 8:57 
GeneralRe: Prepping for SQL Server Update Pin
kmoorevs22-Jun-18 6:15
kmoorevs22-Jun-18 6:15 
GeneralRe: Prepping for SQL Server Update Pin
Slacker00726-Jun-18 2:26
professionalSlacker00726-Jun-18 2:26 
GeneralRe: Prepping for SQL Server Update Pin
#realJSOP26-Jun-18 5:11
professional#realJSOP26-Jun-18 5:11 
JokeRe: Prepping for SQL Server Update Pin
dan!sh 26-Jun-18 2:55
professional dan!sh 26-Jun-18 2:55 
GeneralAnother Cause for LNK1181 Pin
David A. Gray19-Jun-18 19:07
David A. Gray19-Jun-18 19:07 
I discovered that LNK1181 arises when the /P switch gets into the C/C++ compiler command line, preventing the compilation phase from producing an output file. This happened accidentally early in development, and for some reason remained enabled for my x86 Release build configuration. Once I removed the /P switch, the link step completed without errors.

Linker Tools Error LNK1181 | Microsoft Docs mentions other common causes, but says nothing about this one. When I discovered this, I opened an issue, Another Cause for LNK1181 · Issue #299 · MicrosoftDocs/cpp-docs · GitHub with Microsoft.

Since it might be a while before the suggestion gets into the documentation, this is a heads up. Meanwhile, at least there is a link to the issue.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Another Cause for LNK1181 Pin
Randor 20-Jun-18 4:58
professional Randor 20-Jun-18 4:58 
GeneralRe: Another Cause for LNK1181 Pin
David A. Gray20-Jun-18 6:42
David A. Gray20-Jun-18 6:42 
GeneralRe: Another Cause for LNK1181 Pin
Randor 20-Jun-18 7:18
professional Randor 20-Jun-18 7:18 
GeneralRe: Another Cause for LNK1181 Pin
David A. Gray20-Jun-18 7:39
David A. Gray20-Jun-18 7:39 
GeneralRe: Another Cause for LNK1181 Pin
Randor 20-Jun-18 8:31
professional Randor 20-Jun-18 8:31 
GeneralRe: Another Cause for LNK1181 Pin
David A. Gray20-Jun-18 8:39
David A. Gray20-Jun-18 8:39 
GeneralRe: Another Cause for LNK1181 Pin
TheGreatAndPowerfulOz3-Jul-18 9:03
TheGreatAndPowerfulOz3-Jul-18 9:03 
GeneralRe: Another Cause for LNK1181 Pin
Randor 3-Jul-18 10:45
professional Randor 3-Jul-18 10:45 
GeneralRe: Another Cause for LNK1181 Pin
TheGreatAndPowerfulOz3-Jul-18 13:49
TheGreatAndPowerfulOz3-Jul-18 13:49 
GeneralRe: Another Cause for LNK1181 Pin
Marc Clifton20-Jun-18 15:51
mvaMarc Clifton20-Jun-18 15:51 
GeneralRe: Another Cause for LNK1181 Pin
Randor 20-Jun-18 16:54
professional Randor 20-Jun-18 16:54 
GeneralRe: Another Cause for LNK1181 Pin
David A. Gray21-Jun-18 7:14
David A. Gray21-Jun-18 7:14 
GeneralFreestanding Color Picker Programs Pin
David A. Gray14-Jun-18 11:15
David A. Gray14-Jun-18 11:15 
GeneralRe: Freestanding Color Picker Programs Pin
User 1106097914-Jun-18 12:17
User 1106097914-Jun-18 12:17 
GeneralRe: Freestanding Color Picker Programs Pin
David A. Gray14-Jun-18 12:25
David A. Gray14-Jun-18 12:25 
GeneralRe: Freestanding Color Picker Programs Pin
User 1106097914-Jun-18 12:31
User 1106097914-Jun-18 12:31 
GeneralRe: Freestanding Color Picker Programs Pin
David A. Gray14-Jun-18 12:32
David A. Gray14-Jun-18 12:32 

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.