MSIL .netmodule or module compiled with /GL found
I get the following warning when linking against a custom static lib in a release build: Quote: mystat.lib(mystat.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG;...
View ArticleCompilation error in windows 8
HI, im facing some compilation error in windows 8 but the same code works fine in windows 7. Error is given below 1>m:temp1.cpp(427): error C2039: 'DOMDocument60' : is not a member of 'MSXML2'...
View ArticleCreating a DLL
hi guys, I wanna create a DLL from my C++ program. My output of my C++ program is a text file called Centre_Cartouche.txt My output is two text files called brd.txt and sym.txt At the beginning my...
View ArticleWhy debug occasionally brings up disassembly rather than Windows files?
On fairly rare occasions, when attempting to debug one of my MFC applications on VS 2010, a compilation error is encountered, and instead of bringing up the customary Windows or MFC file with a arrow...
View ArticleNeed advices on solving compile time errors.
Error 1 error C2121: '#': invalid character: may be the result of macro expansion e: \ dosbox_ykhwong \ src \ dos \ dos_network2.h 114 1 dosbox Error 2 error C3861: 'L': Can not find identifier e: \...
View ArticleHow to call a dialog from a Win32 resource DLL
Hello There, How can I call a dialog , which is present in a seperate Win32 resource DLL . Any code or links shall be appreciated. Thanks Sujay
View ArticleI need very fast help, like within the hour, please!
I need to make a programm (probably childs play to most of u) But i have no clue how to do it, so please help, i need it done really fast. The prgoramm is: Write a programm in C++ that finds a matrixs...
View ArticleHow to remove application name from registry
In a typical MFC application I use SetRegistryKey(_T("My_Company")); to set the root registry entry for my application. The MFC application however creates an entry by the name of executable where it...
View Article$(SolutionDir) and /Out:
I have messed up things a long time ago and want to fix it. Here is the problem I have got a project which Output Folder is set to $(SolutionDir)$(ConfigurationName).exe The SolutionDir is no doubt to...
View Articleallocation/deallocation of memory in exe and library
Say I have an executable and a library on the Windows XP platform. Does building the executable and library as static (/MT) or dynamic (/MD) have any impact on which unit creates and deletes memory on...
View ArticleTrouble with timer
Hi everybody ! The purpose is to manage serial communication between a pedal and the computer. I begin to search for the serial port on which the pedal is connected : - I request the sotware version of...
View ArticleTrouble with timer
Hi everybody ! The purpose is to manage serial communication with a pedal. I wrote a class pedal that allows to search for the serial port on which the pedal is connected. Therefore I send a request to...
View ArticleA question regarding DestroyWindow
If a window is created by calling Create, the function DestroyWindow must be called to destroyed it at the end? Thanks.
View ArticleHELP: how to load satellite DLL for a DLL
I have a Visual C++ workspace that has 2 projects (1 exe & 1 DLL). I used Serge Wautier's tutorial ( http://www.codeproject.com/Articles/...Selection-Menu ) to create (multi-language) resource DLLs...
View ArticleLow level memory allocation
I found myself reading this article at StackOverflow when I encountered a problem in our code with a variable that we'd allocated using boost::fast_pool_allocator. It turned out that the problem was in...
View ArticleHow to call Dialog window (formed as resource) from a .DLL
Hello, Is there some document, that describe the sequence of actions, that result in displaying of a Dialog Window from a .DLL. One important detail - the Dialog Window is created via resource/toolbox...
View ArticleCommunicating between ChildView and PropertiesView class in MSVC++...
Hello to everyone, I have a standard MSVC++ 2012 project created with the project wizard as follows... Is a MDI/MFC/Doc/View project Has Tabbed Children Views It has an extra Properties window created...
View Articlecrashing on fstream open file
other posts talk about the fopen function and don't really give any solutions to this the var that has the file path is a char* and has been converted from a system::string^ it is completely valid when...
View Articlecrashing on fstream open file
I get expression: stream != NULL debug assertion failed. everyone says this is because its not opening the file correctly but I will post my code and tell you what the filename var is at when I'm...
View Article