Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

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

 
Time Tested Windows MFC Solutions: 1 - 25 of 3298
 
I have created a windows service using visual C++. Kindly tell me how do i register its .exe file as windows service. What command will be used and what steps ll be needed. reply so...
Ah hello. Simple problem: I need to be able to get the path to the desktop and the "My Documents" folder for the current user, regardless of the operating system. In XP and 2000, the Des...
Hi Experts,      typedef bool (*LPFunctionType)(BSTR);      HINSTANCE  hInstLib;      LPFunctionType functionptr=NULL;      LoadLibrary("XMLTest.dll");      BSTR *bs=SysAllocString(L"SanityMonitor warnin...
I'm trying to use up to 3 dll's in an vc6 application. On the end-user's system, not all the dll's will necessarily be installed. I'm using LoadLibrary so the program can proceed as long as at...
Currently I have an application that runs on our network. When someone logs on to the network it checks there system and gets the pc name. I would like to also get the IP address of that syste...
I'm using C++6.0 and DirectX 7.0 with the SDK. I'm trying to do this: hRet=DirectDrawCreateEx(NULL, (LPVOID*)&lpDD,IID_IDirectDraw7,NULL); it seems the compiler can not find IID_IDirect...
Hi, I use this method to convert CString to char* CString data; const char* data_char = (LPCTSTR) data; but this method works only if i use const char*. This means i cant manipulate ...
When running the application in debug mode, it fails to start and displays the following error "This application has failed to start because the application configuration is incorrect. Reinst...
Hello,      I get a runtime error "R6025 Pure virtual function call" from my application. This error appears only in      certain Windows 2000 machine and works fine in rest of the PCs(which include...
I need to have three radio buttons and get the ID of the one selected upon the user clicking OK. I've read that I need to group the three radio buttons together and create a member variable, w...
Hello          i have a common dll resource which has  a property page dialog box.I added a new edit box to this dialog box.Now this dialog is loaded into a property sheet from the applicatio...
Hi, I have an MFC SDI application and I want to call it from command line by passing some arguments to it, like the filepath for the application to open it. I haven't find any material o...
Hi all.  I haven't really ever done any Windows programming before a week ago (done plenty of console/dos programming, but never anything with Windows API).  Decided to give it a whirl.  Proba...
Hi, I have a bitmap data, how should I construct the info header, so that I can make it a 8bit grayscale bitmap? My current BITMAPINFOHEADER is as followed:      for (int j=0; j<256; j++) ...
Dear All, I am working on image processing alogorithm. I wanted to fill the sequence of numbers in cvArr or cvMat data structure. Please let me know what is the possible solution for th...
anyone? i need some sample codes.... i need to get the IP address of my PC using C++
Hi Experts! My task is to get rid of the caption buttons ie: min, max, and close. I need to still have the window menu (formerly the system menu). I cannot come up with any way of doing thi...
Hi guys, Got this warning: warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) Want to tidy it up, here's the line affected: bool bResult = pDl...
I am trying to develop an application using Visual Studio 2008. I am writing it in C++, and I chose a Windows Forms solution to develop it. Windows Forms apps use managed code, so I am unable ...
I am trying to tokenize a CString and was using VC++6 at home while at work I am using VC++5. I spent a lot of time at home coming up with this algorithm to tokenize a CString that looks like ...
I have a function that returns a wchar_t* and need to convert this to a  char* to use as an argument to another function.  Any help appreciated.
I'm trying to use AVIStreamOpenFromFile http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_avistreamopenfromfile.asp and its second argument is LPCTSTR sz...
For an application suite (exes + dlls) I have been using merge modules (msm) files embedded in an installation (wise for windows). Until recently a typical manifest file would be: <?xml ve...
How do I use regtlib.exe to unregister a type library? Thanks
Hi,  I wonder what xlFileFormat value to use when saving a file using SaveAs with .XLSX, .XLSM, or .XLSB extension in Excel Automation. Any help would be greatly appreciated. Thanks. _Work...