Answer Questions
Demented Devil Latest compiler creating XP-only compatible .exe files
[had no luck on the Visual Studio Express forum...] Has the compiler for this new release version of VC++express changed since the beta On a different forum, the following posts have been made: " I always use UPX to compress my binaries, and it seems that compressing the output of the new compiler produces something that doesn't run." "Is there any managed code in it UPX butchers that as I recall as it is not actual valid machin ...Show All
Andrew Choi How to run an application when clicking "Shut Down" from start menu?
Hello, I am using Windows 2000 Professional and VC++ 6.0 (MFC). I have created a simple dialog based application. I want to run this application when I click "Shut Down" from start menu. How to achieve this TIA, Regards, Jahfer V P Just read this: http://pcworld.about.com/magazine/2206p160id115628.htm HTH Just read this: > http://pcworld.about.com/magazine/2206p160id115628.htm -- Ma ...Show All
Subhash Subramanyam Problem with VS6->VS2005
Hi need help... lots of help... 1] What the hell happened to stprintf function 1.a] How can i convert a char* to TCHAR* 1.b] why in nine hells does VS2005 say sprintf - undeclared identifier when stdio is included I tried looking for some reasonable answers, but god forsake me, i wasn't able to get from either MSDN library or anywhere else something useful... 2] VS2005 for some mysterious reason doesn't know anymore LVITEM, ...Show All
old_nick12 Tab is not working with my VC++ Dialog !
Dear All, In my VC++ Dialog, Tab is not working when ever i call that dialog from the Menu. However Tab works absolutely fine whenever I call same Dialog from another Dialog. I have tested it, Tab on My Dialog (say Dialog-A) works fine when ever i called it from another Dialog (say Dialog-B). But when ever the Dialog is called directly from the Menu, Tab doesn't work. I am really struggling to get rid of the simplest thing (As I am ne ...Show All
Steven Higgan Unable to build native Win32 apps
I am using Visual Studio 2005. I get error messages when I build a native Win32 app in Visual C++ .Net 2005 The first error is d:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' This is the line: typedef void * POINTER_64 PVOID64; How can there be an ...Show All
Crazy8 /docDebug\' and '/clr:oldsyntax' not incompatible???
I tried to activate to "Generate XML documentation Files" option on a C++/Clr project and I reveived the following error: Command line error D8016 : '/docDebug\' and '/clr:oldsyntax' command-line options are incompatible I'm not sure I like this one. I can activate this option on a native C++ code but not on all the code I did with VS2003 in managed code Stephane Guerin Ok, I just did that. F ...Show All
just david help with 2 express beta products install
i have vb.net express 2005 beta on my machine but i want to install visual c++ beta 2005 along side it... is this possible and how do i do it without breaking vb.net Yes, all the diffent Express Editions install side by side. Just install The Visual C++ Express Edition. Nothing specifal is needed. Ronald Laeremans Visual C++ team ...Show All
Dilip Pungliya tchar into a string
hello again. I have a new question for you Guys : how can I Convert what is in my buffer (TCHAR) and copy it into my string This could sound stupid to you but i'm not very at ease with tchars and stuff. Thanks! Edit : here a code sample of what I approximatly need to do :P string strPath; TCHAR buffer[MAX_PATH+1]; DWORD iNombreChars = sizeof (buffer); iNombreChars = GetCurrentDirectory(iNombreChars, buf ...Show All
Arjun B Rebuild using shared precompiled headers doesn't work
To combat a long build time, I consolidated common headers across 20+ projects into a single precompiled header, to be shared. The pch file is generated from a separate project (pch.vcproj with stdafx.cpp/h), and it works with clean builds and incremental builds (from editing one of the files belonging to the 20+ projects), but I get compile errors when I choose Rebuild. Before presuming a bug, I'd like to ask the forum for he ...Show All
AnushaD MFC porting
"Hello world", i would like to know if somebody can suggest me the best way to port a MFC application to UNIX/LINUX system. My application is a MFC 7.1. Thanks Lewix If you end up doing this, you may want to consider wxWidgets or Qt as the framework for the *nix port. Or you can run on the WINE emulator. I don't know the viability of these approaches. Just giving you some ideas for you to google on. ...Show All
Mike Wasson - MSFT New to VC++, can't really get started...
I'm a C programmer and I just installed VC++, created a new project called test1, and started typing in code. I decided to make a real simple program that has some input and output so I can see how VC++ works but after I create my project and type in my code, I do not know where to go from there. I decided to debug since that is the first thing I do with all my other compilers, then compile and build but it cannot find test1.exe ...Show All
Rahesh warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead
I have a .NET Class Library that is linking in a static library which has code callbacks defined with __stdcall. On compile I get the warning: warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead How can I correct this is does it not matter Managed types need to use __clrcall. The only way to avoid the warning is to change the code or to put those functions in ...Show All
zeroXML Why is VC8 code much slower than VC7.1?
I have built the code below using both MSVC 7.1 and 8.0 beta 2, using the command shown in the initial comment. When run on a 3GHz P4 with 1GB RAM, running XP SP2, the output is as follows: VC7.1: Time = 62 VC8.0: Time = 110 Why does the 8.0 build take 1.77 times as long to run Thanks, Keith MacDonald ///////////////////////////////// // cl -Ox -EHsc -MT TimeTest.cpp #define WIN32_LEAN_AND_MEAN #include <window ...Show All
Narendra having problem in loading a resource dll
<bk pradeep@discussions.microsoft.com> wrote in message news:8d6cef00-7b72-4588-a50e-955fef9f0ddc@discussions.microsoft.com > Iam new to win32 programming. I have a resouce only dll with some > dialogs and bitmaps. Now I need to use this resource dll from my > win32 dll. I have tried using loadlibrary and loadresouce but somehow > its failing. can you kindly provide me with code snippets or ref ...Show All
Teetime Makefiles in Visual C++
Hi, I am no professional programmer, nor am I a developer, nor do I have 40 years programming experience, so please don't laugh at my stupid question. My question is this: Is there any way to add Makefiles to Visual C++ The reason I ask is this: Suppose I have multiple C files in my project, and I have 2 different driver files with 2 different mains ...how does visual C++ know which main to begin executiion in ...Show All
