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

Software Development Network >> Visual C++

Visual C++

New Question

mfc : loading a jpeg - 2 questions
Strsafe.h or .NET String class
Help -- error C2065
COM+ header file
Should generate C4407 warning in VC++ 2005??
"this" pointer cannot still not be accessed when debugging 1 line inline !!!
Redistributing Visual C++ 2005 Profession (final) MFC and CRT
CEdit fails to set text on out-of-proc edit control
Using timers in vc++ via SetTimer and OnTimer
Windows Authentication Dialog

Top Answerers

VisualStudio Rocks!
Raymond Yuen
JohnColo
maria_tachi
kennethkryger
bwells
Albsalgado
mdvrdrmn
JDev
Kris Wragg
Collogan, Vincent
Only Title

Answer Questions

  • jklein How to regenerate Intellisense database?

    I am using Visual C++ Express Edition Beta 2 How can I regenerate the Intellisense database for a project It's always showing old, not up-to-date, suggestions. Delete the .ncb (No compile Browser - aka Intellisense) file for the project. Yup, wasn't sure if deleting it would work. It did. Thank you. So please mark the best post ans "answer"! ...Show All

  • Dudley McFadden CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0

    I have a VC++ 6.0 MDI project that uses a class derived from CPreviewView to provide some mildly enhanced Print Preview functions. The class is invoked according to the MSDN documentation by calling DoPrintPreview. In Visual Studio 2005 the program asserts in Debug mode at the last line of this fragment from winfrm.cpp: void CFrameWnd::OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState) { ...etc... if (bPreview) { // Ente ...Show All

  • Marcus Adkison Convert String to Numeric

    my first message in Spanish was erased of FORUM. I speak Spanish but I will try to write in English On a Project  "Windows Form Application" I'm beginner in C++, in special in .NET 2005. Everything what encounter in Internet is for C++ 6.0 or C. I want in numeric and not concatenated. textBox3->Text = textBox1->Text + textBox2->Text Please help me, I do not want that this is a tie. Give me as do or prepare my Project for ...Show All

  • mehdi Jafari Scroll limitation issue

    hi, I have recently taken over the a project for someone, one of the issues we have come across is that you cant view an entire document, in a window with scroll bars if its really big.  I track this problem down to the ranges on the scroll bars.  Once the range of the scroll bar exceeds 32000 pixels, it is set, by my ex-colleague back to 32000.  So when you view a document, depending on the zoom factor you may only see a fractio ...Show All

  • smmuneeb MS C++ 2005 express database mismatch error when compiling

    Every time that I attempt to compile a c++ program I get a database mismatch error. When I looked this error up in the included documents, it said that I needed a newer version of dbi.dll. Where can I find this file I know that my programs work because they compile with ms vc++ 6.0 and the gcc complier. Here is the artilce where it told me "how to fix it," but I still cannot find the file that I need. Visual C++ Conc ...Show All

  • Asarualimnuna Checkbox problem

    I have a simple dialog box with a check box. When the checkbox is clicked I intercept the click in the message procedure and attempt to get the current state, however the call only ever returns 0 i.e. unchecked. Here is the call I am using, any ideas why this might be happening int PRINTER_CONNECTED = (int)SendMessage(hwndPrinterConnected, BM_GETCHECK, 0, 0); Thanks in advance, Mark Coleman ...Show All

  • Moonracer Which is faster?

    I am currently using vb.net and am wondering if c++ can produce faster programs. The majority of my programs are small with about 50 - 60 controls (including tabcontrols, labels, trackbars, comboboxes, a menustrip and a status strip.) The programs run pretty good as a BASIC program but can lag uneccesarily. i.e. when changing tabs, and both tags have nothing but labels and linklabels on them. It shouldn't lag there. If c++ can produce these p ...Show All

  • Don B Compiling FilmBox SDK Under VC6

    Hi, I am trying to compile Filmbox's SDK using VC6.  I can compile under VC7, but I only have a temp version, and do not want to port over to VC7.  The problem I am getting is on the following section of code: /***********************************************************************  CLASS KStaticArray ************************************************************************/ template< class Type > class KBaseStaticArray { & ...Show All

  • Big_Show Forward Declarations, Templates, STL

    Is it possible to forward refence a class that is in namespace std I know how to forward reference templates that I declare myself, but I am having trouble forward referencing classes that are part of namespace std. For my own templates, code such as the following works: namespace MyNamespace {     template< typename T >     class CTestTemplate; } class CTestClass { public :   CTestClass(My ...Show All

  • Lolasmomma need to create a .exe using vc++ without runtime files ?

    Hello All I need to create an application Suppose if I use VC++ do I need to include any big runtime files Say for example the Dot net runtime Suppose If I use Visual C++ Express Edition to create application do I need to include Runtime files like the Dot net runtime Thanks Steven as advised Im following it up here Is it possible linking statically to the CRT using visual studio vc++ 20 ...Show All

  • cbhkenshin How to Resize DialogBox in VC++ with Code?

    Hi! I want to resize Dialogbox. Should I use from WM_SIZE function How Please Help me. thank. Hey!!!!!! I use the MoveWindow and it's work!!!! WOW Thank thank thank thank thank Use MoveWindow Alireza_Izadimehr wrote: Hi! I want to resize Dialogbox. Should I use from WM_SIZE function How Please Help me. thank. Hi and thank for repaly! please tell me more! Hey!  Take it ...Show All

  • ahsankhan Problem overloading and using ostream operator << for my own classes

    I have several problems to declare, define, and use the following operator in many .cpp files : std::ostream & operator << (std::ostream &, const MyClassA &); I succeed to declare and define this operator for my class MyClassA, defined in MyClassA.cpp. I declared my class as following :    // MyClassA.h    class MyClassA;    std::ostream & operator << (std::ostream &, c ...Show All

  • Nikody Keating Possible Bug in Reference to Pointer to Const

    This is with VS 2005 void F( const char *&pChr) { pChr = "Test" ; } int _tmain( int argc, _TCHAR* argv[]) { char *pChr1; const char *pChr2; F(pChr1); // Fails: cannot convert parameter 1 from 'char *' to 'const char *&' F(( const char *)pChr1); // Fails: cannot convert parameter 1 from 'const char *' to 'const char *&' F(pChr2); // Succeeds return 0; } ...Show All

  • Claes Ahlberg .NET compiler error (static cast)

    Hi, I am doing a porting to 64 bit(VC++ 6.0 -> VC.Net) now. and encounter this problem. Please help me if you know the solution BEGIN_MESSAGE_MAP(CAADlg, CDialog) //{{AFX_MSG_MAP(CAADlg)   ON_BN_CLICKED(IDC_A, OnA)   ON_BN_CLICKED(IDC_B, OnB) //}}AFX_MSG_MAP END_MESSAGE_MAP() bool CAADlg::OnA() { ... } void CAADlg::OnB() { ... } Compiler error message: c:\Works\VC.NET\...cpp(179) : error C2440: 'static_cast' : cannot convert ...Show All

  • PatrickJoyce How to pass a LPTSTR value into a structure's LPWSTR parameter?

    I needed to use the WNetAddConnection2 function to establish a connection to a server share which requires a separate logon. It requires a NETRESOURCE structure to be passed, and one of the netresource items is .lpRemoteName, which is a LPWSTR. My sourcepath was captured in CString so i get an error whenever i tried to pass it to the item. It says 'error = : Cannot convert LPWSTR to LPTSTR'. I tried all sorts of type casting but it wont work, in ...Show All

192021222324252627282930313233343536

©2008 Software Development Network

powered by phorum