Discombobulated by Toolbar image
I am using VS2008. I have a CMFCToolBar toolbar that seems to be missing a button. Here is the image of the toolbar:The button that is missing is (delta Z) which should come right after delta y.Here...
View ArticleWinhttp SSL - private key error 12185
Requirement and Input data:Our client has deployed a webserver (Tomcat) configured for SSL support. we need to implement a cleint in C++ which will communicate to server for sending and receiving...
View ArticleWhat does econ_err_code = Econ->ScenSetInfoLoad(scen_file, hist_file); mean...
I am trying to figure out what this statement means. My C++ is a little rusty I think this involves objects, I don't use them that often.Here is a code snippet from function = "startup"class...
View Articleerror C1190: managed targeted code requires a '/clr' option
Found a lot on this error already, but my case does not get matched with any yet. I am building a solution (having many projects) in debug mode, and one of them is throwing this error, I am using...
View ArticleDoes Visual Studio 2013 CTP preserves binary compatibility with Visual Studio...
Does Visual Studio 2013 CTP preserves binary compatibility with Visual Studio 2013 RTM? So, when using Visual Studio 2013 CTP can I safely link libraries compiled with Visual Studio 2013 RTM?
View ArticleHow to add checkbox in CMFCPropertyGridCtrl?
How to add checkbox in CMFCPropertyGridCtrl?
View ArticleHow to open TabTip on a specific screen?
Hello, I'm working with a multi-screen desktop application and I use the TabTip keyboard to input user data. I found quite a few solutions how to conveniently open and close TabTip, but I cannot find...
View ArticleProblem Open - error C4700: uninitialized local variable 'dochod' used
1>c:\users\user\documents\visual studio 2013\projects\dochod\dochod\dochod.cpp(15): error C4700: uninitialized local variable 'dochod' used// dochod.cpp : Defines the entry point for the console...
View ArticleDrawCli with Zoomin and Zoomout option
Hi All,i am new to VC++ MFC. I want a DRAWCLI program with Zoomin and Zoomout options. (or) Resizable drawing with Zoomin and Zoomout options.Kindly Help me.Thank you..
View Articleclass constructor does not run when started as thread
Windows 7, 64 bit, Visual Studio 2008, C++, MFC, DialogClass C_TCP_Thread is a class that will eventually handle TCP/IP operations for a main application. To help with high data throughput this class...
View ArticleHow to add two images at same index of a CListCtrl in MFC.
Please help me to find out for adding two images at same index of a CListCtrlThanks,Sarath s
View ArticleConversion from IPv6 to Ipv4
Hi All,I have some doubts regarding to Ipv4 and Ipv6.1) Do we have any Visual C++ API which can convert Ipv6 to Ipv4 and vice versa?2) if I try to convert Ipv6 to Ipv4, Does that API work on the...
View ArticleVS2013 desktop applications will NOT run on XP
Hi,I can't seem to run any C++ VS2013 generated desktop application on any XP machine. Regardless of whether or not the C++ redistributibles are installed. I created the base Win32 window...
View Articlesnprintf and snwprintf output "f" from "%f", not float value
How to output float value to string using snprintf and snwprintf._snprintf(pcOutput, dwOutputSize, "%3.2f", 1.7320534f); result pcOutput = "f" just like a _snwprintf
View ArticleOveridden CWinApp::OpenDocumentFile does not get called
Hi,I am using VS 2010.I have an MFC executable (MDI app with multi-document tempates) and I have overridden the CWinApp::OpenDocumentFile member, becuase I needed some custom validation. This works...
View ArticleIs it possible to use connection url to connect to database using MFC?
I am working with a legacy application developed using MFC. To connect to database, a DSN needs to be created and then application connects to database using CDatabase::OpenEx() method. Instead of...
View ArticleNeed help with CTabCtrl using MBCS for non english characters (czech characters)
We have an MFC application that uses MBCS, it uses CTabCtrl and we populate the label and column data dynamically.The data is received in char*.We would not be able to change the application to...
View Articleread and write binary in c
assume that the parameters have data of strings and integers that are in a structure with typedefmy function crashes when I added the fread function.void save_question(type_tag *easy,type_tag...
View ArticleHow to call codes?
Hi, i had a .exe project, i converted it to .dll project from "configuration properties" and then created a source: "main". And wrote this:#include <windows.h> #include <stdio.h> #include...
View ArticleWS_EX_TOOLWINDOW doesn't give look I want in Windows 8
I have 2 tool windows - small modeless windows that sit in front of the main window, a bit like floating toolbars. I give these windows the WS_EX_TOOLWINDOW. The documentation says of this style: "A...
View Article