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

Software Development Network >> Visual C++

Visual C++

New Question

SSE3 Programming questions
Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta
AddPrinterConnection returns 2
msvcr80.dll Problem
Trouble with Speech SDK 5.1 and Visual Studio 2005
Error including queue.h
error C2159
(Newbie) - getline - Import/Export file
Console Applications only work on computer with the IDE
What do you think about below template code?

Top Answerers

hotmailman
kmpradeepkumar
SoCalChris
Wendy909
raagz
wader
lastan06
Brian Norman
octagon
VoiDeD
Tek-Tips: Visual
Only Title

Answer Questions

  • TheSteph How to deploy a project to standard gcc ?? <stdafx.h> not existing in gcc include files.

    Hello, I have developed a Win32 console applicaiton in Visual C++ Express. Now I need two things: 1) Create an executable from it. 2) If not too difficult, to be able to compile it with another compiler. I'm trying with simple command-line gcc, but it complains that stdafx.h is not found Do you know how to achieve (1) and/or (2) If so please drop me a line... Thanks, Ido to 1.) Than do it. Just start the Build and get an executable. ...Show All

  • ceemh3 How to get the size of a double char pointer?

    Basically, I want to get the size of a double char pointer, EG char **x; Not the elements of the individual arrays, but the actual number of elements inside the pointer. I don't want to use vectors or Strings either, I know how to do it that way, but it looks ugly. So if I could get some feedback on this, it would be appreciated. :-) Not sure how you initialize this pointer. But if you do it like this: cha ...Show All

  • Anshul Tandon How to compile C++ function to be used by C# ?

    I want to write a native C++ function that I can later access from C#. Please keep in mind I do not have much experience developing on windows, (mostly unix) and that my only windows compiler is VS2005. I tried creating a MFC DLL. I am able to access this from a C++ .net program, but not from a C# program using P/Invoke. It seems that a plain MFC DLL is not "good enough" for use with DllImport. Is this correct It seems that I ...Show All

  • Jim Cogswell Linking error related to manifest file

    Hi, I am build my project on VC2005 Beta and get the following error: >Embedding manifest... 1>LINK : fatal error LNK1000: unknown error; consult documentation for technical support options If I build the project again, it will pass. However the rebuild will always fail. If I change the "Generate Manifest " to "No", the build always pass. Can anybody help me on this What's wrong with my project Thanks, Kevin ...Show All

  • Beeblebrox_dk MFC app with Windows Forms and User Control - what am I missing?

    Background: We have a large legacy app written in native C++ (VC6) and MFC. We are doing some major enhancements that require a bunch of new and revamped UI's, and have decided to do the new UI work with Windows Forms. The app has been moved to VS2005 and updated to build with /clr - so far, so good. I have created a new Windows Forms dialog, and am able to launch it and interact with it just fine - looking real good. Here's the problem: ...Show All

  • J B Li Loading BMP image through menu item(OPEN option in FILE menu)

    Friends i am stuck with a problem while creating a menu interface in vc++. Problem is: Whem ever we go to FILE menu ->OPEN -> we get a browsing window and then after browsing the image when we click OPEN...the image should be loaded on the screen from the hard disk... so i need a sample code that can load the bmp image from the hard disk to the screen...and where do we write that sample code.... or if there is any other option to ...Show All

  • RD disable manifest stuff?

    is it possible to diable the manifest stuff so i can run my application on another computer with out .net. So just my exe and a bunch of dll's if they are needed. I've found some threads that discuss copying manifest files and renaming them and shit, but that really sucks, and doesnt even work for me. I cant manage to get a simple printf("hello"); working on another machine! so i've tried a release build using the default project from the projec ...Show All

  • Zeesha ATL Server Transmitfile not working

    Hi Following code is not working can any body help me out how to use transmitfile to transmit the file to the web browser Thanks in advance. HTTP_CODE ValidateAndExchange() { m_HttpResponse.ClearContent(); m_HttpResponse.ClearHeaders(); m_HttpResponse.SetContentType("application/octet-stream"); m_HttpResponse.AppendHeader("Content-Disposition","attachment; filename=manojfile.txt"); return HTTP_SUCCESS; ...Show All

  • starsky Help with adding Keyboard shortcuts

    Hi Everyone, I am very new to programming in Visual C++. However, I am finding it to be quiet interesting. I am working on a project in wish I had to develop GUI's,. I have implemented the GUI with some buttons included. One task that is currently beating  me is implementing a keyboard shortcut. I have a botton called "RUN" and want to use "ALT+R" to invoke the run button. Can anyone kindly help me with this. I have tried doing this with ...Show All

  • Mark Traudt How to create log file using mfc?

    Ive been running in circles with CFile on creating a log file. I can write CString right into the .txt file but for some reason, i don't know how to apply a line feed or a carriage return. The text are all joint into one long line. Is there an alternate class I should be using, like StdioFile, or is there some function or method i could use VB made it look easy. Thanks. That really helps. Ive also tried using ...Show All

  • FA65 VS2005 IDE Bug with static lib dependency

    Before I report what I believe to be a bug in the IDE's dependency code regarding static libraries I will report it here. Maybe there is a workaround or maybe, even though the IDE's shows it as a bug, it is not really occuring as one in actual practice. As a simple example for a more complex actual problem, I create a solution with a C++ CLR Class Library and a Win32 static library. I then setup my project dependencies so that the class library ...Show All

  • MariaSh 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

  • D_B Again on: How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6?

    Hi, Seems that my post on "How to solve .__dtor link error in MS VC++.net 2003 for codes that work in VC++ V6 " was lost. Here is it roughly again ================================================= I downloaded some open source c++ code from http://www.coin-or.org/ In the MS Visual C++ .NEt 2003, I set up a project (TestCLP5) with a file with  int main ( int argc, const char *argv[]) Then, On the tools\options dialog window, I&n ...Show All

  • BlogusMaximus Trouble trying to initialize an unsized string

    I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. Hi, Oops, sorry my bad, actually strlen(NULL) is generating the problem. Max the function where I am sizing the string is as follows void CData::SetName( char * n) { ...Show All

  • DFlatGuy Linker issue LNK2019

    Hi, I am trying to do a class template for matrices. Everything compiles well but when I try to use it in another project I have a small issue. Source for the matrix class: class Matrix { public: //Generic functions short int Rows(); //Returns the numbers of rows short int Cols(); //Returns the numbers of columns Matrix ...Show All

262728293031323334353637383940414243

©2008 Software Development Network

powered by phorum