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

Software Development Network >> Visual C++

Visual C++

New Question

Exception within ATL when creating dialog
Manifest missing info about msvcr80.dll (NET 7.1 -> 8)
MFC extension DLL project with /clr option causes link error on _DllMain
help me again please with the error code C2659
Help ID generation not available for ActiveX Control
error when linking a Fortran library to c++ code in VC8 (.NET2005)
CString char/wchar_t conflict
Fatal error C1382 - AssemblyInfo.cpp needs recompile
PurifyPlus reports FMM in STL of VC++ 7.1
Printed text is overlapping!

Top Answerers

d.patrick
davherb
mamad5
Lori Lamkin
Elfeffe
goldsteinm
MmmBeer
Rajeshrv
Eric Weiss
xtega
Topix: Johnny Cash
Only Title

Answer Questions

  • ags2886 Dispose in C++/CLI

    I know that there is a lot of articles about this, but it is still not 100% clear. Suppose that I have the following classes: Client (C#, uses Server class) Server (C++/CLI) Helper (C++/CLI, reference of this class is kept in the Server class). Running FxCop on my project, I get the following message about Helper instance: http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.35&url=/Usage/DisposableFieldsShouldBeDisposed.html ...Show All

  • Olle SW Has casting to int from double changed completely in VS2005?

    Has casting to int from double changed completely in VS2005 Numbers that are too big are always -1 now. Which has caused me much pain to track down and is not compatible with code we currently use. Here is an example, it used to be that if you cast a big number to an int, you would some value that was related to it in some way: (int)1.0957837e+011 => -2090779696 But now it is always -1 if the value is out of the range of the int: (int)1. ...Show All

  • slederer How to create a .doc file ?

    Hi, I use VS2005 ( VC++ ), How can I create an empty .doc file or open a .doc file and append a few lines of plain text or a hyper link, etc, to the file and the document created, processed by this method will be compatible to which version of MS Word or WordPad Thanks. Hi God_Mark: thanks for your reply. but I think I need to make my question more clear. I want to do my work on "file" basi ...Show All

  • Martin Richter Buliding BaseClasses in .net2003

    How can I build the base Class Library. I’m a C++ newbie, and I don’t know how to build it in Visual C++ of the .NET 2003. Thanks a lot!  I have to build BaseClasses to generate "Strmbase.lib" and "Strmbasd.lib". In the BaseClasses folder I have *.cpp and *.h files and a makefile. I don’t know how to build the project using "makefile"   Thanks Just bui ...Show All

  • Alex Duncan File open errors returned when trying to open a file for appending

    I am trying to open a file for appending. ie. if the file exists, open it for appending, if not, create it. I am getting back a NULL pointer, and do not know why. Here is my code excerpt. It is a C file. FILE *pFile; char *cFileName; cFileName=argv[++i]; pFile = fopen(cFileName,"a"); cFileName has a valid filename ('apm.dbg'), and I have full write permissions in the directory. I can step into fopen and when the file is opened, ...Show All

  • vlad icrm MFC newbee problems to create worker thread

    I am new to MFC. I am just trying understand threading. I tried to create a worker thread, and I get a linker error when I compile the code. in CMFCThreadingDlg.cpp I put... void CMFCThreadingDlg::OnBnClickedBtnStart() { HANDLE hThread; hThread = AfxBeginThread(foo, this ); } static UINT foo(LPVOID lParam) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); return 0; } I have put the foo prototype on ...Show All

  • karen_tgha dialogs appearing behind the main window

    hey guys, i have a simple problem with my MFC app. the messagebox's and color dialod's r appearing behind the main window. maybe is it because i have directx rendering a static text control in the main window so it always stays in focus or soemthing i dont know here is my code for displaying for displaying a color dialog: CColorDialog cd = CColorDialog(0, CC_ANYCOLOR); cd.DoModal(); when i press the alt button the color dialog appears. is ther ...Show All

  • netalexx How to use function AfxCheckMemory()

    Hi, A few days ago I posted a message about problems with my c++ project: it gave different results depending on the location from which it was run. So far, we haven't managed to solve the problem; however, we think there might be some memory problems. According to the help index of c++ (version .NET 2003), I can use AfxCheckMemory() to check the code for memory overwriting during runtime. When typing this text in the code, it is indeed re ...Show All

  • hopark16 Using ROT in VC++

    I have a standard 3-tier system programed by VC++, in which there is a Application Server running as Windows Service, and Windows-based desktop application as clients. Client application interfaces with the server via DCOM (App Server runs in a server machine and clients run in Windows 2000/XP desktops). The reason I choose to run the AppServer as Windows service is that the server caches a lot of data, and loading data from DB needs some time, ...Show All

  • CJDuva unable to edit command line for a project

    Trying to compile and execute a C++ project in VS2005 I ran into a linker problem. After some investigation it turned out that the calling convention was not what it was supposed to be for the functions used in the program. I changed the option for the calling convention from /Gd to /Gz. I needed __stdcall to be made. After that I got this error message: Error 1 Command line error D8016 : '/clr:pure' and '/Gz' command-line options are ...Show All

  • kalpa How do I set an initial dock bar state?

    I have a MFC application that uses docking control bars. It looks great once you postion all the bars and use the SaveBarState() and LoadBarState() functions. However, when the app is first run on a PC (or if I manually delete the saved registry info), the bars come up docked in undesired positions. My question is thus; Is there a way to control the default control bar docking such that I can program in a reasonable default state that can the ...Show All

  • Steve at Eglin Two questions - finding modified properties pages easily and highlighting file in solutions tab.

    I'm new to Visual Studio, and we're using 2005 mostly because we need x64 builds.  We have several projects in our solution, and when working on these, changed properties pages for projects and some files.  Now I'm trying to configure a release build, but the properties pages we added (e.g. adding an include search path) should have been put in 'all configurations' page, not the 'debug' page.  I didn't know any better at the time ...Show All

  • chintanpatani Ref Class Question

    Hello, I have a question regarding the way intellisense works with ref classes. I have a class like so: public ref class Man abstract sealed     {         public:                public ref class Size             {  &nb ...Show All

  • THE RAZI VC2005 Beta2 Crashes

    Hello, I'm running beta 2 on a W2k SP6 machine. I have a large solution converted from VS2003 that is all native C++ code. The development environment is having persistent crashes. A crash happens every minute or so and I get a group of dialog boxes that say something to the effect "unknown software exception 0xc000000d at location 0x7c3b3984, ok to terminate, cancel to debug"). I can choose 'ok' and continue running the program(!). I usually ...Show All

  • ms44cn ???

    Hellow! I create a Active X control and inside it a use the CRichEditCtrl. The problem is when inserting the active x control inside a web page. If i deselec the CRichEditCtrl by clicking a button and reselect it again the enter and backspace button stop functioning. Thanks in advanced for taking time to look at my problem . PreTranslateMessage only works when the message loop is executed ina MFC program ...Show All

8485868788899091929394959697989901

©2008 Software Development Network

powered by phorum