tagged [visual-c++]
error LNK2001: unresolved external symbol (C++)
error LNK2001: unresolved external symbol (C++) Say I have this function called DoThis(const char *abc) in a file called one.cpp. So when I attempt to call this function from another function in a dif...
- Modified
- 26 Aug at 18:38
How can I insert element into beginning of vector?
How can I insert element into beginning of vector? I need to insert values into the beginning of a `std::vector` and I need other values in this vector to be pushed to further positions for example: s...
- Modified
- 10 Jul at 13:15
Change "Visual Studio 2010" folder location
Change "Visual Studio 2010" folder location I would like to change the "Visual Studio 2010" folders location to my Dropbox folder, so it gets synced every time I make a change. I have searched on the ...
- Modified
- 27 Aug at 16:11
Notify Icon Ballon Tip Not showing in C#?
Notify Icon Ballon Tip Not showing in C#? i am using this code under my form1_load I even checked my registery and the value was 1. Why is the baloon not showing? I do have a icon form my notify icon....
- Modified
- 1 Jul at 20:9
linking HTMLHelp.lib with x64
linking HTMLHelp.lib with x64 i have a VS05 C++ (MFC) project which uses HtmlHelp (function HTMLHelpA, linked from HmleHelp.lib, which came from HTML HElp Workshop v1.4). the 32-bit version compiles a...
- Modified
- 24 Oct at 16:17
What is "stdafx.h" used for in Visual Studio?
What is "stdafx.h" used for in Visual Studio? A file named `stdafx.h` is automatically generated when I start a project in Visual Studio 2010. I need to make a cross-platform C++ library, so I don't/c...
- Modified
- 2 Aug at 18:6
ERROR: Cannot open source file " "
ERROR: Cannot open source file " " I am running visual studio C++ and I have a header file "GameEngine.h" that I am trying to have another file see. When I #include "GameEngine.h" it gives me the err...
- Modified
- 18 Mar at 02:43
Using c++ library in c#
Using c++ library in c# I am trying include c++ library (DLL) in my c# project but every time I do that I get following error message in VS2008, any suggestions? It's a C++ MFC DLL > ``` -------------...
- Modified
- 5 May at 09:41
How to add additional libraries to Visual Studio project?
How to add additional libraries to Visual Studio project? Allergro is an open souce C++ addon library for graphics manipulation. How do I add this library to my compiler? The instructions don't work f...
- Modified
- 11 Dec at 07:55
How to create and initialize SAFEARRAY of doubles in C++ to pass to C#
How to create and initialize SAFEARRAY of doubles in C++ to pass to C# My C# method needs to be invoked from C++ Originally my C# method takes a parameter of type double[], but when calling from C++ i...
- Modified
- 16 Sep at 21:8
fopen deprecated warning
fopen deprecated warning With the , I get the following warning when my code uses the `fopen()` and such calls: ``` 1>foo.cpp(5) : warning C4996: 'fopen' was declared deprecated 1> c:\program files...
- Modified
- 8 Nov at 05:51
How to run regasm.exe from command line other than Visual Studio command prompt?
How to run regasm.exe from command line other than Visual Studio command prompt? I want to run regasm.exe from cmd. which is available in c:\windows\Microsoft.net\framework\2.057 I do like this c:\ re...
- Modified
- 7 Jan at 12:28
How can I choose between 32-bit or 64-bit build in C# Express?
How can I choose between 32-bit or 64-bit build in C# Express? I'm having a problem when I try to build my solution in C# Express 2008. I need to build it for 32-bit architecture, but it always build ...
- Modified
- 23 Apr at 12:28
How do I fix an "Invalid license data. Reinstall is required." error in Visual C# 2010 Express?
How do I fix an "Invalid license data. Reinstall is required." error in Visual C# 2010 Express? I've tried to install [Visual C# 2010 Express edition](http://www.microsoft.com/express/Windows/) onto m...
- Modified
- 9 Jan at 09:50
Disable single warning error
Disable single warning error Is there a way to disable just a single warning line in a cpp file with visual studio? For example, if I catch an exception and don't handle it, I get error 4101 (unrefere...
- Modified
- 2 Sep at 19:31
creating txt file
creating txt file In my MFC application project during runtime i want create a txt file and i want store some data in that i dont want to create the notepad file in any Hard drive. It must be in appli...
- Modified
- 22 Apr at 08:46
Scope of pure virtual functions during derived class destruction - In C++
Scope of pure virtual functions during derived class destruction - In C++ During destruction of the derived class object, i first hit the derived class destructor and then the base class destructor (w...
- Modified
- 29 Jun at 09:53
Can the TH32CS_SNAPNOHEAPS flag for CreateToolhelp32Snapshot be used on desktop Windows?
Can the TH32CS_SNAPNOHEAPS flag for CreateToolhelp32Snapshot be used on desktop Windows? I'm having trouble with a call to CreateToolhelp32Snapshot() from a C++ Windows program, but it only happens in...
- Modified
- 31 Aug at 14:30
Possible to convert C# get,set code to C++
Possible to convert C# get,set code to C++ I have the following code in C#: Is it possible to convert this and use the get and set this way? I know that you cannot declare like so and I need the ":" t...
- Modified
- 30 Jul at 19:46
How to pass a string to CreateProcess function?
How to pass a string to CreateProcess function? I want to pass a string to my CreateProcess function so that I can use this function for all my operations. How to do it correctly? Below is my code: ``...
- Modified
- 4 Jan at 03:11
NuGet package with a dependency on Visual C++ 2013 Runtime
NuGet package with a dependency on Visual C++ 2013 Runtime I have created a NuGet package from .NET4.0 DLLs which include mixed (Managed and native) code. The Native code is packaged up inside the .NE...
- Modified
- 18 Nov at 11:51
How to define relative paths in Visual Studio Project?
How to define relative paths in Visual Studio Project? I have a library and a console application that uses a library. The library has a folder with source and header files. My project is in a child/i...
- Modified
- 17 Apr at 02:21
How to determine if a string is a number with C++?
How to determine if a string is a number with C++? I've had quite a bit of trouble trying to write a function that checks if a string is a number. For a game I am writing I just need to check if a lin...
- Modified
- 8 Nov at 00:20
Why is Visual Studio 2010 not able to find/open PDB files?
Why is Visual Studio 2010 not able to find/open PDB files? I am trying to use OpenCV in VS 2010. I am an amateur, and I am learning first steps from the OpenCV wiki. However, when trying to debug my p...
- Modified
- 27 Jan at 08:34
How do I set the path to a DLL file in Visual Studio?
How do I set the path to a DLL file in Visual Studio? I developed an application that depends on a DLL file. When I my application, the applicationwould complain that: > "This application has failed t...
- Modified
- 2 Jun at 19:28