Software Development Network Logo
  • Windows Vista
  • .NET Development
  • Game Technologies
  • Visual C#
  • SQL Server
  • Visual FoxPro
  • Visual C++
  • Smart Devicet
  • Audio and Video
  • Microsoft ISV
  • Windows Forms
  • IE Development
  • Visual Basic
  • Visual Studio
  • VS Team System

Software Development Network >> Visual C++

Visual C++

New Question

What does this icon mean?
Accessing ref class when operator -> is redefined
how to traverse to a paired brace in MSVC IDE?
Win32 application project not available
Uninstaller to delete itself when done
Out of memory - CompatibleBitMap
strtol strangeness?
Error missing runtime function in MSVCR80D.dll
Can a reference/managed class contain native/non-managed members?
How to set Multithreaded DLL compiler option on compile time ?

Top Answerers

volksisme
cocgis
Rachad
Javahar
Bartosz
omniscientist
TomsiKa
Marauderz
L123
mehoss
sitemap
Only Title

Answer Questions

  • alexia_net Elevating a User application to write to a named pipe created by a service running in LocalSystem

    I have a named pipe that is used between a service running as LocalSystem and a client running in the User group. If the service passes a NULL to CreateNamedPipe the EVERYONE group only gets GENERIC_READ, hence the CreateFile for the pipe in the User application returns an access denied error when it requests GENERIC_READ | GENERIC_WRITE. How do I give the user application write capabilites My thinking is to build a SECURITY_ATTRIBUTES with EVERYONE set for GENERIC_READ/WRITE and pass it to CreateNamedPipe. Is this correct -- The personal opinion of Gary G. Little From the documentation of SetSecurityDescriporDacl you can learn Quote: There is an important difference between an empty and a none ...Show All

  • Exploder Comiple Options?

    Can Some one give a discription or point to a artical that discribes about compile options normally I just use build(F6) and all works, but it won't anymore. I have a C++.NET project and I am trying to import a dll in it using syntex #using "mydll.dll" however I get an error that I need to complie my C++ Main.cpp file with comiple option /clr. but when i right click on main.cpp and edit the property to comiple with /clr option i get an error /RTC1 and /clr are incompatible. I disable /RTC1 and i get error for /GM and it goes on without ending...... wut do i need to know to figure out how i compile this any useful links thx Sameep Moved to Visual C++ General. There is a reply a ...Show All

  • J. Clark size_t: redefinition; different basic types

    Hi, I'm trying to recompile an application that runs on 32-bit Windows to 64-bit Windows. The system is a Xeon processor running Windows 2003 Server and Visual Studio 2005 Professional Edition (that comes with MSDN library). For the visual studio solution, I selected x64 as my platform. However, when I compiled the code, I got the following error message, C:\Program Files\Microsoft Platform SDK\Include\crt\stdio.h(68) : error C2371: ' size_t' : redefinition; different basic types test.c : see declaration of 'size_t' I gather from other posts that I might have mix 32-bits tools. How do I check if I'm using 32-bits tools instead of 64-bits Thanks! how do I make sure I'm using 64-bit compiler instead o ...Show All

  • Colin Bowern LNK1104: cannot open file 'gdi32lib'

    Using "Build" menu on Visual c++ Express Edition of my first sample source I encountered the following error: LINK : fatal error LNK1104: cannot open file 'gd132.lib' How do I fix it Thanks, Ed. Hello, gdi32.lib is a library from the Windows SDK. As far as I know the Visual C++ Express Edition doesn't include the Windows SDK. You will have to download it and install it separately. Thanks, Alan Right. Installing the PSDK and setting up the build environment should work. There's detailed instructions at http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ Mark Have you set up your build environment pat ...Show All

  • Wayne.C In Desperate need - Source code from 'obj'???

    Hello guys, I had "quite" a big misfortune recently. My backup extern harddisk stopped working right after I reinstalled my laptop. So I lost all data. Disk is severaly damaged and it would cost a lot to get data. However I'm trying to get data from deleted+formatted laptop. I've searched through almost all files I can get back, but only files regarding my GAME PROJECT(in VS C++) are some "obj" files, VS project, ... some bits here and there, but no source code. I do have some backup of my project but that is 2 months old and I've done quite a lot since then. I know I will have to rewrite the code, but isn't there any way to get source code from "obj" files, so I could get at least some code back Or t ...Show All

  • _CN_ Error in loading DLL with ActiveX object

    Hello, I have an ActiveX object, created with ATL, which generates a "Error in loading DLL" message when I try to call one of its method in jscript. E.g. var XSIDial = new ActiveXObject("XSIDial.XSIDialog"); TestCombo = new Array("one", "two", "three"); UseAnim = XSIDial.Combo( "Test for Combo", TestCombo ); I tried in vbscript and it gives the same error. DllGetClassObject gets called and returns the right ActiveX object. The object is compiled with visual 2005 but it used to work with visual 2003. Do you have any idea how I can debug that thanks -mab Is that error on your developer machine or a client If client, did ...Show All

  • Helen Cool Granny A code which shows the coordinates were i click on the window doesnt work

    Hi, i have write this code for a win32 application to show a message box with the coordinates where i clik on the window. but nothing happens... case WM_LBUTTONDOWN: { int lParam; int x = LOWORD(lParam); int y = HIWORD(lParam); std::ostringstream oss; oss << x << "," << y; std::string coordString = oss.str(); ::MessageBox(NULL, (oss.str()).c_str(), "Your title", MB_OK); } break; Hi, are you sure your WM_LBUTTONDOWN block is executed is that block in you WndProc Are you clicking in the right window -- SvenC Hello For general WIN32 programming issues, please use the newsgroups at: http://msdn.microsoft.c ...Show All

  • Merovingio Language "C"

    hello there to all programming people. i no d@t is is not the propper place 2 put it, but are there any apps d@t still us the "C" language as its base form if dere iz can sum1 plz tell me d@t wood b much appreciated and if there is a spot on dis forum where dis post cood be moved d@t'd b awsome 2. Bjarne Stroustrup designed C++; you should look at his FAQs. He has a few relevant answers. Oooops, I meant to post that someplace else, but it is still relevant here too. Win32 is Windows. The 32 indicates 32-bit Windows, to differentiate from 16-bit Windows. Of course, 16-bit Windows is no longer used by most everyone. Now that there is a 64-bit Windows, Win32 is misleading, since the term is often used in contexts t ...Show All

  • Daticus Error message PSAPI.DLL

    I am getting a error pop up saying Get Process Image file name w. could not be located in the dynamic link library psapi.dll What should I do to fix this. April i need help with this pop up thank up I got this same error after installing IE7 BETA, so I did a search of C:\ and found 7 results, 4 in Windows folder and 3 in C:\Program Files. The psapi.dll files in C:\Program Files were an earlier version (4.0) than the files in C:\Windows\System32 (5.1). So I Copy/ Paste the newer version over the old. No more error! April, SmartBridge is known to cause this problem. I would rename the copies of PSAPI.DLL in both the Verizon online help as well as Smart ...Show All

  • Allan-Nielsen Hashtable in C++

    Hi, I need to use a hashtable in C++. Apparently there isn't one, so I tried to use the hashtable in the System.Collections. After enabling the /clr in the solution explorer I can use a hashtable within functions, but not globably, which is my need. If i try to declare the hastable globaly it gives me this error: Error 1 error C3145: 'hs' : global or static variable may not have managed type 'System::Collections::Hashtable' Anyone know a way around this or of a different hashtable class that I can use thanks, that works great! No hash table There is the CMap template from the MFC and stdex::hash_map/hash_set in the STL! There's also unordered ...Show All

  • Pi314159 Problem with VSc++2005. Cannot create project

    I installed visual studio 2005 (standard edition) a few months ago and was very upset to find then I could not succussfully create any c++ project. (I can though create C#, VB etc projects). I thought the install process must have gone wrong so I tried uninstalling/repairing/reinstalling system restore everything etc etc etc etc etc. Lucky I have a second computer, I installed VS2005 and could create c++ projects on that computer perfectly. I think the reason that VS2005 dosent work properly on my first pc is because I used to have the Express version installed on that pc. I uninstalled the express edition months before i installed the standard edition, but after an uninstall some components seam to be left behind. And I think it ...Show All

  • Kardi Function not returning for long time....

    In my VC++ application I am using some third party library. When I am calling a function from that library some time (not always) it is taking long time to return e.g. 3 to 5 hours and my application is blocking at that point. If I want to wait only for 15 minutes for that function to return otherwise proceed further. How can I archive this Thanks, Amol Since it is an third party library it's hard to predict the behavior. if it is a commercial product, they definitely had some quality and performance test. Make sure that it's not your system's fault or some other libraries and application's blocking that library or you in calling that function. You can use some profilers to know where you got the catch, and how ...Show All

  • Ranier Porting DLL from VS6 to VS.2005 no longr loads (Manifest problem?)

    I'm relatively new to VS.2005. We've been developing and deploying our DLL using VS6 and the DDK (depending on the partner) since I can remember. I installed VS.2005 Pro (Version 8.0.50727.42), tried upgrading my projects (one is the DLL itself, the other is a stand-alone test harness that loads it and tests it by passing it various parameters). So, of course, I'm not positive the projects have all the settings correct. With that caveat, though, I'll explain what I've tried. The test app calls LoadLibrary() with the full path to the dll, and the call fails with error code 14001. After some searches online, several people appeared able to solve this problem by somehow correcting or eliminating their manifests. That led to me to learn ...Show All

  • renskemo Help! problem with CFile class

    This is code void func(CString string) { pFile.Open( m_FilePath, CFile::modeWrite | CFile::modeCreate); pFile.Seek( 0, CFile::end ); if ( pFile.GetLength() > (m_iFileSize) * 1024 * 1024 )//when file have some size { pFile.Close(); //close a file DeleteFile( m_FilePath + CString(".old") );//delete old file MoveFile( m_FilePath, m_FilePath + CString(".old"));//move information from main file to old if(!pFile.Open( m_ FilePath, CFile::modeWrite | CFile::modeCreate))return;//open file again and write from begin } //here i write some information in file pFile.Close();//close file //end function } in this code MSVS always thow CFileExeption error i can`t understa ...Show All

  • Richard_Wolf Object code format

    Can anyone tell me what is the format of the object code generated by the old 16 bit compilers such as the VC++ 1.52 I believe the 32 bit versions generate the object files according to the COFF format. Is there any way of generating an OMF file using either the object code generated by the VC++ 1.52 compiler or the EXE generated by the linker he he, I totally agree but then I have to work onthis legacy system. Any form of help will be appreciated, thank you. Forum visitors tend to be pretty harsh about VC6 questions on this forum. VC1.52 trumps that by, oh, a bonfire and a 6-pack 10 years ago... ...Show All

828384858687888990919293949596979899

©2008 Software Development Network

powered by phorum