Software Development Network Logo
  • IE Development
  • Microsoft ISV
  • .NET Development
  • SharePoint Products
  • Visual C++
  • Visual Basic
  • SQL Server
  • Windows Vista
  • Game Technologies
  • Smart Devicet
  • Visual Studio
  • Visual C#
  • Windows Forms
  • Visual FoxPro
  • Audio and Video

Software Development Network >> Visual C++

Visual C++

New Question

MANIFEST file for a COM Outlook Add-In with VS2005 ?
How to make dynamic 2D arrays?
Abstract class object
Write a text file with Visual Studio
binaryFormatter, Deserilize
net and mfc
Is there any way to view contents of clipboard ring?
problem with a .exe
Static library with CLR
File Upload/Download using HTTP

Top Answerers

milex
jchohio
claudio32
Frank Racis
BurtBrick
Six
Simon Rapier
lwsimpson
GeneralSQL
Dan Mikkelsen
IProgrammatori.it
Only Title

Answer Questions

  • SteveG_AU XP style for IE Toolbar

    Hello friends, I m creating a toolbar for internet explorer. My application is VC++ ATL DLL which attach a toolbar to IE. I m using VS-2005. Now i implemented XP style for the toolbar using manifest file. Its working fine, means my buutons on toolbar are looking in XP style, but now button size has been increased. Before XP style size was (22 , 81), but after XP style it becomes (30 , 87). Due to this reason my buttons are not fitting on the toolbar. Buttons bottom edge is hidden due to increased height. if someone know what is the prob then plz reply.... Thanks in advance. ###Harry### Hello Re: XP style for IE Toolbar The more appropriate place for your question is probably the ATL newsgroup: http://msdn.mi ...Show All

  • Ayukawa Mixing different versions of MFC

    Greetings, I'm working on a project that involves a VS 2005 MFC application which is setup to use MFC in a Shared DLL. It has come to my attention that there are VS 2003 DLLs and VS 6 DLLs being used, which are also setup to use MFC in a Shared DLL. Obviously this is bringing in multiple versions of the MFC. Between the spectacular crashes and researching this topic, I've found out that this isn't going to work. Why the post I'd like to know the MFC team's stance on this subject and options to correct Also, is their any documentation that I haven't found regarding Microsoft's stance on mixing different MFC versions subject Options already suggested are: -Upgrade all DLLs to use VS 2005 and thus they all use the same MFC versi ...Show All

  • Evan Mulawski Double quotes in in strings....

    There is a string: dotnetfx.exe /q /c:"install.exe /q" How does one hand double quotes in something like this if ( ! IsInstalledFramework()){ShellExecuteAndWait(_T( "dotnetfx.exe\0" ),_T( "/q:a /c:\\" install /l /q "\0" ), true );} Thanks... You have two \\ , which creates a \. \" creates quotes. if ( ! IsInstalledFramework()){ShellExecuteAndWait(_T( "dotnetfx.exe\0" ),_T( "/q:a /c:\" install /l /q\ "\0" ), true );} You shouldn't need the \0, your constant strings should be null terminated by the compiler, at least I would have expected that to be the case. Thank you Christian. ...Show All

  • BCossa Problem with deployment (VC++ 2005)

    I have run into a strange problem with deploying applications developed using the VC++ 2005 Express Edition. After building "release" versions on my development machine, I usually copy the release binary over to a laptop and run it there (the laptop has .NET 2.0 and VC++ 2005 Redistributable packages installed, but not the development environment). Both computers are running Windows XP Professional. Now, all of a sudden, I am finding that new applications that I am developing are NOT running on the laptop after I copy the release binaries over. The error message complains about incorrect configuration... And yet, I am still able to copy my earlier applications over to the laptop and run them without any problem. As far as I ...Show All

  • QuantumMischief Dependency debugging

    Is there anyway to turn on any kind of dependency output so I can debug a problem that I'm having If you've ever used make i'd like to see output similar to 'make -p'. My solution file has 15 projects in it and any time I try to debug the main program it thinks that all the projects are out of date and need to be rebuilt even i just rebuilt 2 seconds ago. Thanks in advance. Thanks John! You are correct. I moved it back to the VC General forum. I will inform the VC++ IDE folks. Thanks, Ayman Shoukry VC++ Team is there anyway to generate an nmake Makefile from my solution/project This is very annoying. Please add something like this or fix the visual C+ ...Show All

  • Fuehner Going From C# to C++

    As title says. I have been writing with C# for about a year at school, and now I have to teach myself the syntax for C++ for some other classes. I know it shouldn't be too hard, but is there any websites out there that could possibly help Thanks. This link may help you http://www.cplusplus.com/doc/tutorial/ If you are eager to know more about C++/CLI http://msdn2.microsoft.com/en-us/visualc/aa336412.aspx There are alot of articles in codeproject and codeguru to help you. You can read the books C++ books by Bjarne Stroustrup Read the link to get the The Most Important C++ Non-Book Publications... Ever ...Show All

  • TedSA A Missing Include?

    Dear Collective Wisdom, I am a C/C++ newbie using Visual C++ 2005 Windows Forms to try to compile a C code project developed (by someone else) in MacIntosh Project Builder. A sample of some of the error messages I am receiving are as follows: Error 7 error C2065: 'FILE' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 82 Error 8 error C2065: 'inFilePtr' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 82 Error 9 error C3861: 'sprintf': identifier not found c:\FNSimulator\ReadLayup.cpp 85 Error 10 error C3861: 'fopen': identifier not found c:\FNSimulator\ReadLayup.cpp 86 Error 11 error C2065: 'cout' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 88 Error 12 error C3861: 'calloc': identifier not found c:\FN ...Show All

  • Michael Vanhoutte VS2005 C++ compiler bug?

    I do not know if this is the best forum to report a MS VC++ compiler bug (please advise if I should post this to another forum). In the process of migrating code from VC6 to VC8 (i.e. Visual Studio 2005 Professional Edition) I have stumbled across what I believe is a C++ compiler bug in the handling of template functions invoking the function call operator. Details and other ramblings below (after the example code that exposes the problem). #include <algorithm> #include <list> #include <stdio.h> #include <tchar.h> class A { public : // explicit initialising constructor (made explicit to avoid implicit conversions or casts) explicit A ...Show All

  • donkaiser DirectX Symbol Not Found, Can anyone help?

    Hi this is some sample code i have been trying to run in Visual Studio Express: #define STRICT #define WIN32_LEAN_AND_MEAN #include "stdafx.h" #include <windows.h> #include <d3d9.h> #include <d3dx9.h> #include "resource.h" //----------------------------------------------------------------------------- // GLOBALS //----------------------------------------------------------------------------- HWND g_hWnd = NULL; LPDIRECT3D9 g_pD3D = NULL; LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; //----------------------------------------------------------------------------- // PROTOTYPES //------------------------------------------------------------ ...Show All

  • JoelSSIS Usage of MC++ class in other .NET languages

    Is it possible to create a MC++ class that uses managed and unmanged code and deploy that class so that it is useable from other managed languages like C# or VB.NET If so how would I go about accomplishing this Yes, this is exactly the place of C++/CLI language in .NET. Create C++/CLI Class Library and write class which exposes pure .NET interface. Internally this class can use unmanaged code, for example, call some unmanaged API. To use this class in C# or VB client, add library reference to the client project and use this class. ...Show All

  • qrli Problems converting vs2003 project to vs2005

    I recently convert a solution with 11 or so C# and C++ projects from vs2003 to vs2005. I ran into a host of issues and I've managed to work thru all of them but this one. CmdProcess.obj : fatal error LNK1215: metadata operation failed (80131192) : There is no additional information after the colon. Any thoughts on where to beginning looking for the problem Take a look at these previous posts dealing with similar issues: http://forums.microsoft.com/MSDN/Search/Search.aspx words=metadata+operation+failed&localechoice=9&SiteID=1&searchscope=forumscope&ForumID=29 Hope this helps you get started! Thanks, Ayman Shoukry VC++ Team I've seen those other posts, ...Show All

  • Michael_Giagnocavo How to reset all configuration in VS05

    I had problem that i cannot run my project in debug mode. It said some heap error. But i try to run the same project in another user account in the same PC, it can run normally. So i think the problem come because of some setting, registry configuration error in my old user account. Then i want to know hoe to reset all setting in VS05, I had try Tool->Import-export setting->Reset all env setting already but it doesnot help. And i try to copy the config file from new user account to old account too but it does not help too. This topic relate to my previous post (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1272008&SiteID=1) ...Show All

  • 13one error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib

    Hello, I am pretty new on VC ++ 2005. I use VC++ 2005 and created a Win32 console application. I got the error messages: Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib Error 2 fatal error LNK1120: 1 unresolved externals C:\C++ Projects\ImageStore\Debug\ImageStore.exe 1 Here is the code. Thanks in advance! //Imagestore.cpp #using #using using namespace System; using namespace System::Collections::Generic; using namespace System::Text; using namespace System::Data; using namespace System::Data::SqlClient; using namespace System::IO; namespace ImageStore { private ref class Class1 { public: static int Main(array ^args) { int errorCode = 0; Class1 ^oMain = gcnew Cl ...Show All

  • RameezM Suppress Startup Banner

    In VC++ compiler properties there is an option C\C++-> General -> Suppress Startup Banner. I tried both yes and no before compiling. But nothing changed. In msdn: "Suppresses the display of the sign-on banner when the compiler starts up and display of informational messages during compiling." I dont understand what this option is about. Can you please explain it. Thank you You'll probably see better if you compile from the command-line. If I compile as follows: cl hello.cpp I get: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.11010 for 80x86 Copyright (C) Microsoft Corporation.  All rights reserved. hello.cpp Microsoft (R) Incremental Linker Version 9.00.110 ...Show All

  • Steveiwonder ambiguity of function "min"

    I migrated my platform from version 6 to 8. Then the following error occurs. Actually, I can comment out my definition to make it work. I just don't understand why c:\program files\microsoft visual studio 8\vc\include\xutility is included I didn't include it by myself. Is this a system header How can I disable this header Thanks! c:\source\fixedpoint.h(27) : error C2668: 'min' : ambiguous call to overloaded function c:\panliu1\wcdma\hsdpa\wcdma_hsdpa_platform_bs\source\global.h(274): could be 'T min<double>(T,T)' with [ T=double ] c:\program files\microsoft visual studio 8\vc\include\xutility(2951): or 'const _Ty &std::min<double>(const _Ty &,const _Ty &)' with [ _Ty=dou ...Show All

252627282930313233343536373839404142

©2008 Software Development Network

powered by phorum