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

Software Development Network >> Visual C++

Visual C++

New Question

Importing class from dll
Change font on a Tabctrl
Candidate function(s) not accessible strange case
how to get the message of the messsagebox?
problem in explicit linking of DLL
Cannot create project WTL7.5 wizard in VC++ 2005 express
QueryResults object and MS SQL 2000 float fields - please help!
Linking Problems - newbie
Is c++ .net compiled??
msvcrtd.dll not found

Top Answerers

Randine
Dan Violet Sagmiller
Chez
Don Mylrea
Ozcan Ozay
americanDesi
Devon Kyle
spectrablue
namlow
JonathanV
Visual
Only Title

Answer Questions

  • sonali kedar Newbie: Can't use WinAPI because included twice

    Sorry for this lame question, but I've spent hours trying to solve this ridiculous problem. I'm trying to use the Windows API GetGUIThreadInfo, but because (I believe) it is declared twice (in winable.h and winuser.h, which I believe are implicitly included) I cannot use it. I get an identifier not found error. What do I do so I can use GetGUIThreadInfo I haven't used C++ for a long time, and I'm not sure if I ever encountered this proble ...Show All

  • lnielsen stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory

    Created in VS6 Tried to compile in VS2005 Express and got the above error. Installed the latest Platform SDK which contains afxwin.h, but get the same error. Here is the code: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if ! defined (AFX_STDAFX_H__38F261C7_B9D0_11D1_94AA_444553540000__INCLUDED_) #define AFX_STDAFX_H__3 ...Show All

  • DaweiHuang window class help

    Anybody can give me a help (example, code, link) about window class In fact, my question is about how a window object can control an other window object. Hi Marcelo,   Could you please give more details on what you really want to do What is the scenario you are looking for Thanks,   Ayman Shoukry   VC++ Team I believe you can use multiple forms in such case. For example:  1) Start a default win form application ...Show All

  • KlausHolster Using a dropdown combo list to determine what GDI+ draws

    Hi, I am looking for help with some code in vc++ to clear the screen and re-draw onto the MFC application depending on what has been selected from a dropdown list. Can someone help with this Thanks in advance, Steve. Moving thread to C++ forums. I think you'll need to provide more info before you'll get an useful answers. Hi Jim, i guess you need something like this: //depending on com ...Show All

  • niversen Help needed with "error C2784"

    . At the top, add: #include <iostream> #include <string> using namespace std; I got the same error, and it works for me after adding the #include.  I am not sure why the rest of the code compiles without #include<stream>. Brian Could you please report the bug you mentioned to the product feedback at http://lab.msdn.microsoft.com/productfeedba ...Show All

  • markov TrackBar is displayed incorrectly inside ToolStripControlHost.

    Create a win form project Add a ToolStrip (toolStrip1) to Form1 Add the following code to InitializeComponent()     ToolStripControlHost^ ts = gcnew ToolStripControlHost( gcnew TrackBar);     ts->AutoSize = false ;     ts->Size = System::Drawing::Size(100, 20);     toolStrip1->Items->Add(ts); Run the App. Why does the TrackBar appear in the wrong place initially (seems ...Show All

  • Tayo fatal error LNK1104: cannot open file 'LIBC.lib'

    I'm trying to compile a C source code project with Visual Studio 2005.  I'm linking in 2 libraries that were built using Visual Studio 2003.  When I build my project, I get 1 error: fatal error LNK1104: cannot open file 'LIBC.lib' I know libc.lib is not included with Visual Studio 2005.  How can I overcome this problem Thanks, Mike Following the idea of Borislav (no need of libc), in the proj ...Show All

  • Stuart Ross How to build unmanaged windows forms?

    Hii.. i am new in c++, i have learned c# and vb .net but i want to have unmanaged exe so that can run at any machine without the .net framework.. to build an unmanaged console using c++ is easy but now i want an easy way to build unmanaged exe in c++ with easy way to design windows forms.. i knew that i can select a windows application from .net category in c++ .net but the output will also be managed .. so if i changed the unmanaged extensions ...Show All

  • _RK_ C DLL using VS2005

    Is there a example code for writing C DLL using VS2005. -mic Yes, the application wizards should help you with that. Select "File > New > Project" to launch the application wizards dialog box. Select "Visual C++ > Win32 > Win32 Project" and select "DLL" as the type for Win32 DLLs. Select "Visual C++ > MFC > MFC DLL" for MFC DLLs. Thanks. Take a look at the following links: general dlls: http://msdn2.microso ...Show All

  • Viendin Can't get progress bar to update

    Hi there, In an application I developed there is a rather complicated calculation using "for…loop" of 20000, which may take a few hours, and I added a progress bar on the status bar. Everything is fine except the progress bar will stop updating once I click anything else, or moving the window itself. I know that’s because the display of my application is not updated, but I don’t know how to tell Windows to update my applic ...Show All

  • Brad Bass Newbie: Can't use WinAPI because included twice

    Sorry for this lame question, but I've spent hours trying to solve this ridiculous problem. I'm trying to use the Windows API GetGUIThreadInfo, but because (I believe) it is declared twice (in winable.h and winuser.h, which I believe are implicitly included) I cannot use it. I get an identifier not found error. What do I do so I can use GetGUIThreadInfo I haven't used C++ for a long time, and I'm not sure if I ever encountered this proble ...Show All

  • Konstantin E. Gonsovsky ATLComTime.h and alignment

    Hello! I have the following problem: ATLComTime.h file breaks an alignment somehow. Steps to reproduce: Create an EMPTY Win32 Console project in Visual C++ 2003/2005, without precompiled headers. Add new .cpp file with the following code: #include <ATLComTime.h> #include <comdef.h> #include <activeds.h> int main() { // Compile time assert: fails to compile if alignment of ADSVALUE struct differs from 8 ...Show All

  • d_godwin XML Comments generated... Now What?

    I have turned on "Generate XML Documentation Files" in the C/C++->Output and I am getting the appropriate xml files in my output folder. Unfortunately I can't figure out what to do with them now. I have read that IntelliSense can make sense of them and this is all fine and good but what I really want to do is process them to generate a final document say like what doxygen produces or what the old VS 2003 "Build Comment Web P ...Show All

  • Jack Murry Using old MFC dll with CString in a VC++ 2005 application

    I have a MFC extension DLL that is compiled with VC++ 6.0 using the Visual Studio 6.0 IDE. I want to use it in a class library created with Visual C++ 2005. I use the .lib and .h files and access the MFC DLL. Every thing is OK until I call a method of a class defined in it that has a CString parameter. Then compilation succeeds but linking fails saying that it can not find that method. If I compile the source code for the MFC dll with the VC ...Show All

  • like .net how can I destory or exit this window of CFormView by a enevt handler in this class?

    I built a MDI application and the view is  CFormView.In the interface of this  CFormView,how can I destory  or exit this window of CFormView by a enevt handler in this class   Thank you very much for your answer! To destroy a view you should destroy the frame window it belongs to. If you want the user to be asked about saving changes use GetParentFrame()->SendMessage(WM_CLOSE); To close the frame wit ...Show All

474849505152535455565758596061626364

©2008 Software Development Network

powered by phorum