Software Development Network Logo
  • VS Team System
  • Visual C#
  • Visual Studio
  • Visual FoxPro
  • Visual C++
  • Visual Basic
  • Game Technologies
  • .NET Development
  • Windows Forms
  • Architecture
  • Windows Live
  • Visual J#
  • VS Express Editions
  • Microsoft ISV
  • Smart Device

Software Development Network >> Visual C++

Visual C++

New Question

warning LNK4078
Graphics* graph; doesn't work
Marshall::ReadByte issue
Weird build output
C++/CLI
__PRETTY_FUNCTION__
Traversing a Directory using Visual Studios 6.0 C++
How to redirect STDIN of CMD.exe in C++ programme?
lnk2034 error metadata inconsistent with COFF symbol table:
Using classes from dynamically linked DLL

Top Answerers

JT Poole
Bursteg
Barrtee.s
Ian Murphy
Javawag
opkguy
MKN
Stringtheory
Nung
pr0gr4m3r
Code Lane
Only Title

Answer Questions

  • Werner Sandner Shellexecute error

    HI, string cmd = ""; cmd = " -l "; cmd.append(user); cmd.append(" -pw "); cmd.append(pwd); cmd.append(" "); cmd.append(host); ShellExecute(NULL,TEXT( "open" ),TEXT( "putty.exe" ),TEXT(cmd),NULL,SW_NORMAL); I constructed a string that contains parameters for my .exe file. But when i try to insert the string into the ShellExecute command i got this: error C2664: 'ShellExecuteW' : cannot convert parameter 4 from 'std::string' to 'LPCWSTR' No u ...Show All

  • Eric Lohse Visual C++ 2005 compliance with The C++ Standard

    Despite a boat-load of documentation on Microsoft extensions to the C++ language, I have been unable to find a single page describing how VC++ 2005 differs from VC++ 2003 (7.1) with respect to the serious non-compliance issues that plagued users of VC++ 2003 (7.1). This document http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclang/html/vclrfNonstandardBehavior.asp is available for Visual C++ 2003 (7.1). Does anyone know whic ...Show All

  • MobiTech change language setting

    My program is in German could someone please help me change it to English Sorry, but what do you expect There is no single switch to translate a program into another language. I wrote an article about multi lingual programs with MFC (its German ) http://www.richter-family.com/articles/howto%20multilinguale%20programme.htm ...Show All

  • JeffMlakar Linker error:LNK2005

    HI, I am getting a linker error in the case of DEBUG. In the release build, successfully build. This application is a dll and using "Use Standard Windows Libraries" in Use MFC option in project setting. In a build log following settings are: Debug Setting: Linker->Input: setupapi.lib DelayImp.lib version.lib /NODEFAULTLIB:bufferoverflowu.lib delayimp.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole ...Show All

  • timmed C++ compiler /analyze switch question

    Moving question back here.  This specific to the C++ compiler. On this test, I expected it to report a use of an uninitialized variable.  Is this correct expectation of the /analyze switch   I'm using VS 2005 B2. void foo( int & x ) {    printf( "%d" , x ); } int main() {    int uninitialized;    foo( uninitialized );    return 0; } Hi Bria ...Show All

  • Turkleton Header file Hell

    Alright, I was on of the lucky few that couldn't get windows.h at all.  So downloaded the img and then copied the files over completly. Now when compling my project I get the following mess: c:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\WinNT.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' Needless to this error comes up at least a few more times as PVOID get references through the WinNT.h ...Show All

  • Vince P global const Array

    Hi! I am just playing around with VC++ Express 2005. I am trying to port some old example sources to .NET. This is much more difficult than expected. Have a look on this: class Constant { public:     String Name;    double Value; }; static const Constant ConstTable[] =      // global scope {    {"e", 2.718281828},    {"Pi", 3.14159265358979323 ...Show All

  • Rich Chiodo HOW TO: Jump to GNU GCC generated warnings and errors using 'F4'?

    Hi, I'm using visual studio 2005 express, just as an IDE for the development of Gameboy Advance game projects. I'm compiling c code, using the GNU toolchain and getting output such as: source/map.c:50: error: conflicting types for 'MAP_put_tile' source/map.c:35: error: previous implicit declaration of 'MAP_put_tile' was here source/map.c: In function `MAP_ingame_scroll': source/map.c:87: warning: assignment makes pointer from i ...Show All

  • Lyle Hardin Floating Point Supoport

    <itsmike@discussions.microsoft.com> wrote in message news:9639e8e2-d13a-4dfc-9058-e52e72f1e069@discussions.microsoft.com > The floating point control methods (_controlfp,...) are listed as > deprecated during > compile under vs/8/express (beta). Are they truly deprecated   They are deprecated in favor of _controlfp_s. The only difference is that _controlfp_s returns an error code, so it c ...Show All

  • Anonymous_mike doubt regarding access specifiers

    Dear all, I have a doubt regarding access specifiers in C++. I have a class ABC let us say. In ABC I have two private member variables, and two public member functions. And I'm putting this class in a static library. To use that library, one should have the header file. So in the program, where I use that library if I change the class defenetion to have all public members will there be any harm Thanks and best regards, Raja Pratap. ...Show All

  • Silverio Importing class from dll

    Hi My problem is that I cannot import a class from a dll without an import library. Thank You, Attila. This is down to the calling convention that the function uses. For example. int __stdcall Function1(int a, int b); This uses the stdcall calling convention. The calling convention is important because of how the function itself starts and finishes, this is called the prolog and epilog of the function ...Show All

  • JCatDK Help needed for Error:LNK1561 with _tmain()

    Hi, I am a newbie Visual C++ programmer. I am currently using the Visual C++ 2005 Express Edition on my PC. I have a problem in implementing the _tmain() function. I created a project( CLR Console App.) for the basic 'Hello World' program. (This is from a book.). Below, I have listed the code & the compiler output. Why doesn't the project recognise the _tmain() function The Program: // ASimpleProject.cpp : main project f ...Show All

  • Scorpion Prince GDI Logical Mapping Modes in MFC

    Hello there, I am developing an MFC application that requires drawing a graph. I am using the MM_LOMETRIC logical mapping mode because the positive X axis is to the right and the positive Y axis is up. The problem is that the size of the graph will not stay consistent on all PC's due to variations in pixel size, and display resolution. The problem seems to be worse on laptops due to the many display types. How do I get a consistent graph s ...Show All

  • Krunchu Initialize Array in Class

    Hello, I am trying to get VC++.net (2005 express) working. I have built a class holding an managed array of string. Here is the code. ref class Parse3DHTML { public : int LoadFile(String^ FileName); String^ HTMLText; // String^ Inner3DHTML(String^ ObjectName); // String^ Inner3DHTML(int Index); private : array <String^>^ Comments; array <String^>^ Tags; int AddComment(String^ C ...Show All

  • adamoverlock Quick question (basic MPG calculation cpp)

      I have here some code I am writing to calculate MPG. The sentinel value is -1, but when I press -1 it still asks me how many gallons used, before exiting the window. Can anyone help me see what I am doing wrong heres the code I have so far: BTW The code works up untill I want to exit by using the sentinal value (-1) it actia;;y adds the (-1) to the totmiles then it asks for total gallons, THEN it exits. DO you se ...Show All

798081828384858687888990919293949596

©2008 Software Development Network

powered by phorum