Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C++ Solutions: 151 - 175 of 7050
 
Can anyone recommend the best way to copy or move file folders programatically using MFC C++?  Is it better to use a DOS BATCH file and call it from a C++ MFC program or are there either C++ o...
How does the C++ SetTimer() function without a wndow? I need to set a timeout on user input to getchar() using Visual C++ 6.0 I'm looking for something equivilent to the Unix signal() and al...
A hardware manufacturer has provided me with a .lib and header file to allow me to directly access some functions provided by their drivers. I have very limited C++ experience and have the bul...
We have a function which has the following signature SomeFunction(TCHAR* szPassword,TCHAR* szEncryptPwd) Now we need to pass in a std::string as the first parameter,and convert the second p...
I have the following statements in my stdafx.h file: using std::min; using std::max; My compiler is telling me that min and max are not members of std. What am I missing? I am usi...
How do you convert unsigned int to an unsigned char?
Using VC++ I have created an ATL Project. In that project I have created a class (say MyObject class) using the "ATL Simple Object" class template. This compiles to a DLL file and i can...
Hello guys, Can anyone give me a sample code for this situation? 1. Get a bitmap file (file already exists in local drive). 2. Write a text into the bitmap using Graphics DrawString. 3...
Currently we are suing rc.exe to compile manifests and resources for our c++ application using vs2005. We are trying to migrate to vs2008 but even with a complete install there is no rc.exe an...
I am running a C++ program that takes an NxN array and reads a vertexCover. One requirement of this project is that it returns an elapsed time of each function so the function efficiency can...
How to force specific DLL unloading programmatically ? (i don't want to tweak the registry in order to bypass explorer dll cache system) Or do you know a software that would do that for me...
Hey experts,   I couldn't find on the internet any open source code that demonstrates a simple RTSP Server & Client communication...(I need it to be Windows compliant)....any help on some a...
need some code to run a programm from windows. e.g.: notepad.exe I am new to c++, so please give some code, heard about createProcess() but need a bit more advice.... some code snipp...
For the following code ============= string s; stringstream ssTemp("hallo how are you"); ssTemp >> s; cout<< ssTemp.str()<<endl; int a=0; for(int i=0;i<5;i++){  ssTemp<<i;  cout << s...
I have a prototype USB device that I was told is designed to be a HID compatible device.  (This device is still in pre-production, I received it from the hardware designer).  I was given no so...
I'm wondering if there's a way to copy files in C++ using string variables. ALSO, the file paths/names may have spaces. For example, let's say this C++ app is going through a list of recent...
How big is stack memory in C++?  I need one of the following as an answer: 1. The stack is limited only by the system's available memory. 2. A way to detect the stack's size limit. I need...
The code stops running when it reaches this line in the vector header file&      size_type size() const           {     // return length of sequence           return (_Myfirst == 0 ? 0 : _Mylast - _Myfirst);           ...
Hi folks, Simple question:  How can I get the full pathname of the running executable in C++?  Actually, I just need the current directory that the executable is running in, if there's a wa...
Hi Experts, Does anyone know how to build OpenSSL with Visual C++ 2008? Thank you! Mike
What command do I use to copy values from sheet1 to sheet2 of workbook.xls in C++? I know how to do it in vba but I want to do it in c++..any help would be highly appreciated. Thank you.
Hi All!    I am wondering how to copy folders (and all files/subfolders contained in it) in C++, I tried CopyFolder(init, fin, Bool) but it doesnt work (see code below), any ideas? The folder...
I am using visual C++ 2005(native C++) I got the error error C2065: 'CString' : undeclared identifier for the following code, what is the problem?
I would like to overload operator<< to make a custom "cout-like" object that does more than just output to screen.  I envision:      myout << ERR_LOG  << "We detected and error. blah is: " << b...
I have tried to create a lock on a file x (used by several users) with the use of an ekstra file, that when exists marks that the file x is edited by someone else. The following code works...