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

Software Development Network >> Visual C++

Visual C++

New Question

Copy to Clipboard
64-Bit Compile Error (language type must be specified)
msvcr80.dll Problem
Forum Suggestion
Global Functions do not have 'this' pointers
Hi friends, nobody is there to guide me for localization of MFC dialog...
Public String Constants in .NET Assemblies
"site code" "machine ID"
fulscreen console application
Unnested loops and /Zm... wheres it gone???

Top Answerers

dmsmsdn2
kpcnatraj
gr8Kiwi
Wilton22911
Muzaffar_Ali99
nicthu
KennS
cmd_skywalker
bigmanu
Wim De Coninck
PM Media Review
Only Title

Answer Questions

  • MAJMAJ 1780 null reference pointer was passed to server - is there really anyway to get rid of this????

    hi, I am now working in a project which has the following environment. OS : windows 2000 server Platform : .net 1.1 language : vc++.net currently this project is in vc++ 6.0 (rpc server) and a vb 6.0 (rpc client) app will communicate to this thru rpc calls. now i have successfully (of course after having MANY number of errors) compiled it into VC++.NET. for some reasons, the vb 6.0 app will remain as it is. my problem is ...Show All

  • ZoltanK Adding ActiveX support to a project that doesn't support it!!!

    Hello, I have a MFC dialog based project that I have been working on and I want to add some activeX controls to it. The problem is that I created the project with Project Wizard without ActiveX support. I'm using Visual Studio 6 and I suppose (hope) the solution is the same for newer version as I am going to port my work to VS2005 (but this is another problem ). So, the Million $ question is: How can I add ActiveX support to a project that doe ...Show All

  • Eric Howard UTF16

    Please, help me to convert UTF16 to MultiByte. What's your source and your destination (i.e. UTF16 byte array to String) Take a look at wcstombs_s. ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vccrt/html/105f2d33-221a-4f6d-864c-23c1865c42af.htm ...Show All

  • MacDonaldC VC++ 2005 Standard vs. Professional: details needed

    What are the detailed (comprehensive) differences between Visual Studio 2005 Standard and Professional editions (esp. from the C++ perspective) I have read many posts on this topic, but none are definitive or authoritative. For example, http://msdn2.microsoft.com/hs24szh9.aspx lists coarse-grained tools and features, but does not detail what is meant here by a "Streamlined" vs. a "Full" user experience. Also, pages lik ...Show All

  • Pejacepoha Create an instance of MSVC 7.1 using EnvDTE

    Following the instructions from the Microsoft documentation, I entered the following code. CComPtr<EnvDTE::_DTE> m_pDTE; HRESULT hr = m_pDTE.CoCreateInstance("VisualStudio.DTE.7.1", 0, CLSCTX_ALL); // Create a new instance of Visual Studio .NET However, this generates a compiler error: error C2664: 'HRESULT ATL::CComPtrBase<T>::CoCreateInstance(const IID &, LPUNKNOWN, DWORD) throw()' : cannot conver ...Show All

  • Les26739 IntelliSense works intermittently

      I understand that c++ intellisense is poor than c#, but sometimes it simply doesn’t work. The scenario is quite simple:   Edit a line and type a class object and then the -> operator. Successfully intellisense open the drop-down box and show all available members. Now go to the next line and type de same class object and intellisense is not capable to find any thing. Or at reverse situation. In first line intellisense doe ...Show All

  • Tomas Floyd Derived Hashtable Problems

    Hi - I have created a class that derives from Hashtable whose items are arraylists, creating a multimap of sorts for which I can iterate through all the items of the same key. I have overwritten the set_Item property method so that adding an item always places it in the arraylist for the given key. I am having trouble with the get_Item method though. If I don't define the get_Item method than I get a compiler error when I try to use it, e ...Show All

  • AaronEd Broken _findfirst() when using PSDK and VS2005 Beta2 under AMD64

    I am having a problem with _findfirst when cross compiling for AMD64 with PSDK and linking with VS2005 Beta2. The scenario: Below is given the test code I'm using. I am working on AMD64 trying to compile my code with latest PSDK. This works fine when both compiling and linking with the PSDK. When I compile and link with VS2005 Beta2 it works too. However when I use 'cl' to compile with PSDK and 'link' from beta2 it fails at runtime. Compilation ...Show All

  • 22DoorsDown 2005 Resource Editor no longer labels language of each dialog

    Back in Studio 6 and Studio2003, when you would edit a dialog resource that had multiple language versions, the window title (Studio 6) or the tab title (Studio 2003) would tell you something like "IDD_DIALOG1 - Italian". This was very helpful if you had several language versions of the same dialog open at the same time. Studio 2005 now labels the tabs as "MyApp.rc - IDD_DIALOG1". This makes it much harder to be sure yo ...Show All

  • Girish Chander Running a very simple Win32 app on a comp without VC++ 2005 Express

    Hi! I have installed VC++ 2005 Express and the Platform SDK according to the instructions on MSDN: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx Compiling and running the following program on the dev computer works like a charm: http://www.winprog.org/tutorial/simple_window.html I then changed to release-mode, turned off debugging in the project properties and copied the .exe to another computer without VC++ 2005 Exp ...Show All

  • GRoston Newb Question [How do I compile?]

    I'm using Visual C++ 2005 Express Edition, and I can't find out how I compile my .cpp script.  I'd appricate an answer... Thanks First you need to create a project. Try "File > New > Project > Visual C++ > Win32 Console Application". Thanks. Look in the Build menu. There is no build menu, i should have mentioned, I'm just compiling a file. ...Show All

  • NWC returning string references

    Hello everybody! I tried to return a reference to a string by a function, but this doesn't work with MS VC 2005. Here a samlple: #include <cstdlib> #include <iostream> #include <string> using namespace std; string& foo(string bar) { return bar; } int main( int argc, char *argv[]) { cout << foo( "baz" ) << endl; system( "PAUSE" ); return 0; } When I compile this piece of ...Show All

  • Tacho Scroll limitation issue

    hi, I have recently taken over the a project for someone, one of the issues we have come across is that you cant view an entire document, in a window with scroll bars if its really big.  I track this problem down to the ranges on the scroll bars.  Once the range of the scroll bar exceeds 32000 pixels, it is set, by my ex-colleague back to 32000.  So when you view a document, depending on the zoom factor you may only see a fractio ...Show All

  • Wsmith wcsstr with a const return type in rc1 header

    Hi 40th Floor! > _CRTIMP __checkReturn _CONST_RETURN wchar_t * __cdecl wcsstr(__in_z > const wchar_t * _Str, __in_z const wchar_t * _SubStr); > > What's the deal with the "const" on the return in > > ...\Microsoft Visual Studio 8\VC\include\string.h > > when the docs I see show > > *wchar_t *wcsstr( const wchar_t* */_string_/, *const* *wchar_t* > */_strCharSet_/ *);* It seems that the docs (or the standard) are wrong :-) ...Show All

  • Markus Zywitza How to read the last line of a file in Managed C++

    Hi, well this is a very stupid question but I can't find the efficient way. I need to read the last line of a very very large file. So, I don't want to open it and loop through all the lines but I need another way. Help, please, anyone can post a code snippet Ok, for now I resolved with this: DateTime getLastDateTimeFromFile(String* fileName){     StreamReader* sr = File::OpenText(fileName); ...Show All

5556575859606162636465666768

©2008 Software Development Network

powered by phorum