Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3027 articles
Browse latest View live
↧

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 Article


Compilation 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 Article


Image may be NSFW.
Clik here to view.

Creating 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 Article

Why 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 Article

Need 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 Article


How 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 Article

I 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 Article

How 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 Article


allocation/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 Article

Trouble 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 Article

Trouble 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 Article

A 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 Article


HELP: 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 Article

[RESOLVED] Multimap manipulation question

I have

View Article


Low 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 Article

How 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 Article


Communicating 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 Article

crashing 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 Article

crashing 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
Browsing all 3027 articles
Browse latest View live