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

Software Development Network >> Visual C++

Visual C++

New Question

XML Documentation Comments
Structure deletion?
VC 2005 RC with Loki small object allocator, std::lower_bound, and CompareFixedAllocatorSize
Problem with _CrtSetReportHook on VC++ 2005
Using windows.h in C++/CLI project
BUG: Potential Memory Leak generated by STL deque
std::vector perf under VS2005
Broken _findfirst() when using PSDK and VS2005 Beta2 under AMD64
cannot convert from '_variant_t' to '__int64' Ambiguous user-defined-conversion
Progress Bar Control

Top Answerers

osmansays
Freddy Vanbaelen
JHasell
shailender
SUPAXE
moshebs
Apsis
Prasanta
aditya thatte
johnpen
Select Solution Factory
Only Title

Answer Questions

  • Frederic Enesys Is it worth learning Win32 programming now?

    I am a proficient c & c++ programmer. I was planning to learn Win32 programming. However, managed code seems to be the future now. Although Win32 will be supported in Windows Vista, Microsoft is touting Avalon as the next generation windows programming platform. So is it worth learning Win32 programming now Should I stick to .NET and managed code I was also planning to learn driver programming in windows. Will knowledge of Win32 help me in ...Show All

  • Karthik987 Infinite allocation loop compiler bug in __asm parser

    The following code alone causes the Visual C++ 8.0 compiler to get into an infinite loop of memory allocation: long call_NtClose ( void ) { __asm { mov eax, [ptr_NtClose] Obviously, this is invalid, since there's no } } at the end of it. (If you add them, you get the correct unknown identifier message.) This bug came up in a much larger sequence of code - I just stripped it down to the minimum required to break the compiler. Rig ...Show All

  • Timothy Wilson msvcirt.lib and iostreams.h

    I am compiling a set of libraries with nmake from Visual C++ Express 2005, and the linking process for two of the libraries requires both msvcirt.lib and iostreams.h. These files previously shipped with, I think, Visual Studio 2002, and may now be deprecated (I'm not sure).   Is there a source or download site for these two files for use with nmake/ Visual C++ Express 2005 /Ross Unfortunat ...Show All

  • Jon Woodcock Displaying an integer in binary format

    Hello, I've been wondering how is it possible to display an integer in binary format in VC++ 8 .net 2 With Thanks,                     Gal Beniamini. In VC6, it can be done by using sprintf("%x", ...). But I don't know whether it works in VC8 Using sprintf("%x", ...) will create the number in hexadecimal format: not in binary for ...Show All

  • Rachenoba Embedded C++ object of class type in ref class

    What is the technical reason one can not have an embedded C++ object of class type in a ref class class Y { public: /* some functions and data members */ }; ref class X { public: Y y; }; Compiler does not like the above. The problem is that the managed class and all of its members must be transparent in .NET. So al used types must be part of the type system inside .NET. You unmanaged class don't fit into ...Show All

  • Jason Sandlin reading binary data using fseek and fread

    I'm trying to get computer model in C originally written for Unix to run under VC++. It to reads a binary input file with climate data (precipitation) for every time step (year). For every year 12 items are read (1 for each month). The first two years are read correctly, but for the third year only 7 items are read. After that, for some years the data is read correctly, for others not. When read with MatLab for example all years are read correct ...Show All

  • rthurber Correct way to reference managed code

    Hi, I am trying to call a form object using _beginthread(), if: Form ^ myForm = gcnew Form(); and void myThread(void * theForm) {...} and _beginthread(myThread,0,myForm); How do I use myForm within the thread function Thanks in advance! Ljubica if you are developing against .NET 2.0 you can also use the BackgroundWorker class, which implements common thread operations. The UI r ...Show All

  • djun_kang Tool to convert from /clr:oldsyntax

    Hi there, At one point there were rumors that MS would post or sell a tool to convert from the old managed C++ syntax to the new C++/CLI syntax. Stan Lippman wrote a series of articles on his blog: http://blogs.msdn.com/slippman/ The beta docs included a reference to it: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=c0ee7a81-9636-48d8-99c5-891afa4a017f Ronald Laeremans from the VC team hinted that it ...Show All

  • jdegaetani Saying Goodbye to an Old Friend

    I recently read this article regarding security changes to the C/C++ ANSI standard in order to improve overall behaviour and programming issues when dealing with memory overruns and potential malicious use of the Runtime library functions. [EDIT] http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncode/html/secure03102004.asp Anyway, it was only until after starting to use the Microsoft C++ 2005 Express Beta 2 system that these c ...Show All

  • MSRez VC2005, can't mix declarations and statements

    "anonymous@discussions.microsoft.com" <Tydr@discussions.microsoft.com> wrote in message news:93b7fcd6-9f12-472a-b6cd-3ddf94654878@discussions.microsoft.com  > I have VC++2005 express beta2. > I create a default, empty win32 console app: > > int main(){ >  int a; >  a = 5; >  int b = 5;  // get error C2143 here > } > > I get this error, bo ...Show All

  • Robert Larsson How to retrive process memory usage in windows 98

    hai, how can i get process memory usage in windows 98 ..Can i get memory info from Toolhelp32ReadProcessMemory function. dijesh Please ask questions only once and be patient when you wait for an answer. This is beyond the scope of this forum try ir here: http://msdn.microsoft.com/newsgroups/ Note support for Win98 and ME ends at 11th of July this year! http://www.microsoft.com/windows98/default.asp ...Show All

  • SickOfMicrosoftShit why the compiler can't find the headers

    i have an enterprise project that originaly have been writen in visual c++ 6 MFC now I want to open it and compile in VISUAL studio 2005 but the compiler throws Error 1 fatal error C1083: Cannot open include file: someFile.h file or directory not found. it just canwt find any of the headers. when i compile the project at vc6 there are no problem and when I compile it with vs.net 2003 its seems to be alright as well why can't I compile i ...Show All

  • jan schlagenhauf windows.h not found...

    WOW, I can't believe this information isn't easier to find.  I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2.  NOTHING WORKS!  The Directories are not found and there is no apparent way to set them.  Apparently users have found a hack to make it work, but this is crazy.  It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All

  • Clare North binaries compiled using VC8 not running on IA64

    As VS 2005 is not supported on IA64 platform i had to use cross-compilation on 32bit machine. i did vcvarsall.bat x86_ia64 for setting the build environment. after building the application i tried running it on  IA64 machine but it is not running. D:\samples>exercise.exe The system cannot execute the specified program. manifest info is embeded in the application and in its dependency dlls. on checking C:\Windows\WinS ...Show All

  • ffattizzi error about"cannot be marshaled as an unmanaged structure"

    i got a struct like: --------------------- public ref struct OutPacket{ int m_replyIndex; List<MainInfo^>^ m_mainInfos; }; --------------------- when i pass it to another process, i have to transfer it to intptr : --------------------- IntPtr pnt = Marshal::AllocCoTaskMem(Marshal::SizeOf(outPacket)); Marshal::StructureToPtr(outPacket,pnt,true); return pnt; --------------------- then i got a message: ********* err = {"Type 'C ...Show All

91011121314151617181920212223242526

©2008 Software Development Network

powered by phorum