I'm debugging a software which crashes eventually with one of the following messages:
1. DAMAGE: after normal block (#24729280) at 0x00D710E0
2. Debug Assertion Failed
Program: D:\Soft\Test.exe
File: dbgheap.c
Line: 1017
Expression: _BLOCK_TYPE_IS_VALID(phead->nBlockUse)
This software is really old but changing it now is ...
I've been having crash problems due to heap problems, so I guess a buffer overflow is happening somewhere. How do I detect it?
...
I found a great C++/ODBC example here...
The project I downloaded builds great and everything works. However, when I copy the .cpp and .h files into another project, I seem to have a linking problem.
The SQLConnect function in sql.h is the one I want. When I right-click this function in the easyodbc.h file in the project I downloaded...
I've been a Visual C++ user for quite some time now, and in the following weeks, I will be joining a (C++) Linux-only project. It should be noted that I have absolutely zero development experience on Linux.
Currently, Visual C++ 9 along with the Visual Assist X add-in make Windows-based development rather enjoyable. Having looked at var...
How to convert CString in MFC to char[] (character array)
...
I'm working on a cross platform project that uses STL. The other compiler includes STL support by default, but in VS2005 I need to add the following before the class definitions that use STL items:
#include <cstdlib>
using namespace std;
Is there a VS2005 option that would set this automatically? It's just a bit tedious to work around...
Hi,
I have to read the text character by character from a RichTextBox in VC++. I need a function like getch or getche.
...
For example the following cast can be found littered throughout the MSDN documentation:
(LPTSTR)&lpMsgBuf
Should I bother converting that to:
static_cast<LPTSTR>(&lpMsgBuf);
Or should I just leave all the idiomatic C-esque Win32 portions as they are typically found in the docs, and save the more idiomatic C++ style/usage for the re...
I keep getting this error after my application is running for 2 days.
I've been told it's been some kind of buffer overflow, but is it the only option?
The app is written in C++ using Visual C++ 6.0.
...
Does anyone know (with confidence either way) if Microsoft plans on continued support (as in compiling) the legacy (2003) deprecated (vs2005/vs2008) Managed C++ (MC++) Syntax to target the .NET CLR in C++ code?
Microsoft officially deprecated the /clr:oldSyntax with the VS2005 C++ Compiler (Orcas); and thankfully the VS2008 C++ compiler...
In VC++ 6.0 (MFC), how the the controls eg : Button, EditBox, and Static Text can be move from bottom of the form to top of the form.
...
Hi,
I'm new to drawing the chart using chartfx
can you give me the meanings of teh following methods,
they are kinda confusing...I did not find documentation anywhere.
GetValue ( )
GetXValue ( )
PutItem()
Thanks,
Arjun
...
I'm compressing raw AVI files to WMV using the ASF Writer.
I'm in a big need to make the compression faster.
There are any hints & best practicevs on how to achieve this ? Drop/lower the indexer impact ? Any hidden compression parameters ?
The files contains just video in RGB/24bits format and the compression level for the video stream...
Can we override the Save As dialog of Adobe Photoshop? How we can override? What will be your approach?
Actually I want to pop up my own dialog (which save file on server without asking the target path location) instead of Adobe's Save As dialog.
...
Hello,
What's the best and easiest way to build a c++ application, which was written with Visual Studio, for Linux? The code itself is ready - I used only cross-plattform libs.
Is it possible to prepare everything under Windows in Visual Studio and then build it with a cli tool under Linux? Are there any docs describing this?
Thanks,...
Hi,
Is it possible to get Visual Studio to output any of the type information when compiling C++? GCC has GCC-XML and I was wondering there was something similar for VS2008.
Thanks
BEN
...
How would I create an class that records the users interactions with the desktop. and it should convert it to a video format such as wmv file?
...
Hi,
I am working on a project which need to customize the default functionality of IEXplorer.
I need to pop up my own dialog instead of default IExplorer dialog(IExplorer run or save dialog window) when we trying to load a file from net.
Is tere any way to do this?
Plz reply.
It's a Local Application.
...
Hi,plz can anbody explain me how settimer works in vc++,and wat is its parameters?
thank u.
...
In my project i have 2 radio button "File" and "not File" and i also hav a textbox called "width"..
I need to disable the text box when i click on "not file" radio button and once i click "file" radio button it should enable the textbox..
Can u tell me the function in Windows programming in visual c++
EDIT : "Add variable" is disabled...