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

Software Development Network >> Visual C++

Visual C++

New Question

XML Documentation Comments
Newbie C# -> managed C++ question (maybe just C++ ignorance!)
Working with bytes and bits
__CONTEXT from winnt.h in x64
VS2005 C++ project: linkage errors under MultiThreaded-DLL runtime lib', but compiles fine under Multithreaded-DEBUG dll ?!?
Can you give me an example of declare and allocting arrays (double type)
2005 problem: LNK4086 error after creating MFC ActiveX control executable project
Beta 2 error, Project : error PRJ0003 : Error spawning 'cmd.exe'.
Relative paths in additional include directories
How do I mix buffer length macros?

Top Answerers

budzombie
techiedella
Shining Arcanine
coralbird
faktujaa
Siva.M
Mekk Elek
Patrick Sasky
Borook
Aun
Linux Device Drivers, 2nd Edition
Only Title

Answer Questions

  • Ganesan R I can't mix VC & GCC

    I compile a 'cpp' file with the g++ (or gcc with -x c++ option) to obtain a .obj file, then I compile the remaining with VC and I have this linking error: main.obj : error LNK2019: simbolo externo "void __cdecl fmulGCC(float *,float *)" ( fmulGCC@@YAXPAM0@Z) sin resolver al que se hace referencia en la funcion _main fmul_GCC.obj : error LNK2019: simbolo externo __ZdlPv sin resolver al que se hace referencia en la funcion __Z7fmulGCCPfS_ fmul_GC ...Show All

  • Corgalore _tcscpy_s corrupts the heap

    I have the code below. If I compile it as is it works fine. If I change to using _tcscpy_s the heap is corrupted when I copy the string. Can anyone spot an obvious error here Thanks Mark void CRokuPage::AddDeviceToObject(HKEY hKey, LPCTSTR lpszClsid) { //Add the device into the new clsid devices key if (_tcslen(lpszClsid)>0) { HKEY hKeyDevice; if (ERROR_SUCCESS == RegCreateKeyEx(hKey, m_szDeviceUDN.Mid(5), 0,NULL, RE ...Show All

  • wy125 System Wide Hooks

    When using system wide hooks, is it necessery to load the dll from the application with LoadLibrary (to load the whole dll) Or can you link the dll library to the application and use __declspec(dllimport) to import the functions from the dll How you load the DLL inside your program doesn't make a differnece. The DLL is loaded by the system hook handlers into other processes. It makes no difference if ...Show All

  • skyhawkap CDockBar::Insert

    There has been a huge bug in this MFC function for the last decade.  It shows up in applications that have many toolbars when you have some toolbars hidden and multiple rows of toolbars.  It mis-calculates the number of toolbars rows and drops you toolbar in some row below where you specify.  It's hugely annoying to the point of be unusable. It would be soooo easy to fix and it's very difficult to work around. What is it goin ...Show All

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

  • Grady McGhee v8 compiler bug??

    hi i get an access violation under heavy load with a std::vector<> of pointers to derived classes to a large base class with lots (30) of virtual functions. this code works fine under v7 (has been in the field forever). the code is a large MFC app (minimual threading though does use the Multi threaded lib due some occasion brief threads being run). i've verified no mem leakage via the debugger. crashes at same point each time ...Show All

  • siraj_khobar Info about some types

    What these types below represent (what kind of data they store ) and how can I use them (declaration and assign of data) - LPCSTR - LPCTSTR -LPCWSTR And how can I show a MessageBox dialog in a MFC Application And the last one, how can I use a DLL also created in C++ in a C++ Visual Application Can this application be made in C++ .Net, or it must be MFC like the DLL Thanks. Not sure about the MFC specific questions but t ...Show All

  • farhad aslam '0' character oddity

    I'm working on a Poker game for a class project and I've come across an unexpected behavior of the '0' character. One I know it might be better to use '1' but, I haven't, up to this point anyway. I'm just wonder if anyone could explain to me why this code is actually working. It confounds me. Is it a bug I'm trying to sort a hand of Card objects, implemented as such: struct Hand { const static int COUNT = 5; Cards cards[COUNT]; ... } ...Show All

  • J.W. ComboBox AddString()

    I used the vc++ resource manager to create a combo box on the program's main form. I would like to use AddString() at run time to fill the combo box with a list of valid selections. But, the AddString() function requires a (CComboBox*). The resource manager created the combo box, but never told me the name of the variable, only the name of the ID (in this case, the ID is IDC_VAR_NAME). How do you make the connection from ID to (CComboBox*) ...Show All

  • depp File Open/Save As dialog box

    GetOpenFileName uses a File Open/Save As dialog box that is subtly different from the one used by Visual Studio, which has "FTP Locations".  Is it possible to use the bosa_sdm_Mso96 dialog box in applications built with Visual Studio Thanks, Keith MacDonald Would it be remotely possible to get access to the Office version of the file dialog By the way, I notice that it is not used in VS 2005! I have been presented with a s ...Show All

  • gardenspider Problem in setting PATH,LIB and INCLUDE environment variables through script for 32 and 64 bit plateforms.

    Hi, I'm using Visual Studio 2005 Professional Edition. I have a script file (batch file) to launch the devenv by using /useenv. Through this script some environment variable are being set for both 32 and 64 bit plateforms. if, I need different values for both 32 and 64 plateforms,I use two variables in the script e.g. A32 and A64 otherwise only one environment variable. This is required,  So, that I can c ...Show All

  • Vikram Sachdeva How to get rid of warning LNK4086?

    Dear developers: We are developing an agent which runs in embeded system. We compile the project in Windows, using MS compiler, then modify the header of generated binaries of Apps and DLLs, to comply with the executable file format spec in our embeded system. The problem is, we use __cdecl for all functions, include exported DLL entries, and there are warning LNK4086 when compiling the project in Windows. The warning itself is proper, and harml ...Show All

  • Can1 MSVCR80.DLL Unable to locate component

    Hi, I am trying to use Visual C++ 2005 to build the project which was create by Visual C++ 2003. When I run the code, an error message pops up. "MSVCR80.DLL - Unable to locate component" who knows how can I fix this problem Thanks a lot! Yang Thanks for your quick response. I installed VC++ 2005 and VC++ 2003 in the same machine. You mean I need to copy the VC8 DLLs to the debug folder Thanks! Sure! Can I just p ...Show All

  • Windiestpeak xp style

    how can i add the xp style to my mprogram in mfc c++ Perhaps it would be better if you bookmarked http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144703&SiteID=1 instead . mido1971 wrote: how can i add the xp style to my mprogram in mfc c++ You'll need to embed a manifest file. See http://www.codeproject.com/cpp/xpstylemfc.asp OShah wrote: Embedding a manifest is performed slightly differently ...Show All

  • Pau Wilson Class designer

    Hey, Do you know of the class designer for c++ is included in the final version of Visual C++ 2005 Or will it come with an update, or with a next version of VS Martin Richter wrote: AFAIK the class designer ist not and will not be part of 2005! I am not sure but we can expect it in Orcas. Thats a pity. Do you know of there are other programs to design classes for c++ (no too expensive) ...Show All

697071727374757677787980818283848586

©2008 Software Development Network

powered by phorum