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

Software Development Network >> Visual C++

Visual C++

New Question

Tab is not working with my VC++ Dialog !
Another wrinkle....
difference between vs6.0 and vs2005
How to call unmanaged code from managed code?
C++/CLI language design questions
syntax error : missing ';' before '*' compile error using diffpack library with vsc++6.0
How to convert unmanaged Recordset20Ptr to managed IntPtr or to managed DataSet object
fatal error C1010: unexpected end of file while looking for precompiled header directive
Trouble compiling DSX9.0 Sample: CaptureSound
64-Bit Compile Error (language type must be specified)

Top Answerers

Punpromk
Pete Runcorn
Harini K P
madzip
Marie C
c_jensen
Sunderth_MS
coolash
freeskier89
zohar.amir
Inside
Only Title

Answer Questions

  • Clay Budin 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

  • Gaudos C++ Support Library in Visual C++ 2005 Beta 2 (Express edition)

    I have Visual C++ 2005 Beta 2 (Express edition) installed. In the help for VC++ I found a topic about the “C++ Support Library”. It requires some header files ( <msclr\lock.h> for example) from a folder named “msclr”. Unfortunately I cannot find those headers anywhere.   My question is: Is the “C++ Support Library” part of Express edition of VC++ 2005 Beta 2 This should be located at: <Ins ...Show All

  • Dominic Baines getting the file name from a OpenFileDialog

    Hello! I'm making a Windows Form Application, and I want to get a file path from a FileDialog. My problem is that I want to use ifstream and ofstream to manipulate the files, but the method FileName returns a String and I need a const char* or a const wchar_t* , and I don't know if it's possible to convert that String in a const char* or a const wchar_t* . Here is the code I have: ... OpenFileDialog dlg; dlg.Filter = "Documentos de texto (*.txt ...Show All

  • Jeremy Gauthier Visual C++ express beta 2: can't link std::runtime_error

    This simple example won't link - unresolved external symbols for std::runtime_error (build log follows example). Command line for build: /Od /I "C:\Program Files\Microsoft Platform SDK\Include" /I "C:\Program Files\Microsoft Platform SDK\Include\atl" /I "C:\Program Files\Microsoft Platform SDK\Include\crt" /I "C:\Program Files\Microsoft Platform SDK\Include\gl" /I "C:\Program Files\Microsoft Platform SDK\Include\mfc" /D "_MBCS" /Gm /EHsc /RTC1 ...Show All

  • fuzzylogin123 Help with Form application created by Visual Studio 2005!

    I have successfully compiled and tested a windows Form application that was created using Visual C++ 2005.  However, when I tried to run the same application on a different machine that does not have .Net framework it ask me to install it. My question is, is there any way I can somehow make the form application work on machines that does not have .Net installed   (for example is there some quick way to convert the form t ...Show All

  • bobk544 Intellisense Problem

    Hello, I have yet another problem which is that Intellisense stops working. When my script reachs a certain legnth it just won't work anymore. Now it sometimes even doesn't work when I start new applications. (I am using Visual Studio 2005 June CTP). With Thanks,                     Gal Beniamini. Hi, I am not that familiar with VS... I am ...Show All

  • tchen Resource editor bug?

    Hello everybody! This is my first post here (sorry for my english) I have resource file shared in more than one solution. I VC++6, and VS2003 there was no problem to edit this file in resource editor. In VS2005 I cannot save this file, and there is no Dialog Editor items in Toolbox also. Any ideas Marek Hello Brian, I also have the same problem in a C++ solution. The solution was migrated from VC++ 6.0 to V ...Show All

  • Craig Peeper can visual studio 6.0 msdn and .net 2005 mdsn can be intalled together?

    would each software know to run the right msdn thanks, mmmm. my .net 2005 msdn is allready installed , should I delete it so that I can install VS6 first or it doesn't matter thanks, Yes! No problems. Install VS6 first! ...Show All

  • licheca VC++ Directories in Beta 2?

    Hey, I am having a wierd problem with VC++ Express Beta 2.  When I go to Tools->Options->Projects and Solutions->VC++ Directories, I barely see anything.  I can see the 'Platform' and 'Show Directories For' combo boxes, but other than that, the window is empty.  Does anyone know of a way to fix this And here is the link to the thread: http://forums.microsoft.com/msdn/ShowPost.aspx Post ...Show All

  • Seungho Nam Opening files from explorer.

    I have associated the extention .vip to my program Viper.exe. However, I have no idea how to make the program open the .vip file that has been opened in explorer! How do you find out which file was double clicked to open the filw. Thanks in advance. Are you using native code or managed code From your sig, it looks like you only do managed code, but could you clarify that please Hiya wrote: Reply 1:- Can you please tell ...Show All

  • Airex Static const C++/CLI class members

    Static const C++/CLI class members can be changed from C# client: public ref class Server { public: static const int someValue = 25; }; C# client code: Server.someValue = 50; // successfully compiled How can I prevent this Unless you have determined that this is by design, you should open a bug at http://lab.msdn.microsoft.com/productfeedback/ . Good example, Nish. I wrote one las ...Show All

  • ilr VCBuild and custom target platform

    Hi, Here is the point: I have a C/C++ project under Visual Studio and I want to add my own new target platform; This platform is very similar to Win32 in term of settings but I want to launch another compiler for C and C++ files and another linker for .obj. What's the complete process to do that How can i create a new target platform and reference it to Visual Studio How create custom task for VCBuild and reference it for Visual Studio ...Show All

  • 大頭仔 Crashes under VC2005 but not VC6

    Hi, The code below compiles and runs fine under VC6 (VC98). However, when compiled with VS2005 using the exact same compile options and flags, the first line of code under "main" crashes when trying to write to the data. Anyone have any comments   (This is C++, unmanaged) /c /J -DWIN32 -D_WINDOWS -Dhuge -Dfar -D__WIN32__ /Zp1 /Zc:forScope- -D_CRT_SECURE_NO_DEPRECATE -D_DEBUG /Zi -D_DEBUG -D__MT__ -D_MT ------------------------------------- ...Show All

  • almor strange error in vc

    create a new mfc sdi project, in onDraw fuction add the following: pDC->SetDCPenColor(RGB(0,0,0)); when compile, this error happens: error C2039: 'SetDCPenColor' : is not a member of 'CDC' according to msdn, CDC has this member. when i input these, there is even a auto completion. how could this happen If you look in the afxwin.h file you'll find that function under the following #ifdef: #if (_WIN32_WI ...Show All

  • ipcoken lnk 2019 error

    hey guys, i was wrapping a native dll inside a managed c++ dll. i was compiling to test how i was going, and it got a weird lnk error. it is the following: error lnk2019 : unresolved external symbol _main referenced in function _mainCRTStartup. so how am i suppose to solve this issue imusing the VS 2003. thx but interoperability doesnt have anything to do with this, cause i already have the managed dll that i m ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum