Answer Questions
Adam Prout VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Chad Bumstead MFC of Visual Studio 2003 Profissional on Express Edition
Hi! I have bought the Visual Studio 2003 Professional and it brings with the MFC library. I would like to know if I can copy and use the mfc libs and headers in the Visual Studio 2005 Express Thanks Victor No! 1. The Express Version has no Resource Editor. 2. You need to recompile the MFC libs because VS 2005 will link against the VC 8.0 C ...Show All
Morse visual studio 2005 recompiles all
Hi, I just installed Visual Studio 2005 (on an XP64). Visual Studio 2005 recompiles all files in the project everytime, regardless whether changes were made or not. I browsed through all options, but can't find anything related to this. Minimal rebuild doesn't do it. Is there something I'm missing Thanks. No, the system clock is still the same. It may have something todo with Perforce, which I am using as SCCS. I didn't have this p ...Show All
NewSQL2005 User about vc++ ??
I already learn c++.now,I want to learn vc++ .net. But i don't know what book i shall use. As a beginner,who may help me to find some web as to learn vc++ Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 for recommended books. Thanks, Ayman Shoukry VC++ Team ...Show All
ChrisFrick Image Color Management in VC++ 8 Platform SDK
I'm converting a VC++ 6 MFC app to VC++ 8 using Visual Studio 2005 Standard. The existing app uses Image Color Management, so it #include's icm.h. In the VC++ 6 environment, it is included from the Platform SDK [$(ProgramFiles)Microsoft SDK\include] directory. A Visual Studio .Net installation delivers a version of the Platform SDK in a subdirectory of the VC directory [$(VCInstallDir)PlatformSDK] and this directory is setup to be used for in ...Show All
wertasdff Using CWinFormsDialog
I have tried to follow the "Hosting a Windows Form User Control as an MFC Dialog Box" sample in MSDN which uses CWinFormsDialog to wrap a .Net dialog. Firstly, the sample is incomplete, the description of the .Net control used is missing, so I am not convinced that I have created that correctly. When I execute the C++ code (as I think it should be), I get an exception raised during the DoModal call on the wrapped class. It is failing in AfxGe ...Show All
Ben Nakagawa MFC-> Minimizing the window to the status area
Hi, after I create NotifyIcon, how can I make my program (after doing somestuff first) restore and minimze to tray (statusarea) <Bigguy Graves@discussions.microsoft.com> wrote in message news:29a9c3f6-b163-4359-974b-fa7d9d9c888a@discussions.microsoft.com > Hi, after I create NotifyIcon, how can I make my program (after doing > somestuff first) restore and minimze to tray ...Show All
MarlaF VC++ migration problems
I'm trying to bring a project from VC6 to VS2005 Pro. When I first imported the project there was, not unexpectedly, a long list of compiler errors and warnings, and I modified the source code to get rid of all of them, and am now left with 2 problems I'm not sure how to fix. 1) I get an error during the html help phase of compilation to the tune of "windows can't find hcw" - that's the executable for the help workshop. I see that ...Show All
pfabrie C++ calling C# Dll -> EEFileLoadException in debugger but works correctly if I just run from windows directly.
I have a C++ application usings a DLL written in <Managed C++> that connects to a web service. My code is : hAuthDll = LoadLibrary("AuthSrvClient_w32.dll"); authtx = (AuthTransactionType)GetProcAddress(hAuthDll, "AuthTransaction"); authtx("URL", "UserName", "Password", pData); MessageBox(NULL, pData->Response, "HERE", MB_OK); Theres also some error checking omitted. When I try to run the program thorugh the VS2k5 debugger it always cra ...Show All
HennieE Exception thrown while loading an assembly.
We have taken a set of existing C++ libraries and compiled them using /clr under VS2005 RC1. To avoid the double-thunking penalty, I was experimenting with converting them to static libraries and then linking them together in one large DLL. This seems to be working (although I seem to have to explicitly include .obj files for newer fully managed classes). However, when I go to load this assembly using a test executable (that basical ...Show All
Gregor Suttie CString::Format issue
Hi, I've recently been forced to change my project from using a MBCS to Unicode. This has thrown up a number of problems with my code one of which is below. text.Format ("Row %d,Col %d",ln,col); Thats is the line that I had in when using MBCS, I know how to format strings etc under unicode, and the problem isnt the change, it is what would that string appears as under MBCS, I cant seem to find much on what the %d thing would do, so if so ...Show All
James Curran 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
LarsLindstr&#246;m LINK.EXE BUG: /OPT:NOREF option doesn't work!
My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, al ...Show All
hotentote Like to know the correct WM_????? message.
Hello, I like to write a dialog program that will respond some action for mouse right click while the dialog window is minimized. I don't know which WM_ will fit in this need work and what class this message event handler will belong to. Any ideas Pls advise me. Thanks. I am writing a program to take screenshots of the applications so I need my dialog window minimized to take snapshot with rig ...Show All
BillH133092 c++ program wont start
Hi i developed my program in win XP with SP2 i use this functions: mciSendString mciGetErrorString i #include this : #include "stdafx.h" #include <windows.h> #include <iostream> #include <string> #include <mmsystem.h> #include <Commdlg.h> #include <fstream> project .LIBs : WinMm.lib ComDlg32.lib and when i ...Show All
