Geo Tracking based on GPS
Hi Everyone,I am developing Geo-Tracking application. I am tracking device based on different methods like:Tracking based on IP addressTracking based on Wi-FiTracking based on GPS.I want to implement...
View ArticleInstalling Platform SDK February 2003 on Windows 7
Hello,We have been using VS6.0 on Windows XP and we want to move to Windows 7. I found that the latest SDK which supports VS6.0 is Platform SDK February 2003 (we 've been using Platform SDK August 2001...
View ArticleMFC DAO using ACEDAO
Hello! I'm trying to make MFC DAO use ACEDAO by changing the guids in dbdaoid.h to the ACEDAO guids instead (I also copy all necessary dao source files to my own application library and rename some of...
View ArticleHow identify specific control in OnCtlColor() and how set colors for...
I have two related OnCtlColor() questions:1. How do I identify a specific control? I want to change the colors of just one control. I have tried checking pWnd->GetDlgCtrlID() == ID_MAIN_ORGNAME but...
View ArticleHow to run clang & clang-modernize
(I'm cross posting this with the channel9.msdn.com coffee house forum because I'm not sure that is the most appropriate forum).clang and clang-modernize look like some very cool (and free!) tools for...
View Articleclosing a console window
Windows 7, Visual Studio 2008, C++My application opens and closes a console window for displaying various bits of information. It is used for write only. The application does not input from the...
View Articleclosing a console window
Windows 7, Visual Studio 2008, C++My application opens and closes a console window for displaying various bits of information. It is used for write only. The application does not input from the...
View ArticleHow to partially display a CButton in MFC
Hello All,I have 3 buttons. Namely Button1, Button2, Button3.When I press on Button3 then the Button2 should move towards Button1. This can be achieved using MoveWindow().At some point, when the...
View Articlewcsncpy_s return value
This function accepts an WCHAR input and checks its length. If too long, only N characters are copied to the local string. Here is that code.There is preceding code puts the current time into the...
View ArticleUnhandled exception
Hi,all, I am using GAlib and encountered a Unhandled exception:Unhandled exception at 0x765b2eec in XMLDOMFromVC.exe: Microsoft C++ exception: _com_error at memory location 0x00f9de10..This is my code,...
View ArticleStore some variables in disk cache
Hi,I am using Visual C++ to write an app. One problem is that the application will allocate a lot of object instances of a specific class CMyObject, maybe 400, 000. This will cause “Out of memory”...
View ArticleUnable to view tabs in Solution Explorer window for Visual C++ 2010 Express
Hi, as a newer of Visual C++ 2010 Express, please help and teach how to set to able to view the additional tabs at the bottom in the Solution Explorer window. many thanks!
View ArticleOPENGL Direct2D interop
Hello,I have an OpenGL texture that I would like to use in Direct2D.I can copy it to system memory and back to a Direct2D bitmap, but this is obviously not very efficient.Does anyone know how to do...
View ArticleEnumFontFamiliesEx() not working correctly
I just need the exact set of fonts and font styles that show up in Notepad. I am pretty sure that this is also the exact same set that shows up in CFontDialog. Apparently it is not quite possible to...
View Articleweird issue with createElement
Hello had written a small function for xml creation.CreateElementNode(std::wstring name,std::wstring value) { if(pXMLRootElem!=NULL) { MSXML::IXMLDOMElementPtr pXMLChild1 =...
View ArticleReplacing T2OLE with a ATL 7.0 String conversion classes and Macros
According to MSDN, using T2OLE in a loop may lead to stack overflow, my application uses T2OLE lot of places in the code inside loop for string conversion. I found that usingATL 7.0 string conversion...
View ArticleVisual C++
Hi, i have a problem with the visual c++ software. everytime i try to create a new project it does not work it says "failed to create a new project" i've try reinstalling it several times but nothing...
View Articlewhat is the ADSI class name for userproxy object?
Hi,My requirement is I need to all userProxy object and its details usingactiveds.lib in c++?What value the IADs->get_Class() will return for userProxy objects.Can I use IADsUser interface for...
View ArticleHelp for DrawString() API
Hello,I am using DrawString() API to put the string on my UI text display control.When I am using SBCS string with Black brush, I am getting correct display. But for DBCS(MBCS) string, even with Black...
View ArticleUsing ChangeDisplaySettingsEx
Detaching the monitor work with this but im facing a problem after the monitor is detached. I don't see it anymore in the windows screen resolution dialog , everytime the monitor detached is hidden...
View Article