Hi All,
I am trying to run a console C++ application linking with my DLL files from the command prompt in a XP windows machine. Recently I have started getting "This program cannot be run in DOS mode." as an error message. As I understand this is a filler message in all DLL's to print if this exe was invoked in a pure MS-DOS environment...
I am using boost::interprocess::message_queue, with VC++ (in Microsoft Visual Studio 2005).
It is working properly in Debug mode.
Then when I compile my program in Release mode it stops working, every time I call "try_send" it returns false.
I don't understand what could be the settings that are different between Release and Debug mode, ...
Hello!
I've moved my vc7.1 project from WInXP to Win7. After rebuilding i got stackoverflow error in function _malloc_dbg when i start the program.
"Unhandled exception at 0x0051bf0f in XXX.exe: 0xC00000FD: Stack overflow."
----------------------
Call stack:
> msvcr71d.dll!_malloc_dbg(unsigned int nSize=140, int nBlockUse=2, const cha...
hi!i wanted to know if i can draw a text in Cimg graphic library draw_text function and change the font of the text to another font ?
...
In MSVC++ I have a vector.
Whenever you go out of bounds of the vector (in debug mode, launched as "Start Debugging"), when you step out of bounds of the vector the program halts with a dialog box:
Microsoft Visual C++ Debug Library
====
Debug Assertion Failed!
Expression: Vector subscript out of range
Abort | Retry | Ignore
So w...
I'm writing my first app in MFC, and I was looking to include a very simple feature : Include a "Save To File" button that on being clicked will bring up the familiar "Save As.." Dialog box and will ultimately save the data in a text file. I couldn't find how to invoke this dialog box - can someone just point me at the right way to do i...
1>Project : error PRJ0003 : Error spawning 'rc.exe'.. this is the error i get when i try to run this small practice program of reading and writing files which i cant do because of the reason of me not being able to get the files to open correctly. i use microsoft visual c++ 2008 and i have used the file path to try to open the file as w...
I have VS 2008 and I want my application to work with Windows 98 without needing to include MSVCR90.dll .. Win98 comes with MSVCR60 so how could I tell MSVC to do this? Is my only option to hunt down Visual studio 6?
Thanks
*also I want to avoid static linking msvcr
...
hi
how can i use flash files in visual C++ without register any ocx file ?
please help me
thanks
...
Hi All
I was just wondering, is it at all possible to create sort of like a "Sub-language" in C# OR C++? or would a better term be "Extension"? And can somebody please provide links/resources?
Much appreciated! :)
thanks
jason
...
Hi all,
Is there any way to fill an ellipse or a rect by point to point like in an airbrush tool in mspaint?
I could not find a way to create an empty rect or an ellipse and then fill them up pixel by pixel or setting random pixels on screen in a circle way....
Can i tell setPixel to fill inside a dcellipse or anything like that?
10x...
I had a question with regards doing an official release of code.
Its my first time using VS2008 so bear with me.
I have my header file that has the api's which grant them access to the lib.
now there is a debug and a release version that is talked about.
how do i give these to my client? do i need to give them both folders or just the...
What happen until now is this:
Any line happens once, and if I use awhile(1) or while (nFlags == MK_LBUTTON) its working as it should but I get a crash.
The other problem, or maybe the same one is the delay if I will be able to do it, maybe using while() with Timer()?
I was thinking about Timer() to recall the function with delay but ...
Hi, i am trying to do collision detection in visual C++ for a racing game. I found this site http://www.gamedev.net/reference/articles/article735.asp which seems like the thing i need. However i have no idea how to implement this in my code. The idea is that the players race around the course trying to find a tent with a red flag on it....
Having trouble creating my swap chain. I receive the following error.
DX3dApp.obj : error LNK2019: unresolved external symbol _D3D10CreateDeviceAndSwapChain@32 referenced in function "public: bool __thiscall DX3dApp::InitDirect3D(void)" (?InitDirect3D@DX3dApp@@QAE_NXZ)
Below is the code ive done so far.
#include "DX3dApp.h"
bool ...
Hi!can anybody explain how to insert a JPEG image with the CImg Graphics library in VC++?
...
The following source file will not compile with the MSVC compiler (v15.00.30729.01):
/* stest.c */
#ifdef __cplusplus
extern "C" {
#endif
struct Test;
/* NB: This may be extern when imported by another module. */
struct Test make_Test(int x);
struct Test { int x; };
struct Test make_Test(int x)
{
struct Test r;
r.x = x;
...
I have created a simple propertySheet(CPropertySheet) and a couple of CPropertyPage derived classes.
While running the application, the ProperySheet, Page and tabs are appeared in white color.
I was expecting them to be like normal widow dialog color.
Any clue to make the property sheet, pages background to be like other normal MFC di...
Hi,
I have a Visual Studio 2008 setup which I created for a Visual C++ project. Is there any way that I can get the installation path that the user specifies at the installation folder prompt?
Thank You!
...
Hello,
I am doing some COM related things with directshow such as:
typedef CComPtr<IBaseFilter> AutoIBaseFilterPtr;
map<CString, AutoIBaseFilterPtr> _filterMap;
To store a list of directShow related com objects and their friendly name.
After finding this article (See:Problem 2) on how changes in VC10 compiler might effect previous...