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

Software Development Network >> Visual C++

Visual C++

New Question

CreateEvent Method
template arguments issue
Need clarification on MFC in .NET
Different results by recompiling
Create an instance of MSVC 7.1 using EnvDTE
amd 32 bit optimized code AND 64Express
setting compiler options programmatically.
2005 Resource Editor trashes non-English languages when you edit any dialog
Couple .NET 2k5/CLR enabled DLL questions
Porting-to-Unicode Issues

Top Answerers

BenDowling
Rahul Kulshreshtha MscIT
Patagrieng
David_B52
RamMohanRao
XaiterRetiax
Peca
zoubir
LordDark
HitechRider
Camden, Sterling W.
Only Title

Answer Questions

  • LOUIS P G BANCHE error C2220: warning treated as error

    Hi, I am moving an application from VS2003 to VS 2005 and I got the following error: error C2220: warning treated as error - no 'object' file generated C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atlfile.h Any ideas on how to correct this Thanks in advance, Yes: C2220 this is the warning-treated-as-error error message: what we need to know is what warning is causing this error to be fired. Sorry Guys, I miss ...Show All

  • dunkan2005 HOW GET THE TITLE TASK WHEN ALT+TAB ARE PRESSED?

    hi forum members, excuse me if I bother you, but I need your help with some ideas about advanced visual c programming, this time I have a program , that with your given support , the program can get the text from the buttons which have the focus, but now I’m trying to get the window’s title that is displayed when the user press ALT + TAB for switching the task, I’m trying to get this with CBT HOOKS, but the only data that I got was information a ...Show All

  • QuasiLoca Resource Editor: Add/Remove operation is impossible '(null)' is read only

    MESSAGE: Resource Editor: Add/Remove operation is impossible, because the code element '(null)' is  read only   So, I moved files from /ProjectA/ProjectA to just be /ProjectA fixed the project settings deleted and added files to go with the changes.  My 'ClassView' contains duplicate classes CMyClass and CMyClass with two different paths one in /ProjectA/ProjectA and the new one /ProjectA; I can't delete the old /ProjectA/Project ...Show All

  • Antonio Budano Vector data corrputed

    And here i am... again -_-, hope its ok with you, because this is the only forum i can find with a quick and good answer. Here is the situation: inside a thread i'm creating a vector<myclass>. myclass is contains some members and functions, non of them are really important. the vector can get a size over 2000, but here is the hitch. for some or other reason, i'm using a loop witch reads every single member of the vector, and manipulates ...Show All

  • tolko Importing enum under C++/CLI

    I am trying my first attempts with C++/CLI but I have a minor problem. I am building a wrapper usable by all .NET languages which is importing unmanaged C/C++ code and is linking with a custom library file. I am creating a ref class as: public ref class CMyTest { public:  int Init() { ...call old style function } } This function returns an integer. This integer is encoded as a old style typedef'd enum: typedef enum _errors { .. } Errors; I ...Show All

  • Flying B 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

  • nicklebum Sorting of msflexgrid control in VC++

    I want to sort data that is being displayed in my msflexgrid control. All data of a column needs to be sorted on the selection of the column header. Just like we can sort the items in our inbox in outlook by clicking on the tab headings "From", "Date", "Subject", etc. This is a very simple task in VB. But I am unable to find the method to implement it using VC++. Can somebody please help Hi, In a handler for the MouseUp eve ...Show All

  • dhirajdewani C++ for Visual Studio 6

    Just a quick question. I just installed Visual Studio 6 on my computer and every time I try to run C++ it gives me an error and shuts down. The error says that my .pkg files failed to load. Anyone know what I can do. I am running such an old version because my college uses this program as well I'm afraid that VC6 support has ended, and thus VC6 questions are off topic here. However, I use VC6 every day, and I' ...Show All

  • Peter Sollich native members of managed classes?

    Hi jedediah! What's the preferred way to effectively have a native class as a member of a managed class What do you mean class NativeClass { }; public ref class ManagedClass {   protected private:     NativeClass *_pNativeMember; }; What's the preferred way to effectively have a native class as a member of a managed class ...Show All

  • Bridgepark Memory error in loading DLL

    Hi All, I have a program that reads DLL libraries but it fails with error code 1001 (i.e. Recursion too deep; the stack overflowed.). When I trace the program in debug mode of Visual Studio 2003, the exception is raised and the detail is shown as below. First-chance exception at 0x00359439 (msvcr71d.dll) in iChannelGateway.exe: 0xC0000005: Access violation writing location 0x00030ffc. The program breaks at the function _malloc_dbg() in ...Show All

  • Surindra circular reference in parent/child classes

    I have been trying to understand some code that another guy wrote, and though his code compiles and runs, it seems like it should never have compiled. He has 2 classes. One class is basically the parent, and it includes a pointer to the child it creates. As the child is being created, the parent passes the constructor a "this" pointer, so the child can later access variables in the parent. When I try to duplicate this logic, ...Show All

  • rjv_rnjn Build on command line

    I am converting a VC++ 6.0 workspace to VS2005 solution. One of projects A depends on project B, C, D. A is .dll and B/C/D are static libraries. There is .def file in project A that export the APIs in A, B, C, and D. After converting to solution, IDE build success. But when I build on command line by using "vcbuild /implib test.sln "Release|Win32"" I got the following link errors: testA.def : error LNK2001: unresolved external symbol proxyB ...Show All

  • mjurak CHtmlView Exceptions - Lots of Them!

    I'm building an MFC app that uses an CHtmlView and I've observed that it throws multiple, non-crashing, exceptions from the main app instance (MyApp.cpp). The exceptions are: ------------------------- First-chance exception at 0x7c81eb33 in htm.exe: Microsoft C++ exception: COleException at memory location 0x0012dcc4.. Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003). ------------------ It throws t ...Show All

  • bigdave VS 2005 compile problem with asserts

    I just started compiling my C code with VS 2005 (I was using VS 2003) and I ran across a compilation error that I've never seen with any other Microsoft , Intel or GNU (in multiple *nix platforms) compiler. The code calls macros from other macros and more importantly has an assert. When I compiled with -E, I see the following code generated: { if ( (int)((( (void)( (!!(0)) || (_wassert( [ "0", [ "d:\\mywork\\cmochk\\cmop ...Show All

  • BenjaminTengelin native members of managed classes?

    Hi jedediah! What's the preferred way to effectively have a native class as a member of a managed class What do you mean class NativeClass { }; public ref class ManagedClass {   protected private:     NativeClass *_pNativeMember; };   NNTP User wrote: Hi Paul! A very good an deep explanation can be found here: htt ...Show All

777879808182838485868788899091929394

©2008 Software Development Network

powered by phorum