What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested C++ Solutions: 151 - 175 of 6086
 
I am writing a Windows Service in unmanaged C++. I would like to program the executable to be able to install itself as a service. In order to do this, I need to be able to programatically get...
Hello, people. I need to figure out what is the cause of RPC_E_SERVERFAULT error. It occures on Win2K Server + SP3, in my application, which uses MSMQ (or Message Queueing). Application is...
I would like to know how to create and delete a directory that will work under the unix environment. I can create a directory using c++ but this only works under a windows environment. I ha...
Hi... I need the FindFirstFile and FileNextFile example Visual C++ Source code... If you have, send to me.. thanks
I have a large character array in c++ and I need to get it into a string type variable. How is this done. I have this so far. char *tmp1; string tmp2; /* read data into tmp1 */ /* tm...
Can anybody tell me how to set a Pixel on the screen with a c++-programm? All Ideas I found on the web didn't function!
Can I expect any strange behavior when converting a float to a long with the following method? float f = (float)rand(); long L = (long) f; Thanks
This doesn't make any sense at all. I included those file in the zip file below: http://www.totaltopic.com/error.zip There are 4 files. I create a new project in Studio .NET, as a new empty ...
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...
Hello experts, in my C++ program (MFC)  I need to get a substring of a CString.    CString strCString;    CString strSubString;    In VB I can write ( I start looking for "A=" from pos...
How can I initialize the following iterator to an invalid value: std::vector<char*>::iterator it; I would simply use: it = 0; but it doesn't compile with VisualStudio 2005 (it was OK...
I need help creating a batch script using robocopy or C++ to synchronize two folders. It would have to overwrite old files/folders with the newst files/folders. What's the best way to achieve ...
I am developing a cross-platform thread library for use with a card game server that I am designing.  I am familar with programming threads in Java and Windows API.  I would like to implement ...
how to translate the following TP7 code into C++ : repeat ... until keypressed; this portion of code will remain looping until a key striked. Thanks.
I need to know if anyone knows why I am not reading the file words.txt into the read() function.  This is what I have!  It should go to the read() function and a list of words should be placed...
I have a HBITMAP that I want to save out to a Bitmap file.  How do I do that? HDC hdcCompatible = CreateCompatibleDC(hNextPage); HBITMAP hbmDC = CreateCompatibleBitmap(hNextPage, sizeImage...
I want a piece of function/code which will: Read binary file which contains 0 chars also (so char array is not applicable). So I think byte array should be used. I want a piece of cod...
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...
I wanna get the system time in unix, what unix api should I use? seems ctime....can't get the following result i don't want to write a function to map the JAN/FEB..etc to 1/2...... expected ...
i'm suppose to create 5 processes, each an instance of notepad.exe. A digit (between 1 and 5) should b displayed every second. e.g if 3 processes are opened, it should display the digit 3 ever...
I have Borland C++ Builder 6 but unfortently it is not compatiable with Vista. I would like to know what compilers are compatible with Vista. I do not have a lot of $$ for a compiler, therefor...
Hello I wanna get some filenames and write them into file. some files are not english (so I use unicode -> TCHAR). I use FindFirstFile & FindNextFile for get filenames and store them in TCHA...
In a program I want to insert a blank line that is reading from a file. I am able to open the file and get to the end of the line but how do i tell it to add a blank line?  This is what I have...
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...
Hi, I tried out __try and __finally in my codes and when i compile, i have the following error: Error C2712: Cannot use __try in functions that require object unwinding What does object unwin...