Short for Microsoft Visual C++. It is a C and C++ compiler for Windows

learn more… | top users | synonyms

-3
votes
0answers
10 views

How to write data to Excel with multithread in by vc++ [closed]

An unhandled exception disappears when the ceate Excel applitation in thread. who can help me?
0
votes
1answer
17 views

Adding controls at runtime in from derived class in MFC

I have two classes. class DialogBase is inherited from CDialog class DialogDerived is inherited from DialogBase. BOOL DialodDervied::OnInitDialog() { CDialogBase::OnInitDialog(); //Add ...
0
votes
1answer
29 views

Using fstreams throws an access violation after main returns

The following function works fine, showing a text file line by line to stderr: void load_text(std::string path){ ifstream f(path); char linebuff[100]; linebuff[99] = 0; while(!f.eof()){ ...
-1
votes
2answers
18 views

Why VC2010 tries to link the MFC42 dll after I upgraded my VC6 project

I upgraded my Win32 project from VC6 to VC2010, and fixed a lot of codes which only work on VC6, compiling is OK, but when the project began linking, it failed with the following message LINK : ...
0
votes
1answer
24 views

Creating Makefiles for VC++ with more than one cpp file

I am tasked with adapting a boiler plate make file from a text book to be used with my project. I have 3 source files, Item.cpp Main.cpp and Item.h, and of course makefile. I am lead to believe the ...
-1
votes
0answers
17 views

Query the left time to next auto locking in windows

I want to get the left time to the next auto locking, do you have any idea? Thanks in advance.
0
votes
1answer
6 views

VC++ 2008: DLL import gone haywire - What could be causing this?

The VC++2008 linker for some reason isn't creating proper imports for a DLL I'm working on. The import section should look like this: What I'm getting is this: Somehow the linker is attaching ...
0
votes
2answers
68 views

why the same structure's size is calcuated different in X86 and arm with the similar version gcc?

As subject says,I got different result of the same operation that calcuate a same structure.The struct is below. struct test { char m1; double d1; } When use sizeof(struct test) calcuate it in ...
0
votes
1answer
40 views

Is there any open source solution of single-file storage for a C++ application on windows? [closed]

I'm trying to find an open source solution to supply a single-file storage layer of accessing lots of media files. Up to now, my method may be storing files to SQLite as blob data and what I have to ...
2
votes
1answer
46 views

How to detect whether there is a debugger attached in c++?

I have create a macro, #define DEBUG_BREAK(a) if (a) __asm int 3; But the problem is if there is not a debugger attached, the program would run incorrectly. So I need to know whether there is a ...
0
votes
1answer
54 views

what is the best library to send http request for desktop applications

My application is running in Windows and I have to send some requests to the server. I am currently using libcurl. However there is a limitation when proxy server with authentication is involved ...
1
vote
1answer
124 views

MSVCR110d.dll couldn't be found although exists

I have compiled my program with visual studio 2012 in debug version with shared runtime library option, but when I send my app to my friends, they have alert, that MSVCR110d.dll couldn't be found. ...
0
votes
0answers
19 views

How to get the “my document” directory path of current account? [duplicate]

Usually,we could get the my document's path by read the reg's value by the path:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal. But if I login in a normal ...
0
votes
0answers
49 views

CreateProcessAsUser fail,use GetLastError() to get the error code is 1314

I use win7 os and the develop environment is vs2005. The situation is I want to create the process as current account's priviledge.(such as: in the normal account ,right click the program choice "run ...
0
votes
0answers
15 views

How can a compiler truncate the decorated name of a symbol without affecting behaviour?

Microsoft's Visual C++ compiler has a specific compiler warning, C4503, about truncating decorated names that are longer than the compiler limit (4096 chars). Their description for the warning claims ...

1 2 3 4 5 10
15 30 50 per page