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

Software Development Network >> Visual C++

Visual C++

New Question

Can the toolbars be made to behave?
ATL Server problems in VC8.0
C++/CLR mixed DLL crash (sometimes even the debugger)
copiling vc++ code in VS 2005
Lost my way in classes and array..
Multiplatform build
Windows API not working w/VC++ Express
Tips for speeding up debugging (stepping through code)?
Debugging with MSDEV2005
MSBuild in x64 environment with vcproj

Top Answerers

Mohammad Iqubal - MSFT
skywave
Hussein.Zahran
Azeem Khan - MSFT
MSmith34
zeipherus
Mikael....
warnerra
Ken Faw
Brstranglman
ORCS Web, Inc.
Only Title

Answer Questions

  • pmccombs Edit ignores '\n'

    Edit control, created with an 'ES_MULTILINE' and 'ES_READONLY' paremeter, ignores '\n' (and \013 and \013\002).  Is there any way to start new line, when I put my text inside by 'EM_SETSEL', 'EM_REPLACESEL' messages My example is : viewEdit1 = CreateWindowEx(WS_EX_LEFT + WS_EX_LTRREADING + WS_EX_RIGHTSCROLLBAR + WS_EX_CLIENTEDGE,"Edit", NULL, ES_MULTILINE + WS_VISIBLE + WS_CHILDWINDOW + WS_VSCROLL + ES_READONLY + ES_W ...Show All

  • anonymoosee Changed the COM signatures....using ildasm.....

    Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All

  • BenoitM VS2005 Linking problem std::_String_base::_Xran

    Hello,     I trying to build my project in VS8 (it was building fine in VS2003). I get these linking error : engine.lib(ECMFileHandler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " ( _Xran@_String_base@std@@QBEXXZ) engine.lib(ECMFileHandler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " ( _Xlen@_Str ...Show All

  • Cridal Exporting unmanaged class from managed dll

    I have a managed dll in which I have a class whose functions I want to export. In VS2003 I was able to do this by creating a macro which generates __declspec(dllexport) when the managed dll is being built and __declspec(dllimport) when the managed dll is being consumed. This works fine, an import library is created, and other managed dlls which want to access the functional of this class link to the import library and use that functionality. In ...Show All

  • mike24 Tab is not working with my VC++ Dialog !

    Dear All, In my VC++ Dialog, Tab is not working when ever i call that dialog from the Menu. However Tab works absolutely fine whenever I call same Dialog from another Dialog. I have tested it, Tab on My Dialog (say Dialog-A) works fine when ever i called it from another Dialog (say Dialog-B). But when ever the Dialog is called directly from the Menu, Tab doesn't work. I am really struggling to get rid of the simplest thing (As I am ne ...Show All

  • MuhammadRashid Migrating project from VC++ 6.0 to 8.0

    Hi,  I have trouble with migration project created under VC++ 6.0; it uses some old static libraries (.lib) which can't be recompiled with new version. Problem is that when I build this project under VC++ 8.0 linker complains that it can't find libc.lib. AFAIK there's no libc.lib in 8.0, only libcmd.lib (multithread c library). I got only header files and those old libs. One idea was to create DLL under VC++ 6.0 which will be linked to li ...Show All

  • sniwas24x7 Trouble trying to initialize an unsized string

    I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. You need m_pstrName = new char [strlen(n) +1 ]; Thanks, Eugene Hi, The problem most likely is that len of "n" is 0. Max Hi, Oops, sorry my bad, ...Show All

  • Ton vd Pol Use of HTREEITEM in /Clr

    HI, When compiling an app that uses HTREEITEM i get an error complaining about _TREEITEM - _TREEITEM does not seem to be defined. I am currently trying to see if this will work: typedef struct TVITEM *HTREEITEM; Any hints on how to get around this I can confirm that the use of typedef _TREEITEM {}; solved that problem. I have not tried fiddling with the Lean and Mean def's as it seems inconsistent to do so. If afxcmn.h is included the ...Show All

  • k333 Is Managed C++ bound to take over C#/VB.NET?

    I was just trying it out in VC++ 2005 and see that it could have a huge future. With the understanding that most companies have their code based on C/C++, they can compile it using the CLR gaining all the benefits of .NET. The performance is the fastest yet for managed code. A switch to an entire different language wouldn't be needed. If this is bound to a success, all I can say it will be amazing. Ontop of this, I was wondering i ...Show All

  • MercJim VS8 2005 Projects only work on my PC

    Until recently I've been using VS.NET 2003, now I have VS8 2005.  And none of the project I make work on other computers.  They only work on my PC, when i try to run the program on another PC I get this error: C: \FilePath This application has failed to start because the application configuration is incorrect.  Reinstalling the application may fix this problem . Why is that   How can I fix it Also, when I compile VS.NET ...Show All

  • chaosvg Increase speed for console app on WinXP x64 with Pentium D

    HI after succesfully compiling my 32bit single thread console program for the use on x64, I realize that the processor(s) are each just 50 occupied with my program. On a single core machine the processor is 100% occupied with my program and execution is faster. Since I only have the /MT (multithread) compiler option for the PSDK amd64 bit compiler, I assume that my program is executed as multithread. and since one processor has to wait for re ...Show All

  • Confused4130 missing dll - mpr.dll

    im building my exporter for 3d max, and max is complaning about missing dll's i load up my exporter in dependency walker, and the only sus dll is mpr.dll (its in red) all other missing ones are in the max directory as usual. I suspect mpr.dll to be the problem, but when i copy it from my system32 folder to max directory, it still complains. dependency walker says this: Error: At least one required implicit or forwarded dependency was not fou ...Show All

  • usguy Running an .exe file compiled in VC++ 2005 on a different computer

    Hello, I've got a question regarding how to run a program compiled using VC++ 2005 on a different computer. Although I have seen the thread by suda5181 and the answer by RonaldLaeremans (http://forums.microsoft.com/msdn/ShowPost.aspx PostID=23371), I can't find the redistribution pack for the current Visual C++. I have found a page with the Redistribution pack for Visual C++ 6.0 (http://msdn.microsoft.com/library/default.asp url=/library/en- ...Show All

  • jeffps Tips for speeding up debugging (stepping through code)?

    I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine ...Show All

  • CSCNavy VS .Net 2005, how to disable intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra There is a undocumented way to disable C++ Intellisense: Rename or delete the following file: <VS root path>\VC\vcpackages\feacp.dll ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum