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

Software Development Network >> Visual C++

Visual C++

New Question

How to create a control with a gradient background
Array Sizing issue
registry keys?
CEdit fails to set text on out-of-proc edit control
IDE keeps changing the encoding of the vcproj file
Call Browser is not working in VS2005
Problem in MFC AppWizard(exe)
Simple (?) SQL DATETIME question SQLServer and C++
Repedative Syntax error : missing '=' and ')' and ';'
French Version of App

Top Answerers

callaway59
David Crocker
razva
xiangli
Col38983
jamaddox
Desolator144
Jack Vaughan
John280459
Mickey49
Comeau
Only Title

Answer Questions

  • resist CBitmap - Simple example

    Hi, I am trying to load some images in a Picture Area. I only have the pointers to the images, and this pointers are of the type unsigned long* (I can also convert it to IplImage* to use with OpenCV). This unsigned long* get the images grabbed from an camera and I would like to display these images in this Picture Area (it is real time, I get the images from my camera and display them). I have tryied to use this (HBITMAP)LoadImage function, but ...Show All

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

  • sheerprogrammer Tricky pointer-to-member problem ( at least for me )

    Hi, hope somebody has an idea how to get this done: I have a console app with some "menu" which I want to handle in a "nice" way. My idea is to store a array of "pointers-to-members" for every menu level. After that I thought I can evaluate the user entries with a standard method that only cares about the menu level and automatically calls the selected method's. Layout is at follows: --------------------------------------------------------- ...Show All

  • nezoat Unresolved Token and other link errors when migrating from VC++ 2003 to VC++2005 Express

    Hello all, Here is the situation. I am migrating an existing solution from Visual C++ 2003 to Visual C++ 2005 Express. I have the Platform SDK installed as well. The solution contains two mixed mode projects. One is essentially a managed wrapper dll for a 3rd party static win32 library. I do not have access to the source for the 3rd party library. The other project is a managed executable that utilizes the wrapper dll. These proje ...Show All

  • jm_p C++/CLI code porting problem

    I'm trying to port a C++.NET (managed extensions) application to C++/CLI. However I'm not very strong with the syntax yet. What I'm trying to do is to create a wrapper for a C Dll file. To do this I'm using DllImport but I failed to found documentation on it's use. There are some problems due to changes of the syntax but I couldn't find out why yet. The C++.NET line looks like this:   [DllImport("my.dll", CharSet = Ansi,  CallingConven ...Show All

  • Yuvi Panda Convert wchart_t to TChar

    Convert the type of wchar_t to TChar A newbabie, can you teach me how I can convert wchart_t to TChar Thanks Use the W2T macro in atlconv.h. MSDN docs should say more about this. ...Show All

  • Marcus2 Dialog + Modeless

    HI,   I am trying to create a dialog. I have a .EXE which already as its Dialog and this dialog is create with the function DoModal(). This EXE loads my dll. and at some point my dll needs to lauch a modeless dialog... I have tried the following:         DlgPtr = new DlgClass();         DlgPtr->Create( IDD_FIRST_DIALOG );         DlgPtr->ShowW ...Show All

  • karlytoz Question about "RUNTIME_CLASS"

    Hi, This is a fairly newbie question so apologies if I am slow. I have a "MainFrame" thats a derivitive of a CMDIFrameWnd. I also have a descendant of that frame called ChildWnd, thats a derivite of CMDIChildWnd. I dont seem to declare the CMDIChildWnd any where apart from like this RUNTIME_CLASS(ChildWnd); I assume as the name suggests this is a dynamically declared and instantiated class, i guess since there can be lots of ...Show All

  • hessie add button toolbar

    I'm not enghisch I Italian I will add button at toolbat of resourse computer. (italiano: io vorrei aggiungere un bottone alla toolbar di Risorse del Computer (il bottone deve fare quello che voglio io), sapete come si puo fare ) I can You has a simple tutorial (I have the Visual Studio 2005 beta 2, bat not important) You want to create a toolbar button and implement its function. Basically you need to go to your *.rc file and open Toolb ...Show All

  • ThomasZecher Need clarification on MFC in .NET

    hi, I have read an article that has VC++.NET faq in the following URL. http://msdn.microsoft.com/visualc/productinfo/faq/default.aspx I found the below info in that. Will Microsoft continue to support and add features to MFC Microsoft has no plans to discontinue support for MFC.  New features will in most cases enable MFC applications to better interoperate with the .NET Framework.   My Question is, ...Show All

  • giacomoread Porting from VS6 to VS2005 - linking issues

    Hello. We have a project that compiles fine with VS6, using make files. Linking in VS2005 brings a lot of "symbol already defined" and "unresolved external symbol" errors. The command line parameters passed to link are (excluding the project specific information) the following: /MAP /nodefaultlib:libc.lib -dll -DEBUG kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib wsock32.lib mpr.lib shell32.lib Advapi32.lib Netapi32.lib ...Show All

  • vijji trouble with fstream::open nMode parameters

    Hi all, I am a C++ noob and am working through a book aimed at game programming. I am currently working on opening, closing, and otherwise dealing with file streams and have some questions about some example code in this book. I am using Visual C++ 2005 Express Edition Beta 2 and have the MS Platform SDK installed as well, just so you have an idea of my authoring environment in case that is an issue. In the example I am working on, I am ex ...Show All

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

  • Dhanya Templates

    Can never find stuff from microsoft. Hard site to navigate. Anyway where can I find some templates I searched and came up with nothing. Thanks   What you are searching for - What kind of templates do you mean Look into the STL containers stl::list, stl::vector aso. - Templates in the meaning of Design patterns (Gamma, Helm, Johnson, Vissidies) This patterns are used. There might be samples for it. ...Show All

  • BillyDunny Can Visual Studio 2003 and 2005 co-exist?

    Can Visual Studio 2003 and Visual Studio 2005 co-exist on the same machine (for one project we are depended on libs from Oracle, and they are not compatilble with 2005). Yes! All VS version can coexist! On my laptop I have Visual Studio 6.0, VS.NET 2003 and VS 2005 installed. No problems. Double click on a C++ file will always use VS 2005 (the latest version)! Is there a way to interrupt the VS2005 from automatically popp ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum