Two non modal dialogs
I have an non modal dialog, and I launch it twice, but first one I want to be top most, but only for the current application ... is it posible to do such thing ? Can you give me a way to go in order to...
View ArticleWhere's to start C++ Console/Gui programming perfectly ?
Hello community, I'm an old Pascal/Delphi developer ... i have to move to programming everythings in C++ both console/gui ... my big problem is i don't have any knowledge, would be very usefull for me...
View Articlemasm 16-bit
how to assemble,link and debug assembly language programs that addresses 16 bit registers or 8 bit registers using masm in 64 bit windows 8?
View ArticleAlignment of ReBar Contents
Hi, am developing a MFC application, In my application i have 9 toolbars, and i arranged them in two rows by using CMFCReBar, the problem is that the alignment of toolbar in each ReBar row is not...
View ArticleActiveX bitmap push button built in VS 2013
I migrated an ActiveX project from VS 2008 to VS 2013 that has various controls including bitmap push button. When I build under C++ VS 2013, the control works in dialogs but is disabled in CDialogBar...
View Articlebatchapi.dll is missing from the computer
HiI am migrating my application from vc++6.0 to vc++2008I have migrated it successfully and removed all the errors, after that i was trying to create the package manually.i ran one of the exe and got...
View ArticleCOleDateTime initialize
I'm developing a DLL function which initializes a C++ COleDateTime object based on the function parameters. Given that the DLL host that calls the function only has year, month, day, hour, minute...
View ArticleMFC - Bug in CMFCPopupMenuBar::ImportFromMenu with Non-Permitted Commands and...
Sorry for the long title but it summarises very well the bug I just discovered in MFC after a long debugging session...The issue is as follows and is easily reproducible:1/ Create a default MFC...
View ArticleSpeak SAPI error 8004503a when using SDK 11 in Win32 Project on Windows 7 64 bit
I am running Windows 7 64 bit Enterprise SP 1 and Visual Studio 2013 Express. I have the Windows SDK, Kinect 1.8 SDK and the Microsoft Speech SDK installed.I only have a problem with Speak when trying...
View ArticleCreate Scrollbar in SDI
I have an MFC SDI application, and I set aside the rectangle bounded by the left 200 pixels of the window for a listing of files. I am now finding out I didn't plan all that well, and that the listing...
View Article[VS2013, C++] Initializer list in Ctor
Consider the following code:#include <iostream> #include <string> using namespace std; int main() { set<string> ssA{ { "a", "b" } }; set<string> ssB( { "a", "b" } ); for (auto s...
View ArticleTooltips stopped working after migrating from VS 2005 to VS 2010
Hi,My code in a C/C++ app to create and update tooltips stopped working between VS 2005 and VS 2010. The tooltip was created using:hwndTT = CreateWindow(TOOLTIPS_CLASS, TEXT(""),...
View ArticleHow to download offline installer forCryptographic Provider Development Kit...
I downloaded the cryptographic provider development kit, which gave me a file called cpdksetup.exe. When I took this to the system where I need to use it (where I have .Net framework, visual studio...
View Articlewindows socket gets quite slow after sending some MB of data
I have programmed a server in Linux that sends the file you ask for. If I use the client programmed also in Linux the transmission works perfect, but when I use a client programmed in visual C++ it...
View ArticleWindows 8 Csrss.exe Dll Inject - RtlCreateUserThread working with API DLL but...
Hi,i try to inject my dll to window 8 64bit Csrss.exe with RtlCreateUserThread function,RtlCreateUserThread working good but my dll cannot load while i tried with window api dll and it's working...
View Articlefseek() not returning an error (but it should)
Hi,See the simple program below. It reads a binary file (written by another, almost identical program) in a 88-byte structure. In my tests, there are exactly 3 records on disk so the file has (3*88)...
View ArticleVS 2013 error LNK1104: cannot open file atlsd.lib
I'm trying to get a VS 2010 C++ ATL based dll to compile in VS 2013. I'm getting the following link error: <o:p></o:p>error LNK1104: cannot open file atlsd.lib I've not been able to find...
View ArticleBSCMAKE: error BK1506 : cannot open file...
I have converted one of my VS2006 projects into VS2008 and when trying to build the project in VS2008 I get the above error. What is .sbr file ? and how can I fix the compile error? Any help is hugely...
View ArticleI am facing one error, i.e. error C4772: #import referenced a type from a...
I have a C++ project that contains a importTDApplication.h file which tries to import a TLB (we'll call it td_appl.tlb). When I go to compile the project I get an error on the line
View ArticleToolbar alignment in MFC
Hi, am new to MFC development, Learning the basics, i just create a sample mfc application containing 8 toolbars, i want to appear them as followsT1-T2-T3-T4T5-T6-T7-T8 but they always appear as...
View Article