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

Software Development Network >> Visual C++

Visual C++

New Question

Picture editing.
hi i cant debug my code ?
debug help
Memory leak in the STL list class
File rename in c++ language
template instantiation linker problems
Please HELP~~~fatal error C1083
PostMessage & ON_MESSAGE(...)
Root HKEY_CLASSES_ROOT permissions destroyed.
Where is the rest of headers and libraries?

Top Answerers

didierkocurek
sko
kamalindia
Tilak
levik
Yves Hanoulle
xied75
steedm
Buk usu
Andrea Ramacciotti
Microsoft
Only Title

Answer Questions

  • Rubber _WIN64 error "No Target Architecture"

    Hi All,    Using _WIN64 as compilation flag for my x64 bit application on Visual Studio 2005 beta 2 it gives me a fatal error saying.. D:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(324) : error C23 71: 'size_t' : redefinition; different basic types         predefined C++ types (compiler internal)(19) : see declaration of 'size_ t' D:\Program Files\Microsoft Visual Studio 8\VC\ ...Show All

  • brettn WMI - Connect to remote computer

    Hi, I'm trying to get some information from a remote computer. I know the domain, computers' name, user name and password so I can connect to the remote computer. I am defined as an admisitrator and the user I'm trying to connect to is an administrator as well. The connection is O.K. (using ConnectServer() ,HRESULT=0) but when I'm trying to make a query (using ExecQuery() ) I get the next error: HRESULT = RPC_S_SEC_PKG_ERROR. When ...Show All

  • Andres Yepes C2825 error ?

    the following code will generate a C2825 error in VS2005Beta2 July: #include "stdafx.h" #include <vector> #include <iostream> int _tmain( int argc, _TCHAR* argv[]) {    int i = 3, j = 6;    std::swap< int >(i, j); //C2825    //but use std::swap<>  <i, j>; will be ok    return 0; }   I don't know why this ,  but who else can explain it to me many th ...Show All

  • pfitzsimons How to find the C++ source lines given a crash address?

    In VS2003 you used to be able to find source code lines from a crash address using the MAP file generated with /MAPINFO:LINES. In VS2005 this doesn't seem to be possible. I have found a handfull of references on the web that say that the source line can be found from the crash address using the exe and the pdb file, but I can't figure out how to do this in VS 2005. The code I'm wanting to debug is a wrapped unmanaged assembl ...Show All

  • miznig 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 Hello thanks for your anwser, I will try to get the librar ...Show All

  • AlvinTheUnready Initializing an array of pointers to functions

    I am writing a dialog based MFC appliation using Visual C++ 6.0. In my simplified test case, I added the following definitions to the header (TestDlg.h). typedef void FOO(); FOO show1{}; FOO show2{}; FOO show3{}; FOO *pfun[3]; At the end of the OnInitDialog() code (before return TRUE;), I attempted to initialize the array as follows: pfun[0] = show1; pfun[1] = show2; pfun[2] = show3; Each of these lines has compile error C2440: '=' : ...Show All

  • jaimemontoya AtlTraceVA

    I'm hitting a runtime error in my debug builds.  I've traced it down to AtlTraceVA (atldebugapi.cpp).  It looks like a buffer overflow.  Here's a code snipet void __cdecl AtlTraceVA(DWORD_PTR dwModule, const char *pszFileName, int nLine, DWORD_PTR dwCategory, UINT nLevel, const CHAR *pszFormat, va_list ptr) { ... static const int nCount = 1024; CHAR szBuf[nCount] = { '\0' }; ... } Shouldn't be CHAR szBuf[ ...Show All

  • KrishnaMohan how to restrict a process to have only one instance

    Dear all, I want a process to have only one instance to be in running state. I have tried findwindow method, but I need for console application also. Other than findWindow, is there any method to do this. Please reply. Thanks in advance, Raja Pratap K Correct. One solution is kernel objects. Kuphryn Create a named mutex See here for an exampl ...Show All

  • NewC# VC2005 %50 Slower then VC2003

    I just migrated a graphics application from VC2003 to VC2005.  After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations.  It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All

  • totoro_msdn Missing Class Designer for VS2005 C++/CLR projects

    I'm reviewing VS2005 right now to see how we can use the new tools that come with it.  However, I was not able to access the class Designer from a VC++ project.   I found it in VC#.  Where is it   Please don't tell me it is not availlable in C++! Stephane Guerin This is very sad.....  Why do we (the C++ programmer) have access to the new tools after everybody else   We'll have ...Show All

  • Stut Loading dll from another folder

    In my application, I need to use dll A that depends on another dll B. A.dll is in my application folder and B.dll is in a subfolder of the application folder. What can I do so that A.dll can load B.dll from its present location I can not change the location of these dlls or their source code - I can only change the code of the application. Any ideas Maybe you can work with runtime dynamic linking. LoadLi ...Show All

  • J Gilmore Problem including <windows.h>

    Hi there. I've got two systems - a desktop and a laptop, both running VC2003. I start a new Windows Form project on the laptop ,add a button and include a call to System::Windows::Forms::MessageBox::Show( S"hello" ); and then place #include <windows.h> at the top of the page, I get these errors: i:\temp\test34\Form1.h(86): error C2039: 'MessageBoxA' : is not a member of 'System::Windows::Forms' i:\temp\test34\Fo ...Show All

  • Gordon Glasgow How to get the size of a double char pointer?

    Basically, I want to get the size of a double char pointer, EG char **x; Not the elements of the individual arrays, but the actual number of elements inside the pointer. I don't want to use vectors or Strings either, I know how to do it that way, but it looks ugly. So if I could get some feedback on this, it would be appreciated. :-) If you’re allocating on the heap then _msize() might be quite useful for g ...Show All

  • KnowsEnuf2BDangrous 64-bit -Data Type conversion problem

    Hi, I have a code and build on VS2005. Set the properties Yes (/Wp64) in Detect 64-bit portabilty issue. How to resolve the following warning Following sample code are showing warning: 1. HFILE fileH=OpenFile( pFN, &of, OF_WRITE|OF_SHARE_DENY_NONE ); if ( fileH!=HFILE_ERROR ) { CloseHandle( (HANDLE) fileH ); }  //Complier warning for above code when build on VS2005 and enable Yes (/Wp64) ..\Utility.cpp(871) : warning C4312: 'type ...Show All

  • sqlplover how to save html file in VC++

    hi, i want to save a html file from my browser. i have created my own browser and want to save the html file.. i have used ACTIVE X controls to make my own web browser(same as IE).. it should be like that of SAVE AS option of IE.. plzzhelp.. hi, thanks for your reply.. suggest someother  way to save a web page .. plzz help hi, yes implemented this .. but the problem is th ...Show All

5678910111213141516171819202122

©2008 Software Development Network

powered by phorum