Hi All,
I am looking for some list containing all string related issues in VC++ 6.0 which are fixed in later service packs such as this one. Can anyone please help me on this regard?
The reason for my search is this: We face some string related issues in our VC++ 6.0 based product. I am looking for other potential issues.
Thanks.
...
I'm trying to have VS2008 automatically print out the value of a memory location when that memory location changes. I've successfully set a data breakpoint on this location, however when trying to use the "When Hit..." option on the breakpoint to print out the memory value, I'm not having much luck. This is what I've tried entering as th...
is there an equivalent option line --enable-auto-image-base (gcc/cygwin) in vc++ to automatically set a default image-base address of a DLL?
or does someone know the common practise to calculate unique base address and specify it with /BASE?
I'm compiling many simple DLLs from c source files inside an batch,
and all DLLs have the same ...
I have to add new columns in existing table. I can able to successfully add new column, but following exception occur while tying to modify the column attribute to nullable.
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
Here my code,
HRESULT hr = S_OK;
ADOX::_CatalogPtr...
In company that I work for, I was given the opportunity to write an application, which would replace the old Excel workbook, which is used to plan the production queue. Because VBA was simple and Excel was easy to use, for few years this workbook was used by several people to plan/add changes/notes about current production status. Whole ...
I have a std::vector full of objects, each with a numeric group identifier associated with them. The object also has properties such as "size" and "name".
I need to be able to sort the vector of objects by name, size and other properties while keeping them grouped together (e.g. by the group identifier mentioned above).
How can this go...
I am writing a program that is cross platform. There are a few spots where I have to specify an operating system dependent call.
#ifdef WINDOWS
..do windows only stuff
#endif
#ifdef LINUX
..do linux only stuff
#endif
Are there any preprocesser directives that get defined by the compiler so I don't have to explicitly define them w...
Hi
Can any Body tell me wher can i get CLSID and ProgID of Smo library??
As for DMO it is givenn in a Header file by Microsoft.But i am not finding any Header file
related to smo.
What is the CLSID and ProgID of Smo ??
ANy Hep in this regard greately Appreciated.
Thanks in advance.
...
I'm writing a program in C++ and it takes some command line arguments. The only way I know to pass command line arguments in VSC++ is to open up the properties and navigate to the command line argument field and enter them in, then run it. That's not exactly streamlined if I want to pass in different arguments each time I run it.
The ot...
Hi
Generally we import a tlb file at the starting of the program like
#include < stdio.h >
#import " sql.tlb "
But i need to import a tlb file when certain condition meets in the middle of the program
how can i do this. to load dll there is LoadLibrary() but to load tlb can i use LoadLibrary().
Since tlb is generated by using .dl...
Is there a "call stack" for compiler errors in Visual Studio 2005 (C++)?
For example, I am using a boost::scoped_ptr as the value in a QHash. This is however causing the following compile error:
1>c:\qt\include\qtcore\../../src/corelib/tools/qhash.h(743) : error C2248: 'boost::scoped_ptr<T>::operator =' : cannot access private member d...
I'm having some trouble with Visual Studio 2008. Very simple program: printing strings that are sent in as arguments.
Why does this:
#include <iostream>
using namespace std;
int _tmain(int argc, char* argv[])
{
for (int c = 0; c < argc; c++)
{
cout << argv[c] << " ";
}
}
For these arguments:
program.exe testing on...
This piece of code compiles and runs as expected on GCC 3.x and 4.x:
#include <stdio.h>
typedef union buggedUnion
{
public:
// 4 var init constructor
inline buggedUnion(int _i) {
i = _i;
}
friend inline const buggedUnion operator - (int A, const buggedUnion &B) {
return buggedUnion(A - B.i);
}
...
Hi all,
I have an MDI application that initially doesn't have the main window open. When you click on file and select new, it opens a new tab with the default file name on it.
My application should work like this, when you click on file and select new, a dialog box comes out asking for the name of the file you want to create. After c...
Hi all,
How do you copy a directory, subfolders and it's files? CopyFile doesn't allow wildcards, MoveFileEx works but the source directory is of course, "moved" not actually "copied"
Thanks...
...
Hi all,
i have a program which displays tray icon and popups and balloon when some event occurs. The problem arises when i change the image of the try icon no balloon popups when the event occurs what could i be missing?
Abdul khaliq
...
The Windows CRT in debug mode will show a "Abort,Retry, Ignore" window if the application hits an assert(false) and sometimes it is created many times and fills my screen.
I would love it if the assert would break in the debugger and not ask me any questions.
I have modified the CRT reporting flags which have had no effect.
I have als...
I am woking in c++.
Is there any method to know whether a directory contain a sub directory?
CFileFind seems have to search through total files.
It is time consuming if the only subdirectory is at the end of the list and the there are lots of files.
for example: directory A contains 99995 files and one subdirectory at the end of FindNe...
How do I port DX8's IDirect3DDevie8::CopyRects to DirectX9? I have found a function (stretchRect), but it doesn't seem to work...
//clear the window to blue
m_pD3DDevice->Clear (0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0,0,255), 1.0f, 0);
//get back buffer
LPDIRECT3DSURFACE9 pBackBuffer;
m_pD3DDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_T...
When porting unix project developed in C language to windows and compiling it with VS 2005, compiler reports errors related to incorrect type conversion like " can not convert 'const char*' to 'char*' ". Is it possible to disable this strong checking through compiler options.
-Thanks for attention
...