visual-c++

visual c++:linking graphviz in vc++

i want to link graphviz as a library with vc++. how should i do that? i already give path of lib and include than also it is not working. ...

Syntax error missing ; before *

I have a header file like so: #pragma once #include "gamestate.h" #include "ExitListener.h" class InitialGameState : public GameState { public: InitialGameState(Ogre::Camera *cam, Ogre::SceneManager *sceneMgr, OIS::Keyboard *keyboard, OIS::Mouse *mouse, Ogre::Root *root); ~InitialGameState(void); virtual bool update(Ogre::Re...

visual c++: Turorial for writing code in vc++ using graphviz as library

where do i search for programs in vc++ ,using graphviz as library? ...

background image or color for a static box in vc++

anyone knows how we can set an image or color for the background in a static box in vc++ ...

Is C++ Edit and Continue functionality available for anything other than VC++?

Does Eclipse or other IDE's support Edit and Continue for C++? ...

How to dynamically set the header and source file paths without hardcoding them in Visual studio settings?

Hi, I am having a project that is stored in E:/Code/GCS/utilities.I have some libraries also in utilities folder.Is there any way i can do some sort of settings that if i transfer this project on some other machine the compiler automatically find out the header/source files and libraries path.Please help me out? ...

making sure code compiles as static library and not dll in visual ++ 6 compiler

i have a code which is compiling into dll but i want it to compile is as lib file . Compiler visual c++ 6 (using commmad line) any ideas ?? ...

RSSI for Bluetooth

Can any one help me to write code for RSSI in Bluetooth. any tool and techniques used for this to find it easily ...

Why is MSVC throwing a tantrum compiling a macro while G++ is all about zen?

Under MSVC 9.0, this fails. Under g++ this compiles. If we take out the macro then the non-macro version 76-79 compiles. Any ideas? 03: #include <iostream> 04: #include <sstream> 67: #define MAKESTRING(msg, v) \ 68: do { \ 69: std::ostringstream s; \ 70: s << msg; \ 71: v = s.str(); \ 72: } whil...

How to disable visual C++ memory leak checking for a particular file?

One of my projects is making use of Microsoft's supplied memory leak checker via _CrtSetDbgFlag etc. This is working fine except that I now want to make use of a third-party package which is leaking a small amount of memory. I have no particular need to fix the leaks, but the output is annoying since it will disguise "genuine" leaks that...

How to implement precompiled headers into your project

I understand the purpose and reasoning behind precompiled headers. However, what are the rules when implementing them? From my understanding, it goes something like this: Set your project up to use precompiled headers with the YU directive. Create your stdafx.h file and set that to be your precompiled header. Include this as the top ...

visual c++: convert int into string pointer

how to convert integer into string pointer in visual c++? ...

how to call a another exe in in window service

i made the program and create its exe file i want to add my exe file in to window service , because when the computer start my program will be automatically start just because of window service so please can any one tell me how to add my exe in to window service ...

Visual c++: putting a integer into text box

in my program when i will click button then i want to show some integer into textbox as out. but textbox is taking only string pointer. how to sort out this problem then? ...

Visual C++: displaying integer in a text Box

I want to write int i=4; textBox1->Text = i; But it is giving compilation error for type mismatch. How to do box or typecast this? ...

How to write logs to files of size 64KB in C++/VC++?

How to write logs to files of size 64KB(to allow notepad to read).Once the file has reached 64KB it should go head and create another , another ...... File names can be automatically generated. I tried the following code static int iCounter=1; CString temp; static CStdioFile f(L"c:\\Log1.txt", CFile::modeWrite | CFile::modeRead |...

New keywords and new type of pointers in Visual C++ 2005. What is managed C++?

Possible duplicates What is gcnew? What does the caret mean in C++/CLI? Difference between managed c++ and c++ I am a advanced C++ programmer with g++. But currently I am working on Visual C++ 2005 doing Windows Forms Application programming . But I am finding it hard with its new terminology. For e.g. instead of new it has gc...

how to get USB hardware id using device id?

How to get hardware id of the usb device using device id...i am using vc++6.0 and OS is xp. is it possible by using wmi. ...

Intellisense help VC++ 9

I'm new to c++. I'm using visual studio professional. I'm using Allegro library to make a game. When I access an Allegro type or an std; type, intelisense shows me the members. for instance if I do buffer-> it brings up a rectangle listbox of all the class members. But when they are my types it does not work. I made a struct called PLAY...

How to marshall COM object on the server side in visual c++?

I have a out-of-process COM server with an ATL Simple Object which creates another thread. The new thread will need to make calls to ATL Simple object. Since ATL Simple Object and new thread are created different apartments, ATL Simple Object needs to be marshalled in the new thread, otherwise error 0x8001010e will be generated. How do...