Monthly Archives: November 2006

LNK1181: cannot open input file ‘rpcndr.lib’

Symptom: You had recently  installed the brand-new Windows SDK (for Vista and .NET Framework 3.0) and now your proxy stubs fail to link. Cause: The Windows SDK no longer ships with rpcndr.lib (says Shawn Henry) Resolution: Remove rpcndr.lib from the … Continue reading

Posted in Coding Horror | 1 Comment

DataGridView.DataSource may eat your memory

It is suboptimal coding practice to repeatedly assign a new value to the DataSource property of a System.Windows.Forms.DataGridView.                       // Get jobs from service.                     List<JobInfo> activeJobs = m_worker.GetJobs(JobListType.ActiveJobs);                       … Continue reading

Posted in Coding Horror | Leave a comment