Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

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

 
Time Tested Windows MFC Solutions: 1 - 25 of 4094
 
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...
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...
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 ...
Hi Experts,      typedef bool (*LPFunctionType)(BSTR);      HINSTANCE  hInstLib;      LPFunctionType functionptr=NULL;      LoadLibrary("XMLTest.dll");      BSTR *bs=SysAllocString(L"SanityMonitor warnin...
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...
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...
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 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 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 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...
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...
Security Update for SQL Server 2005 Service Pack 2 (KB948109) will not install on my workstation. I am running XP. I have uploaded my log file.
Trying to connect to MySQL from Visual C++ 6 (Windows MFC Application) Hi, I'm trying to connect to a MySQL database from C++. First I downloaded mysql++-1.7.28.tar.gz from here --> http...
My MFC application software *.exe was developed in Visual 2005 MFC based applicaiton; it does not use ATL. It starts fine on system that has visual studio installed; On a target XP systems wit...
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...
What's a callback function in VC++? Thank you!
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...
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 all, I have 1 range of IP addresses ex 192.168.98.1 .. 192.168.99.10. I want to know how many addresses in this range. Do you know a function to convert a IP address to integer in Visual ...
Hi there,     I am looking for a routine to have my program sleep for 10 or 100 microsecnds without using full processor use.   I saw some good topics already posted but they use full proce...
How do I use regtlib.exe to unregister a type library? Thanks
Hi experts, The question title says it all... Basically I will need a little bit of UI - and I'm wondering if I need to run under a specific user account in order to access a database. T...
Hello! I have a file on hard disk and file has 2 numbers separated by "," .I want to read the numbers from the file using CFile and store the numbers in  2 different int variables. I am not ...
hi, somebody please post me how to create a mutiple client single server application using threads in vc++. the problem is iam not able to put accept() function in an infinite loop for the s...
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...