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

Software Development Network >> Visual C++

Visual C++

New Question

Hello, very new to VS itself, need help on probably something simple.
How to read *.txt file contents into CString object????
CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
Linker errors on 7.0
where is mfc80d.dll
aspell compilation problems
Why is VC8 code much slower than VC7.1?
shortcut to access the scope and function droplist in the text editor
mfc70.dll not found :(
while (file.eof()) causes repeat of last input

Top Answerers

Mark Freeman
lSalamon
alvinr
yaxixi
Gavin Jin - MSFT
Bart Butell
adrien62
David N.4117
Shawn Tucker
swemaniac
Mark Curlanis Consulting
Only Title

Answer Questions

  • dhesmer RegularExpressions namespace seems to have moved in VC 2005

    I am trying to create a program that uses the Regex class in namespace System::Text::RegularExpressions, but the compiler says it does not exist Error 1 error C2039: 'RegularExpressions' : is not a member of 'System::Text'  Did it move   Thanks That was it, I am still new to vs 2005 so I didn't know about that one. Thanks   Due to a bu ...Show All

  • Jiffy MFC vs C# Winforms (was Can C++ develop web-based applications?)

    I'm in a convo with someone who's continuing to use MFC when he has the opportunity to use C#. Could someone point me to the literature that talks about MFC's originator having second thoughts about it Brian Nah, old topic now! Is that still a wanted thread Thanks, Ayman Shoukry VC++ Team I split this new post off the end of an unrelated old thread in vc.la ...Show All

  • Vidhya Resource editor

    I have a C++ project that was written with VS2003 which has conditional resources for different builds of the project.  I can compile the project in VS2005, but I can't edit the resources.  When I try to open the resource editor I get errors, such as "error RC2135: file not found: BITMAP.  The .rc lines are: #if defined (APSTUDIO_INVOKED) || defined (PRIVATE) #if defined (APSTUDIO_INVOKED) IDR_MAINTOOLBAR ...Show All

  • Ron Dean Display an int in a MessageBox?

    Hi, I'm new to C++, have started to use VC++ 2003 at work and dont know much about it because i have only used Java and VB before now.  I cant use the debugger for reasons that arent relevant here but all i want to do is use a MessageBox to display an int!  I cant seem to do this no matter what i try.  I dont care if i have to use the AfxMessageBox function instead but please some one tell me how its done!  I'll give you ...Show All

  • adrian44 Form HDC's

    How do I get the HDC of a windows form nothing I have tried so far works, I need the HDC so i can pass it to opengl to render to the form Call CreateGraphics on the form to get a Graphics object, then call GetHdc (and ReleaseHdc when you're done) on that. Thankyou Mattias ...Show All

  • cs96ai STL/CLR verifiable??

    When compiling a project with /clr afe it is still possible to emit unverifiable code. This can happen when using operator* on an iterator which returns int&. Putting the resulting program through peverify results in an error as ByRef cannot be a return type (only locals and arguments). Example code: #include <cliext/vector> using namespace System; using namespace cliext; int main( array <String ^> ^args) ...Show All

  • martyc DirList ActiveX usage problem on localized VS .NET

    Hi, As I know, VS uses DirList ActiveX component for showing some properies (see VC++ Linker's "Additional Directories" for example). In our integration we used the same approach. We crteated a dialog with DirList ActiveX on it. Here is the fragment from rc-file (part of DIALOGEX section ): CONTROL "",IDC_SLE_PATHLIST, "{442502BA-D873-4a37-9F19-3E38C42A3DDB}",NOT WS_VISIBLE | WS_TABSTOP,6,68,190,59 Gui ...Show All

  • Mirz Radio Button Problem

    I have 3 radio buttons in my Dialog and it's in a group, i have on click event(OnRadio1) for first radio button( ON_BN_CLICKED(IDC_RADIO_ONE, OnRadio1) ), problem is that when dialog box pop's up OnRadio1 is called many times and then dialog will appear. Please help me. Pramod I just tested it with VS.NET 2003! But there should be no difference. Can you post the complete Messagemap and the comp ...Show All

  • ram1608 Support for dual core and dual CPU

    When does Microsoft plan to add support for dual core and dual cpu when compiling C++ code I was asking the same question 8 years ao when I got my first dual CPU machine. Did not get any answer. Distributed compilation like Incredibuild would also be nice to have. Regards Lars Schouw Next distrbuted builds and compilations would be nice like with incredibuild and distributed build under *nix and *inux ...Show All

  • bobchauvin Please Help Me! Please...Please...!

    Hi. I want design Line in a StaticControl.(or any function.like sin(x)) Please Help me. Sorry, that was my reply to nish. I've known him for years :-) I hope you solved your problem :-) ok. I will work on my book. thank for your *grin*. you break my heart ! Nishes reply to this question previously will allow you to do a line on your form. If you want the line to follow a function like sin(x), then y ...Show All

  • JohnMathewmathan cannot find file "msvcr80.dll

    When I run Norton it says it cannot find mscr80.dll and cannnot fix it. Tells me to reinstall it. so how do I do this In all missing 11 files that say I need "mscr80.dll. Than You Debbie Debbie--Did you ever figure out how to reinstall it Most likely Norton Windoctor. Debbie please see this article to see how to make Windoctor ignore the error. You can take a look at this 4-page thread where oth ...Show All

  • Adam Magee CListBox and AddString

    Hi all, I'm currently tearing my hair out with a slight snagget... I'm writing a dialog which in turn calls up another modal dialog including a listbox control... (using MFC because I'm too dumb to code from scratch) The list box control needs to have user data added to it from parent and I also need to return the user choice within the listbox to the parent on completion. This would all be simple if I could use DoModal() to create the child win ...Show All

  • woot12345 Intellisense Problem

    Hello, I have yet another problem which is that Intellisense stops working. When my script reachs a certain legnth it just won't work anymore. Now it sometimes even doesn't work when I start new applications. (I am using Visual Studio 2005 June CTP). With Thanks,                     Gal Beniamini. Can you be more specific on what does not w ...Show All

  • svashchenko Odd memory problem

    Hi all, I have a little app that receives some HTTP data into a buffer:     char gcBuffer[4096]; ....    wsaStatus = recv(gsock, gcBuffer, 4096, 0); ....   A few lines down, I wanted to strcat_s that data into another buffer:     char gcBufferTemp[4096]; ...    strcat_s(gcBufferTemp, sizeof (gcBufferTemp), gcBuffer); ...     but it keeps failing with " ...Show All

  • Troy Neville Why is strdup() deprecated in VS 2005?

      < hyslopc@discussions.microsoft.com > wrote in message news:9a93850c-505b-48c3-bd60-44625db8bbc6_WBRev2_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com You may not care about it, but I do.  I don't want to disable the warning because I think the concerns with most of the deprecated functi ...Show All

727374757677787980818283848586878889

©2008 Software Development Network

powered by phorum