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

Software Development Network >> Visual C++

Visual C++

New Question

Please HElp With LPCWSTR
Can't find MFC80ud.dll error
Needed information on size_t datatype
Re-engineering
Failed to connect to remote database server from service
VC++ 2005: Release Version crashes
Another example of my problem with structs...
Thread Synchronization
Troubleshooting name mangling issues
why the compiler can't find the headers

Top Answerers

NFox
Jose A.Aznar
the_apache
Miha Stajdohar
JZINK123
Maruthi Ravuri
Eckard Buchner
bluefish
U3Bunji
CrissCross
JDOM
Only Title

Answer Questions

  • Alexander Pajer run time errors!

    Why am I getting these errers at run time ////////////////////////// Debug Assertion Failed! File: dbgdel.cpp . . Expressiong: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) ////////////////////////// Debug Assertion Failed! File: dbgheap.c . . Expressiong: _CrtIsValidHeapPointer(pUserData) ///////////////////////////// Debug Assertion Failed! File: dbgheap.c . . Expressiong: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Is there someth ...Show All

  • Sitanshu Thread-Safe increment

    Hi Is it thread-safe to increment a unsigned int like: static unsigned int c_unMyId = 0; unsigned int GetId() { return c_unMyId++; } or do I have to implement all the mutex stuff around it Regards Thomas Look at InterLockedIncrement: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/interlockedincrement.asp Read this for more Infos http://msdn.microsoft.com/library/default.asp url ...Show All

  • D. Roman Question about C++ char Pointer

      When I use VC++ 6.0(with SP5.0) like this:   char temp[2];   memset(temp,0,sizeof(temp));   strcpy(temp,"This is a test\0");   MessageBox(0,temp,temp,MB_OK);   The result in temp[2] is "This is a test".There is only two bytes of memory,why can copy more than 2 bytes char Internally, code and data are in separate memory location. If your application is as t ...Show All

  • Chrisjwood Converting Entered TEXT into integer

      My only apology is that I am a long time C programmer and I want to manipulate things directly. Now that said, someone please direct me in the correct way to analyze a TEXT string in visual C++.  Basically I want to read a string from a user enterable text window convert it into an integer and check it for proper range and send it to an embedded system in raw 16 bit form. My difficulty appears to be that there is no way to go dire ...Show All

  • gd52 R6034 - attempt to load C runtime library without using manifest.

    I've got a 32bit C++/MFC application that gets the R6034 error on startup.  Seems odd as the application does have a manifest.  And another application that I build the same way starts fine. If I compile the applicaton 64bit, it fails with "Unable to start program..." Are there any ways to debug manifest/dependency problems Ernie: Thanks for the details on your observations; we'll check the mani ...Show All

  • cdonner Initializing statics in native library

    Hello. We have a native C++ .lib that we have created that uses a const string in it. The string is initialized to "". We have successfully linked this native library to a managed Windows C++ Forms project and have code in the form to instantiate one of the objects defined in the native library. However, when the Forms application starts, it attempts to instantiate the const string in the native library and a _CrtIsValidHeapPoint ...Show All

  • khan121 Visual C++ 2003 Standard -> how to upgrade

    Hey, I'm really eger to buy Visual 2005. I'm using Standard version now and I want to ask which version should I buy to have the same features I'm afraid that there will be no Visual C++ 2005 Stardard for 150$. Do I have to choose between Visual C++ Express and Visual Studio Standard(including all the languages...) Yes: if you are upgrading from Visual C++ Standard then the choices are either Visual C++ Express Edition, which unlike the ...Show All

  • ytandeta link-error with VC8.0

    BeeThreadGroupStatic.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: __thiscall std::_Vector_const_iterato r<void *,class std::allocator<void *> >::_Vector_const_iterator<void *,class std ::allocator<void *> >(void * *,class std::_Container_base const *)" ( 0 $_Vecto r_const_iterator@PAXV$allocator@PAX@std@@@std@@QAE@PAPAXPBV_Container_base@1@@Z ) h ...Show All

  • Jaans Unicode CFileDialog in MBCS project

    Hello to all, I've found a problem and have no ideas how to sove it. The situation is the following: There is huge project, that was and is developing using MBCS encoding option. Setting option into Unicode takes approximately 5K errors and warnings. Some time ago it it bacame a task to have an ability to select unicode-named files. The projects uses standart CFileDialog and as it is compiled under MBCS, such a class uses OPENFILENAMEA ...Show All

  • Nisheeth Tak File locked by unknown module/thread

    Greetings, I have a problem regarding end of program clean up. My Microsoft C++ project sometimes fails to clean up temporary files even it has all its file handles closed. The project includes portions (especially some COM Objects) written with Borland C++ Builder, which makes debugging and finding the locker thread very difficult. Is there a way enumerate all open file handles and find out which are related to a specific file Thanks i ...Show All

  • Tithtlhm CComVariant LPSTR and LPOLESTR

    I'm porting some code from VC++ 2003 to VC++ 2005 and started receiving a very strange linker error: unresolved external symbol "class ATL::CTraceCategory ATL::atlTraceException" ( atlTraceException@ATL@@3VCTraceCategory@1@A) unresolved external symbol "public: static class ATL::CTrace ATL::CTrace::s_trace" ( s_trace@CTrace@ATL@@2V12@A) unresolved external symbol _AtlTraceVA After commenting out everything until I hit the "bad" code, I f ...Show All

  • Jcarant Project Property Sheet User-defined macros evaluation order

    I am using project property sheet to store common settings for all of our projects. Include and library paths are among these settings. One problem I encountered is not all of our project files are at the directory level. This makes hard-coded relative path in the property sheets unacceptable since the relative paths will map to different directories in different projects. Once solution I have come up with is to use user-defined macros. The ide ...Show All

  • Saravana kumar Linker error when calling legacy DLL methods with CString arguments

    I am developing a C++ application in Visual Studio 2005 that needs to call methods in a legacy MFC DLL that exports a class with CString arguments in its public methods. The legacy DLL is compiled in Visual Studio 6 and I don't have the source files for it so I have to use it as it is. My problem is that I cannot link with the DLL. When I call one of the methods having a CString argument I get this linker error: error LNK2019: unresolved e ...Show All

  • hlubertus GetCurrentDirectory

    The function GetCurrentDirectory is not working correctly. I get only the buffer length, but I don't get the current directory (it returns only NULL). #include "stdafx.h" #include <windows.h> #include <winbase.h> #include <stdio.h> int main( ) { DWORD i , nBufferLength = 0 ; LPTSTR lpBuffer = NULL ; i = GetCurrentDirectory(nBufferLength , lpBuffer) ; wprintf(L& ...Show All

  • John280459 C++.NET to C++ 2005 Beta2, don't work!

    Hi i'm an italian developer and until now i used VisualC++.Net 2003 I 'm trying Visual Studio 2005 Beta 2 and converting my solution there are errors all around! How can i convert a Sln in VS 2005 what should i do Errors like : c:\programmi\microsoft visual studio 8\vc\include\atlcomcli.h(300) : error C2299: 'ATL::CComPtr<T>::operator =' : behavior change: an explicit specialization cannot be a copy constructor or copy assignment operator ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum