There are plenty of different Add-Ins for Visual Studio, see Visual Studio Gallery
. Please share your experiences and favorites.
As motivation, here are some of my favorites:
Versioning Controlled Build [F/O] - very handy extension for automatic build numbering,
SlickEdit Gadgets [F] - useful editor gadget, build-in file explorer, .....
Hi, does anyone have any resources for learning assembly language on x86? I'm trying to debug a program in MSVC++6 and frequently come across assembly (like stepping into memcpy).. Previously I just ignored these but memcpy keeps throwing exceptions and I need to find out why..
Any help would be appreciated :)
EDIT:Wow, lots of great r...
when reading data through serial port
VARIANT data;
BSTR k;
if(m_mscom.GetCommEvent() == 2)
{
data = m_mscom.GetInput();
k = data.bstrVal;
}
What is BSTR k; and
what do you mean k=data.bstrVal? What is bstrVal?
...
I need to iterate through the items (strings) in a CComboBox to check which string is the longest. How can I get each item in the list?
...
Microsoft Visual C++ Express does not include the built-in resource editor that comes with the professional versions. Are there any good, free, alternatives out there that let you visually edit those .rc files?
Note: I am talking about the resource script source files used by Visual C++ to compile the resources, not the compiled resourc...
I have an MFC wrapper over a COM object. There is a function that takes a large number of options, which are mostly optional. How do I pass some arguments but not others?
For what it's worth, the optional arguments are listed as VARIANT*.
Below is the code
CComVariant vFalse = false;
CApplication application;
{
application.Cr...
I've recently started poking around in Visual Studio 2005, and I'm mucking about in Visual C++. When I double click on a control in the designer, it opens the .h file, which I've understood to be for prototype declarations, and if I put all the guts to the functions in there, I can get my program to work, but I don't like having the cod...
Hi, I have some code in MS VC++ 6.0 that I am debugging. For some reason, at this certain point where I am trying to delete some dynamically allocated memory, it breaks and I get a pop up message box saying "User Breakpoint called from code at blah blah".. then the Disassembly window pops up and I see
*memory address* int 3
The ...
Hello,
I'd like to check if the system is in standby mode, is there any Win32 API for that? I'm not sure if it's the same as the sleep mode.
There's some code that gets executed in my app, which causes it to hang when coming out of standby (it's executed during the standby mode), so I'd like to avoid running that code when the computer...
I have recently discovered the existence of _nolock functions, and I am surprised by how little info I can find on these. It says it increases performance, but I can't find any benchmark. It also says they can be used in a multi-threaded program if the program does its own locking, but what has to be locked? Should all CRT calls go throu...
while reading a data through the serial port.I want to know that the data which is coming through the port in which format it is ? wheathr ASCII, Decimal or Hexa or in Bytes it is,
plz any boby give the hint
...
We have an app compiled using MSVC 2K5, SP1 (version 762 msvcrt80)
All is well, right up until somebody installs on the same machine .Net3.0SP1, and along with it msvcrt80 version 1433 is installed and a policy to automatically upgrade.
Now we have random crashes all over the place and unhappy customers.
I understand we can adjust our...
I find increasingly now when I am building a large project, I get the following error.
fatal error C1083: Cannot open
compiler intermediate file:
'C:\Temp\SYS\a03132ex': Permission
denied
It occurs in Visual Studio 2003 and VC6, and I have investigated the potential MSDN reasons and drawn a blank. There is plenty of space ...
Is there a way to set a pragma disable warning for visual studio for an entire solution?
...
Hi,
I have a certain application in MSVC6.0 all C code. I have it as two workspaces :
1.) First workspace creates a static library file, *.lib after compiling the source.
2.)Second workspace has a test application(main()) and links the previously generated *.lib library and creates and exe.
When i try to single step the test appli...
We're looking for a way to include some sort of build ID automatically in our builds. This needs to be portable (VC++, g++ on Linux and Mac) and automatic. VC++ is what matters most, since in the other environments we use custom Python build scripts so I can do whatever I want.
We use SVN, so we were looking at using the output of svnve...
In my programs infinity usually arises when a value is divided by zero. I get indeterminate when I divide zero by zero. How do you check for infinite and indeterminate values in C++?
In C++, infinity is represented by 1.#INF. Indeterminate is represented by -1.#IND. The problem is how to test if a variable is infinite or indeterminate. ...
In Visual Studio (C++), is there a way to easily find duplicate headers that are defined in .cpp files?
I'm also trying to find ways to detect this situation:
A includes B includes C
A includes C
=> A doesn't need to include C
...
How can I hide a menu item under certain conditions in MFC?
I'm not interested in just graying it out.
...
If you use Visual Studio 2008 and have many project files within solutions how do you keep them in sync? In other words, if you change a property in one project, how do you ensure that this property is automatically changed in other projects?
...