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

Software Development Network >> Visual C++

Visual C++

New Question

difference between value type and ref type (C++ CLI)
Problems w DataStructures.h
Localization using C++ and Visual Studio 2003
Overriding System::Generics::Collections::IEnumerable
Get key user entered
Programs freeze when starting, IDE crashes.
How to create nou-existing folder in simple consloe project in VC++ .NET 2003?
Backgroundworker Component - Part 3
build errors in vc++
Using MFC regular mixed mode dll (/clr) from a managed application with Visual Studio 2005 Beta 2

Top Answerers

Nickolas Hook
Samridhi
Xiongxiong2007
mscherotter
smilyan
Rafael Leonhardt
Moinuddin Pasha Mohd.
vbnvbn
Hansraj
mishazh
A Web Services Primer
Only Title

Answer Questions

  • JarodB172890 Unable to build in 'Debug' mode

    Hello, I am trying to port a application from VC-6 to Visual Studio-2005. Though I am able to build in release mode, it is failing to build in debug mode. Following error is thrown. C:\Program Files\Microsoft Visual Studio 8\VC\include\strstream(139) : error C2061: syntax error : identifier '_DebugHeapTag_func' Can any one help me to fix this error Thanks Never mind. The cause of the problem has been found. T ...Show All

  • Jarodtweiss adding languages

    Is there any way I can add a language (for example, .s), so that I can then specify the tab settings for source files with a specific extension Thanks. Thanks Ben. I've had a look there, ideally I want to edit all my source files within the visual studio IDE. I want to add .S (assembler) source files and set the TAB size to 6, without it affecting the tab size for regular text (.txt) files or .c/.cpp ...Show All

  • CalifGirl How can I declare 'out' parameter in C++/CLI?

    In C++/CLI, a tracking reference as method parameter void method(int% val) { ... } is equal to C#'s "ref" parameter: void method(ref int val) { ... } Is there C++/CLI syntax equal to C#'s "out" parameter void method(out int val) { ... } Add the System.Runtime.InteropServices.OutAttribute to a ref parameter to make it appear as out to C#. ...Show All

  • OMEGA_ReD Error Application failed to initialize properly 0xc0150002

    I'm traying to compile a solution with VS 2005 RC1 but I get the following error Application failed to initialize properly 0xc0150002, the projects inside my solution all are configure to generate an EMBEDED MANIFEST. I used NTSD and I get the following error LdrpWalkImportDescriptor( ) failed to probe xx.dll for its manifest I review the Event Viewer and I found the following error Dependent Assembly Microsoft.VC80.DebugCRT could not be f ...Show All

  • Vivian need english

    Getting ready to work on another lab for school and I'm having trouble understanding the lab. This is the program they want me to write: Write a program that declares two twenty-element, one-dimensional integer arrays. Your program should fill these arrays with random numbers by calling a function called Fill_It. You will call Fill_It twice, once for each array, and ask the user to enter two different seed values. Fill_It needs to have a seed va ...Show All

  • Steve Clibbery VC++ 2005 Toolbars

    Is there a way of getting the office 2003 style toolbars in VC++ 2005 I know they are available in C# and VB 2005,  but VC++ has the old style office 2000 toolbars. Any suggestions Thanks, Paul This is a new app that I am developing. I have already created it in VB6 but know I need to create the same application in C++ because of the advantages in file I\O routines. I have a couple of 3rd party l ...Show All

  • mojo_jojo Convert CString to *

    Hi, How can i convert CString to int or CTime...,etc Thanks Alternatively you can use COleDateTime::ParseDateTime to convert a formatted string into a COleDateTime object. Then use COleDateTime::GetAsSystemTime to get a SYSTEMTIME object. And use the CTime constructor overload that takes a SYSTEMTIME. That should do it for you. anndy wrote: Hi, How can i convert CString to int or CTime...,etc Thanks Use _ttoi to co ...Show All

  • sumesh_tewatia Pls help me out! I cannot build a very simple Hello World app.

    I have been trying to build the following simple app for these two days. #include <iostream> using namespace std; int main() {     cout << "Hello World!" << endl;     return 0; } VS2005 C++ Express complains this way; Warning    2    warning C4512: 'std::basic_ostream<_E,_Tr>::sentry' : assignment operator could not be generated    c:\program ...Show All

  • wolf windshadow Failed to connect to remote database server from service

    I have implemetned a windows service and failed to connect to a remote database server when service running. The server itself should not have any problem since we have been using it for the other non-service applications for a long time. And one more thing is that the connection succeeded when i try to connect to my local database from the exactly the same line. Can anybody explain to me the possible reasons of this Thanks in advance~ ...Show All

  • ggentile refactoring not available in 2005?

    I tried out the VC++ express a while back, and loved the refactoring. I am now trying out VS2005 Pro, but I don't see any refactoring support. I am doing C++ coding. If I right click on a class member, I do not see anything about renaming /etc. I don't seem to see anything in the drop down menus either. Do I have to turn it on Thanks, ~S Unfortunately, refactoring is only available for the lesser l ...Show All

  • Zamam Can VC6 use VC.net dll?

    I wrote dll with VC.NET 2003.its only transfer web services. then i create windows form with VC6 to transfer dll with vc.net.Once to run,the program will be invalidate handle. Can VC6 use VC.net dll sorry my english is very poor. If it's just a C++ dll, or MFC dll, then it should work, yes. If you use .NET, then I don't think so. VC6 is terrible anyhow, you should avoid it if you can. I ...Show All

  • SeanHayes VCMAME: compiles with VC2003, fails with VC2005

    I'm trying to build the MAME source using Visual C++ 2005. I'm using the VCMAME project files from http://www.vcmame.net/ . I first built the project in Visual Studio 2003, then opened the project in VC++ 2005 and rebuilt. I only had to make a few modifications to the project, like adding _CRT_SECURE_NO_DEPRECATE to silence a bunch of warnings. However, one of the source files (winalloc.c) implements their own memory handling functions so ...Show All

  • thukralz BLOCK_TYPE_IS_VALID

    Hi guys, I have a lib maked by VS6 and it's used by another application in C++ managed. Sometimes I got a BLOCK_TYPE_IS_VALID assert. Does anybody say me why Thank you You rae still destroying the heap! Even if you don't use the heap. The CRT will use the heap, or other components will! Martin Richter wrote: You can use _heapchk to get close to the point were the error has its source. Yo ...Show All

  • LloydM_APFM 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

  • Kadesh Problem Converting char** to cli::array<System::String^>^ and vice-versa

    I am trying to convert an (unmanaged) array of char* to an array of (managed) Strings, and vice-versa. Is there a nice way of doing this I get confused when trying to create an array of pointers, and cant quite figure out a nice way of doing this. Any help here would be appreciated. I have been using Marshal.AllocHGlobal and then Marshal.Copy to convert single Strings to char*, but I dont know how to convert an array of String^ to a char** ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum