Visual Studio 2005
For those who do not mix .NET C# code with legacy DLL's that use char* pointers on a regular basis, the process to convert the strings one way or the other is non-obvious. This is not a comprehensive article on the topic at all, but rather an example of something that took me some time to go find, maybe it will save someone else the time. I am utilizing a third party too that uses a call back function to inform my application of its progress. This callback includes a pointer that under some circumstances ......
I was speaking with a colleague earlier today about a potential threading issue in his code. I suggested serializing access to his object to ensure two threads are not using it at the same time, as that could corrupt the processing. Being a relative “old-timer” who’s largest mutithreading applications were written in Visual C++ v 5 and 6, I remember heavy use of the CriticalSection, and wrapping the lock/unlock of critical sections in a class to ensure that every lock eventually got unlocked. We ......
I've been fighting with this a few times, and did exactly what is described in the following article - fiddled with things until it worked. But this time I was having no luck, and googled the right words, and found this gem of an article on the Document Outline Window, a feature of VS 2005. I won't repeat what it says, just go read this article if you are tearing your hair out trying to get components to dock where you've asked them to dock, and in the order you wish them to dock... Also if you've ......
Most resizing logic is either geared toward running the application in different resolutions, or in keeping a control proportionately placed on a page or with reference to other controls. The Dock feature is great for handling a lot of your resizing needs as well. But I've found a solution to a different resizing problem that I'll bet others have run into as well. Let’s say I have placed three labels (or other controls) in a strip at the top of the screen, and these are resized to each be 1/3 the ......
I don't know if anyone else has experienced this, but it is getting pretty annoying. I have a VS2005 project that is version controlled with VSS. When I open the project, it takes up to 4 or 5 minutes to open. This time I did a little digging, and see that the devenv.exe CPU is at from 15 to 40%. Watch the network, and I see that it is very busy reading data. Nothing else going on, it is definitely VS2005... Most likely going to my VSS server. By the time the project finally opens, it has used 3.5 ......