Display python script output into MFC window
Hello, As you already helped me to plot a chart in python calling it in c++. the current output is into the console. Now I want to explore the option of moving the output plot into MFC window dialogue....
View ArticleCan't get libzippp working in 64 bit
I'm looking for Zip libraries and libzippp looks to be what I want so I'm trying little POC console apps. This is the first, which works fine in x86 but when I try to compile in x64 I get 'Unresolved...
View ArticleHelp in understanding the legacy code
Hello, Im trying to understand the following legacy code: Not sure why the following array indexing is made so complicated. Could some experts explain help me understand the logic behind Code:...
View ArticleProgramming and Software Development issues.
HI Guys there's a Book about Beginner's step by step coding that i believe would benefit anyone Having issues . $5 for a 7day trail Here's the link -https://amzn.to/3cH0x6i
View ArticleLARGE FILE (?) build ??
Not needed now - but can't figure out how to delete a thread :cry:
View ArticleHow to convert CString to wstring_view?
Hi, I'm just starting, Can i convert CString to wstring_view like this? CString s= L"abc"; wstring_view x{ (LPCTSTR)s }; Thanks you!
View Articletoolset selection
hi, Is it possible in visual studio 2012 mfc project to select vt120, vt100, v90 by using a #ifdef?. like, #ifdef _VC2008 build using vt90, etc.
View ArticlesendMessage from MFC DLL to calling MFC application
hi, need an example code or project on sending message (sendmessage) from a MFC DLL to its calling MFC application?.
View ArticleMFC how to display corner icon?
Hi, I want to decorate the mfc a bit, How I can set this icon at corner? I see this icon appear when I use IFileOpenDialog. Is it available for mfc? Thanks you! Attached Images
View ArticleRouting messages from CView to CDockablePane
I have a MDI app, with CView based on CEditView, and in CMainFrame, I have a CDockablePane where I stretched a CRichEditCtrl. Everything goes well, except that messages from CMyDockablePane is routed...
View ArticleHow to Add new sheet to the end?
Hi, I have searched a lot of post but still haven't found an answer, the code I use is as follows: HTML Code: Excel::WorksheetsPtr ws = Worksheets->GetItem(Worksheets->Count); <<-- last...
View Articlewcscpy_s problem
What am I doing wrong here..? Code: // Needed for wcscpy_s #include <string.h> // Later in the code wcscpy_s (some_destination, L"Hello World"); The above code gives me error C2660: 'wcscpy_s':...
View ArticleUnable to compile
hello I have a question about the compilation I compiled the attached code without any problem up to two/three updates ago, after the last two or three updates if I try to compile the code again I got...
View ArticleBuilding a DPI aware app in VS2019
Configuration Properties->Manifest Flle->DPI Awareness can be set to 3 x different values. Let's forget the Per Monitor setting for the moment 'cos that one's a bit complicated. So basically, the...
View ArticleUnable to compile
I am having a similar problem with Visual Studio 2013. Yesterday after windows 7 update when I try to compile any project I get: "Error 2 error C1041: cannot open program database ''; if multiple...
View ArticleCan't CreateProcess application?
Hi, I use the following code to launch excel: HTML Code: STARTUPINFO Start; PROCESS_INFORMATION ProcInfo; ZeroMemory(&Start, sizeof(STARTUPINFO)); Start.cb = sizeof(Start);...
View ArticleHow to get instance Excel2016?
Hi, My computer is installing 2 versions of excel10 and excel16. I use the following code to get the running excel instance but it only recognizes excel10. Code: LPWSTR pszExcelPath =...
View Article[RESOLVED] Unable to compile
I am having a similar problem with Visual Studio 2013. Yesterday after windows 7 update when I try to compile any project I get: "Error 2 error C1041: cannot open program database ''; if multiple...
View Articleexporting Library functions to some Apps
In VS MFC DLL, what is the best way to export my functions so that others using .Net or similar can import them without any run time failures?. for returning arguments use by reference, by pointer or...
View ArticleHow to fix Compile Wrong datatype on vs2019?
Hi, I have created 4 methods as follows: Code: void Range::WriteValue(CStringW value) { } void Range::WriteValue(int value) {...
View Article