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

Software Development Network >> Visual C++

Visual C++

New Question

Can't include afxsock.h if WINVER 0x400
Can't link a managed wrapper (mixed managed/native) assembly to a static lib???
Unmanaged / Managed Code Integration
Setting Starting Position of MFC Dialog
Unix Port for Windows
Printing Multiple Images using DrawImage
One question for WINCE variable
cliext::map in stl.net
How to open webpage
DESPERATE HELP: LNK1215: metadata operation failed (8013110E)

Top Answerers

Roro
SCaRa
Bharg
pranka
sanmarcos
Thomas Holmgren
bad neighbor
Eager_Beever
kari0002
Dave Citron
Southwest Stars
Only Title

Answer Questions

  • John Paterson sprintf depreciated... so what do we use?

      Now I know that print formatting is available through stream operators, but how can this be used when printing to strings- i cant find anything in std::string (or am I missing something) and I presume there is no inherent method of using string << int etc. Any ideas Thanks >> The way to do this in C++ is std::stringstream . You'll definitely want to avoid using sprintf_s if you want portable code.<< Jo ...Show All

  • Madern Will porting a project from Visual C++ 6.0 to Visual C++ 2003 improve look of GUI?

    We are about to embark on upgrading from 6.0 to 2003 (and possibly 2005 to follow shortly afterwards). We are fairly sure this will give us some nasty headaches through compiler changes, but what we'd like to know is will we get a more XP-like look to our UI through compiling it with the newer libraries - The project uses MFC. Thanks for the advice. I followed the steps in the first link, but when I try to run ...Show All

  • kh calling managed code from unmanaed

    hey guys, im wondering, if i wrote pure unmanaged code, and that code, calls managed .net code. is that possiible and will it be effiecent in games i was thinking, cause managed code could be the scripts as C#, since it has a compiler namespace. and i want the main engine to be c++ unmanaged so i can use it later on for xbopx and ps games. is it posible and will i need the .net framework to call the managed code th in ...Show All

  • Roman K "MFC80D.DLL was not found" Error?

    I have an project that was originally developed as a C++ 7.1 native application.  I converted it to VC++ 8 and kept it a native application and it worked fine.  This project has always made use of MFC as a statically linked library. I now want to make use of the CLR.  The first step in doing this is to change the use of MFC to shared dll.  When I do this (with no other changes) my application gets the "MFC80D.DLL was not f ...Show All

  • papadi Capturing Screen

    Hello, I've been wondering how is it possible to capture the screen in my Visual C++ 2005 Windows Forms application. With Thanks,                     Gal Beniamini. On your keyboard towards the right side there is a button called insert, straight above that is a small button called prt scr/sysrq, push that button to take a pictur ...Show All

  • GSLAG Application works great on development enviornment but fails on any other XP Pro computer....

    Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help Thanks very much in advance! (MFC but no .NET, and I tried to link everything statically....) build log follows: Creating temporary file "c:\Documents and Setting ...Show All

  • Rakhee "Correct" Workerthread Termination

    Hello, I have used worker threads for a long while and yet always had and still have problems with the "correct" way such threads should be killed for premature termination. They may have files open, are in the process of allocating global memory or doing any number of other things. The closest I got to "correct" is to signal the worker thread through it's priority if it's services are not required anymore for terminati ...Show All

  • gaulind CDialog::DoModal asserting in CWnd::DestroyWindow

    To Brian and Martin, who were involved in helping me out with this , please don't shout at me... This thread does follow on from that post - and I'm now investigating refactoring a static library which contains a few MFC classes into a shared DLL - using __declspec(dllexport) to export functions and classes that will be needed across all facets of the solution that need the shared functionality. I've looked all over the place for an ans ...Show All

  • smoothcoder Compiler bug?

    I believe the following should compile;it does not under MSVC 1400: namespace n { void f(); void g(); void g(int); } void n::f() { struct s { void m() { g(); // error C2326: 'void n::f::s::m(void)' : function cannot access 'n::g' n::g(); using n::g; g(); } }; } MSVC 1310 also fails to compile it with a similar error. I reported this fact a while back and Microsof ...Show All

  • JohnFTZ How do I get a graphics^ object???

    I am sorry to post again, but I cannot find out how to get a graphics^ object. As I only know the old C++ I am completely lost. Pls help me if you can. Here is a very nice article regarding the new syntax: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/vs05cplus.asp Also, for graphics object, I believe you can just create a new System::Windows::Forms::Control object say MyCo ...Show All

  • DeepDubey Cannot Instantiate abstract class

    Hello Everyone, I have something like this.... namespace RIM_USBClient { __gc class USBClient : public IChannelEvents { public : USBClient() { } ~USBClient() {} public : void Open_USB(); }; } In my .cpp when I try to say USBClient *listen = new USBClient(); I get this error.....I checked on msdn, the way they gave I tried still the same..... Any help highly appreciated.... ...Show All

  • Palcouk Redistribution of C runtime libraries without MSI installation

    Hi guys, I'm trying to get an installer of our product working.  I've finally gotten it compiling and running under VS2005.  For various technical and political reasons, I have to use NSIS as our installation technique. This is where the problem begins.  I can't quite see how to redistribute the relevant CRT libraries.  I've been round and round in circles following the MSDN information, and various blog postings (e.g. http:/ ...Show All

  • Tim1 '0' character oddity

    I'm working on a Poker game for a class project and I've come across an unexpected behavior of the '0' character. One I know it might be better to use '1' but, I haven't, up to this point anyway. I'm just wonder if anyone could explain to me why this code is actually working. It confounds me. Is it a bug I'm trying to sort a hand of Card objects, implemented as such: struct Hand { const static int COUNT = 5; Cards cards[COUNT]; ... } ...Show All

  • rnc3009 Simplest way of doing this

    Hi All, I have to create a file named (Test.xml) with the following contents in XML Format. < xml version="1.0" > <MyProfile xmlns=" http://xyz.com "> <Root> <Name>Harry</Name> <Place>New York</Place> <Country>USA</Country> </Root> <VehicleType>CAR</VehicleType> <MaritalStatus>SINGLE</MaritalStatus> <Personal> <Age>23< ...Show All

  • drpavan Version 6??

    My son is teaching himself game programming in C++. The books he is using all work with C++ version 6. Can we still get C++ version 6, or does this matter Any assistance will be gratefully received! Still, express is free so I think that is still the best to go for. Its easy to find and it's more standard compliant. Alternatively, you might use the downloadable Express version (as per the links above), ...Show All

686970717273747576777879808182838485

©2008 Software Development Network

powered by phorum