Answer Questions
diavolo Clicking Toolbar buttons programmitically
I am trying to get the handle of the Menu Bar present in an application (Araxis Merge). I am able to get the handle as it is of class type "ToolBarWindow32". But now i want to get the command ID of the buttons present but i am failing to do so My code is: TBBUTTONINFO info; ZeroMemory(&info , sizeof(TBBUTTONINFO)); info.cbSize = sizeof(info); info.dwMask = TBIF_COMMAND; ...Show All
Jurgen Convert Visual C++ 2003 to Visual C++ 2005
I try convert Visual C++ 2003 to Visual C++ 2005 bata but it covert all the way. I am wondering in Novenber when Visual C++ 2005 is release will it convert I am not sure I understand your questions. Any ways, the final VS2005 bits are now on msdn at http://msdn.microsoft.com/subscriptions/ . Try converting your project and if you still have issues, feel free to post the description here. Thanks, Ayman Shoukry VC++ Team ...Show All
kamald I want to compile xerces-c as Com Object use VC6 & PSDK2003SP1
Your PSDK is too new. Note that the PSDK2003SP1 does NOT work under VC6. The errors you are receiving are just one of the problems you will get when you try to force VC6 to use the PSDK2003SP1. The last PSDK that supported VC6 was the February 2003 edition. If you're quick, you can still download it at: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm . Unfortunately, Microsoft have now been alerted that their o ...Show All
GTG GetDC function
"anonymous@discussions.microsoft.com" <lewix@discussions.microsoft.com> wrote in message news:5c171357-414c-4815-a105-05f8076d448d_WBRev3_@discussions.microsoft.com > This post has been edited either by the author or a moderator in the > Microsoft Forums: http://forums.microsoft.com Hi, > i hope i'm not posting a newbie question. > I have to get current DC handler of my window dialog, so (as > ...Show All
trofimich Template-based properties not recognized by C# IntelliSense? (and more)
Hello, I have several questions regarding VS 2005 Beta 2. 1) I'm trying to create an assembly in C++. My assembly contains a class, which contains a property of a type based on template class, something like this: property Templ<Class1>^ TestProp; Now, when I compile the assembly and try using it in a C# application, this property doesn't seem to be recognized by C#'s IntelliSense. If I type the property name manually, the progr ...Show All
chid Assertion failure in Visual C++ 6.0
Hi, I am trying to buid a gui(.EXE file) using MFC in Visual C++ 6.0.The code compiles and builds fine but when I try to run the .exe file it gives me an assertion error which indicates error in dlgdata.cpp file(line 43). I have gone through msdn resource which indicates that I need to add AFX_MANAGE_STATE(AfxGetStatic ModuleState()) in some functions. I am not too clear with where exactly I need to add this statement-Is it in the so ...Show All
Pedro Pinto "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
spTin lnk2019 issue
Hi everyone, I am new to this and would like to apologize in advance if the issue i address here has already been answered ( i did look ). I am porting over vs6.0 to vs2005 and running into problems when trying to compile. Error 13 error LNK2019: unresolved external symbol _amac_to_bmac referenced in function _smbSrcMAC smb_utils.obj I have multiple .h files and .c files that are being included. I do ...Show All
phuhn managed targeted code requires a /clr option
I am working on a VC++ 2005 project and I get a message "managed targeted code requires a /clr option" when i try to build this project do any one have any suggestion I trying to use a function in the mscorlib.dll to be able to work with the function like, clear, etc. #include <iostream> #include <string> // CL/CLR startup.cpp #using <mscorlib.dll> using namespace system::console; using std::cout; //program uses cout using std ...Show All
pharita How to override basic_streambuf::seekoff?
I am trying to implement the method pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode) in my buffer. I have two important questions: What should the seekoff method return when it moves both pointers at once What should the seekoff method do when it fails Is it required to leave the buffer intact, or is it undefined behaviour I recommend you to use the STL forum here: http://msdn.microsoft.com/newsgroups/default.a ...Show All
Dragan Panjkov Why does my EXE file fails to run on certain Ms XP and Ms 2000 platforms?
I am using Visual Studio 6 to create my simple dialog-based program. In the setting, I have selected to "use MFC as a static library". After building, I get my Released version of my EXE program. This executiable file does run well on the PC on which I developed the program. However, for the PC without Visual Studio, I found the following problems : 1. The EXE does not run at all on many Win XP or Win 2000 platforms where Visual Studio ha ...Show All
mr anonymous Visual C++ compiles much slower on dual core processor
The Background: I recently upgraded from a 2GHz AMD Athlon machine to a 3.2GHz Pentium D dual core processor, thinking that my Visual C++ (.NET 2003) compile times would decrease significantly. In fact, it went the other way round. One of my library projects requires 11 minutes to compile on the AMD machine, but takes 25 minutes on the dual core machine. My entire set of projects compiles in about 4 ho ...Show All
Richard Burte ncb file???
visual studio 2005. project in 'ncb file' is very big file. visual studio 6.0's ncb file size is 20~44KB. but visual studio 2005 ncb file is 2~10MB... what happen this file is so big!! make 10 project...use 100MB... so crazy.. how make small size ncb file Why are you concerned about the size of this file This is simply a solution-scope cache file used by Visual Studio. You should not consider it part of ...Show All
Nick Hustak getting a HBITMAP provided I have a BITMAP
Is there anyway to easily get a handle to a bitmap (ie an HBITMAP) from a BITMAP structure when using the Win32 API with unmanaged C++ I thought that an HBITMAP might just be a pointer to a BITMAP but that was not the case. I do not want to create a new BITMAP so CreateBitmapIndirect( BITMAP * ) is not what I want. I think I am looking for some function that does the opposite of GetObject( HGDIOBJ, int, LPVOID ). ...Show All
WoZoI Help w/ Code
//WaveIn.h #ifndef _WAVEIN_H #define _WAVEIN_H #include <windows.h> #include <mmsystem.h> typedef struct { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; }WAVEFORMATEX; MMRESULT IsFormatSupported(LPWAVEFORMATEX pwfx, UINT uDeviceID) { return (waveOutOpen( NULL, // ptr can be NULL for query uDeviceID, ...Show All
