This is my basic program where I finally figured out how to change "he" with "he or she" from an input string but how do I change all occurences of "he" if it occurs more than once and not in ...
How to set the volume programmatically. In Win Xp waveOutSetVolume worked but in vista it doesn't. In XP and Vista also the function returns "zero" but then in vista it has no effect.
I have an VC 6.0 app. In design time, I created a menu on the main dialog. The resource ID is IDR_MAINFRAME. Like many windows programs, this menu has three menus. From left to right, the ...
Hi all,
I have a C project that is an EXE project which I need to convert into a lib (static or dynamic, static preferred) project. I have edited the .dsp file based on some info I saw off...
Hello,
When I call the Microsoft createThread() function to create a new thread, does the new thread automatically get a message queue, so that I can call getMessage() to retrieve the messa...
hey,
I'm trying to create a GUI in Visual Studio, but when i run through that piece of code but i get the errors:
Error 1 error LNK2005: "public: void __clrcall Input::Score0(void)" (?...
Hi experts,
I would like to seek for your kind advice or suggetion to fix the following or an alternative to achieve the same goal.
I am creating a Managed C++ wrapper to wrap a unmanage...
I have created a Windows C++ DLL project in Visual Studio 8. Would it be necessary to create entry points of exported functions from DLL in the form of .DEF file? Or once the DLL is built I ca...
I understand from http://msdn.microsoft.com/en-us/library/ekfb4tkd(VS.80).aspx that the default constructor in the code below is what's tripping the error.
But I need that default construct...
i've imported a text file as a resource and im trying to access it using FindResource,LoadResource,LockResource
FindResource failes for some reason...
when i try to load a dialog it doesnt r...
This kind of an extension on the last question I asked.
I successfully managed to create a Bitmap object using the FromStream method, but now I'm stuck.
I can successfully pull the bitma...
hi , i am new in programming in dot net, and when my visual c++ express cannot connect by wizard to sql server 2005 express?
can u help me to know how to connect using a code not by wizard
R...
Hi!
This is driving me nuts ... hopefully someone here can help me:)
I have the foll. code:
------------------------
public ref class PSJVM
{
private:
//JNIEnv is an unmanaged ty...
I'm trying to display a default file name in a SaveFileDialog. So far, I've tried this and it doesn't work:
SaveFileDialog * sfd = new SaveFileDialog();
sfd->Filter = S"Jpeg Image|*.jpg|...
Hi Experts,
Our application needs to load a file into a std::ifstream object. The filename contains Slovenian characters - i.e. Latin Small Letter Z with Caron. (U+017E). Assume that I have...
what is the command to check whether OS is vista or XP in Visual C++ ?
outlook express won't open just get a error window "run time error" c++ microsoft visual library
references msimn.exe
xp pro sp 3
I have a managed C++ class (CRCW) that I use SAFEARRAYs in. Is there a class available other than CComSafeArray (as that is ATL) that I can use to wrap it?
CComSafeArray: http://msdn.micros...
When I compile a program in Debug mode, I get an error "unhandled exception in [application name](MFC42D.DLL): Ox0000005: Access Violation" when running the program. How do I resolve this issu...
I am trying to compile my own version of the FileZilla Client. I followed the authors instructions and loaded MySys and all the libs that were needed for support. The author suggests that I ...
Hi,
I have included winreg.h in my win32 concole C++ application and erros are getting generated in this header fine. I am wondering why errors could be occured in system header file? Coul...
i need code for odd magic square number. coditions - no vectors should be used,arrays and multidimensional arrays sould be used, random number generator should be used to to goverrn which o...
In my problem, a polyline is defined to contain straight lines, arcs (elliptical), bezier curves and other polylines.
Please give me a suggestion to represent polyline with C++, so that I can...
I want to hide the private members of my (C++) library that I am creating. I have something like sub-class1, that is a private member of class1. Class1 obviously contains the header for sub-cl...
Hi to all experts,
After reading some posts, it seams that it is possible to use a VS2005 project in vs2008.
The only think that must be saved is the SLN file wich is different from both ...