Trying to call a DLL from another DLL
Hello All, I have created a DLL called MathFuncsDll.dll. It is a simple DLL that will do all basic math operations such as add, subtract, multiply and divide.The DLL was created with Microsoft Visual...
View Articleusing common include directories
I have 15 projects in the same solution. How can I share the include directories across all projects so that I don't have to maintain 15 sets of the same include directories?thanks
View ArticleVisual C++ localization traceability
Greetings,We have a Visual C++ forms application with localized satellite dlls for which we want to automatically validate the translations. In order to do so we must link the UI object (eg. a button)...
View Articlestartup program function main win32
Well I make the most easy application, it should just say "hello world" in console. I made a win32 application, because I want to use the GUI toolbox, buteven this simple piece of code doesn't...
View ArticleCalling a DLL from a Console Application
Hello all,I am trying to have my console application (CallDLL.exe) use a DLL I created named MyExecRefsDll.dll. MyExecRefsDll calls another DLL named MathFuncsDll.dll. I have previously asked a...
View ArticleLNK1120 error - VS2012 project using a VS2010 DLL
I have a third party DLL compiled with vc10 (VS2010). It exports the following function: boolmyDLL_EXPORTS_API myFunction(std::vector<int>::const_iteratorc){ returntrue;}My exe uses this...
View ArticleWindows 8.1 Preview - MFC WebBrowser control scales to DPI setting regardless...
Our DPI Aware application no longer works correctly while running on Windows 8.1 Preview. It appears that with Windows 8.1 Preview, the WebBrowser control does not respect the hosting application's...
View ArticleHow to make a child window transparent in xp?
Hi , I want to make a child window transparent in windows Xp. But I have no points!Regards!
View ArticleAll .cc files are gone! HELP!
Hello everyone, I don't know where to post this because i don't really know what is causing the trouble. All my .cc files are gone from my hdd! But the strange is that ONLY .cc are gone! I have made...
View ArticleAfter Upgrade VS2010 to VS2012 missing projects porperty page
I just started to test a migration of our solution from VS 2010 to VS 2012.Unfortunatly lots of c++ projects in the solution are failing to build.I wanted to check the configuration property pages, but...
View Articlehow to get active view in activex control?
HI, I want to get a pointer point to active view using GetActiveWindow().But the result is wrong. I don't know the reason.The project is ocx.Is there another ways to get it?Regards!
View ArticleHow do I read this XML file?
<?xml version="1.0" encoding="UTF-8"?><map version="1.0" orientation="orthogonal" width="20" height="15" tilewidth="16" tileheight="16"><tileset firstgid="1" name="tile" tilewidth="16"...
View ArticleC1189: #error : WINDOWS.H already included. MFC apps must not #include
I have looked through the other posts concerning this error and I am sure that this situation is different.I have a C++ COM ATL project and am trying to use CStringList which resides in...
View ArticleMicrosoft Visual C++ 6 on Windows 8
Hi, Steven here, I'm writing because I am scared to install Microsoft Visual C++ 6 on Windows 8. Windows 8 says that there are known issues with this software. This is the same thing Windows Vista...
View ArticleHow do I convert a little endian used in htons() or htonl() to 32-bit chars?
Hello,I am trying to reverse engineer a class within the open source ntop project sub-project nDPI.The class considers a packet payload and uses a macro to compare two bytes (a word) to a little endian...
View ArticleHow can I disassemble exit like the following picture?
Hi,I know I can disassemble exit using gdb in linux.Please tell me how can I do in windows.Regards!what?
View Articledebug assertion error.....
Hello All, I am getting this error while debugging the project.Please help if any has faced this problem and find the solution...File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cppThank Yousure
View ArticleHow to *reliably* install the VC++ redistributable on end-user computers
Best practices from Microsoft dictate that we link dynamically to the VC++ runtime for security reasons, and it sure would be nice if our application automatically picked up hotfixes without requiring...
View ArticleLNK1104: cannot open file 'XXX.map'
Hi,everone: I am trying to compile a c++ project with vs2010 and the LINK : fatal error LNK1104: cannot open file 'E:\...\XXX.map' shows up. and it's successful when i compile it anagin without...
View Article