Answer Questions
JM32714 _WIN64 error "No Target Architecture"
Hi All, Using _WIN64 as compilation flag for my x64 bit application on Visual Studio 2005 beta 2 it gives me a fatal error saying.. D:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(324) : error C23 71: 'size_t' : redefinition; different basic types predefined C++ types (compiler internal)(19) : see declaration of 'size_ t' D:\Program Files\Microsoft Visual Studio 8\VC\ ...Show All
ScubaSteve20001 Notification about Printers
Is there any means by which an application can receive notifications whenever a printer is shared / unshared / Installed / UnInstalled through the printers options in control panel. I have read that an application can receive notifications when file / folder atrributes are changed through windows. Is there anything similar for Printers Thanks I am not sure. Check if a WM_WININICHANGE is sent. ...Show All
吴培 Visual C++ Toolkit for VS2005?
What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional! Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003. This tuesday, after attending Microsoft VS2005 launch event, I came back with V ...Show All
Ran Rose C++ compiler /analyze switch question
Moving question back here. This specific to the C++ compiler. On this test, I expected it to report a use of an uninitialized variable. Is this correct expectation of the /analyze switch I'm using VS 2005 B2. void foo( int & x ) { printf( "%d" , x ); } int main() { int uninitialized; foo( uninitialized ); return 0; } Thanks, ...Show All
Gulden Classes and Declarations
Here is my venture into graphics programming with .NET: public ref class frmMain: public System::Windows::Forms::Form { public : frmMain() { this ->BackColor=System::Drawing::Color::White; this ->ClientSize=System::Drawing::Size(100,100); this ->Paint+= gcnew System::Windows::Forms::PaintEventHandler( this ,&frmMain::frmMain_Paint); } private : void frmMain_Paint(System::Object ^ sender,Syste ...Show All
mrpete_56 Mixing C and C++ MFC
Hello everyone! I am working on this project where I have to implement a decoder/video player. I have a decoder project written in raw C. It takes an encoded file as input and generates a decoded file. I have another project, a video player, which is an MFC implemented in C++. What I have to do is incorporate these two projects together. I have to decode a single frame and play it on the spot. Anyways, this introduction is just to get you guys i ...Show All
Teleo importing VB.net dll (controls) into C++ .net
I had to create custom controls in vb.net for moving in databases in C++.net now my only problem is how do i import that dll or add it to the C++ .net project so that i can use it in any of the forms i'm using. 2 questions how do i match debug to debug and release to releast and also do I have to add and #include to the cpps i want to use the controls in I always add a refer ...Show All
Faldegast How to read unicode character??
Hi all, Currently i am doing one project related to unicode file reading, showing the characters in the ListCtrl . I got my result applying CFile, API WideCharToMultibyte & the reverse one.Here I read BOM for each file(.txt),then got the bytes for respective characters. but i have some confusion regarding whether those functions work properly if the character is more than two bytes ...Show All
CodeOptimist how to terminate threads?
I create one thread function. And started that thread using AfxbeginThread() function, I used AfxEndThread() for stopping thread.........but it doesnt work out. Actually what i do by starting thread Is monitor the changes in the selected folder After ending the thread monitoring could be stopped. but it didnt stopped monitoring........... for stopping the what will i do See this FAQ: http://www. ...Show All
ershad a reference failure
<Placed this post in C# by mistake first> Starting using CppCodeProvider versus VBCodeProvider I got a compiler error that the path could not be found. I dutifully attached the file CppCodeProvider.dll to the project treeview--same error. It says that it cannot find it. Error 1 fatal error C1107: could not find assembly 'CppCodeProvider.dll': please specify the assembly search path using /AI or by setting the LIBPATH environme ...Show All
Smit How to install a Debugger Visualizer for a C++ object in Visual Studio 2005?
How to install a Debugger Visualizer for a C++ object in Visual Studio 2005 I could happily and successfully follow the tutorial for creating a Debugger Visualizer in Visual Studio 2005 Beta 2 in C#. But there was no information about creating such in C++. How to do it What I mean by creating such in C++ is having an object in a C++ application visualised by a Debugger Visualizer (written in any language). Besides, I'm sure i ...Show All
Rocinante8 Timing the compiler
The Visual C++ 2003 linker has an undocumented /TIME option which reports how much time the linker has spent on each phase. Is there a corresponding option for the compiler It would be helpful to know exactly how long each file took to compile. I have a 146-file project taking nearly 30 minutes to build; it would be quite helpful to find out where the delays are. Thanks, it shows the times beau ...Show All
Daes adding a class into a win32 project is not available
i can't add a native class into a win32 project using vc express beta2. this functionality seems to be available but the textbox to specify the class name is disabled, and action cannot be finished properly. is it that vc express is designecd for clr why win32 development is decreased or neglected or i need a re-installation Tesfaye wrote: The 'add class' dialog is somehow deceptive for C++ classes. Click on the 'Add' ...Show All
RGunther Why is strdup() deprecated in VS 2005?
< hyslopc@discussions.microsoft.com > wrote in message news:9a93850c-505b-48c3-bd60-44625db8bbc6_WBRev2_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com You may not care about it, but I do. I don't want to disable the warning because I think the concerns with most of the deprecated functi ...Show All
ThoEng int thisarray[19][14] in a class derived from cobject
I'm using VC++ 6.0 sp6 and I'm trying to create a class:public CObject If I declare an int array it crashes the wiz created SDI program, am I forced to use MFC CArray or CList What causes this Thanks in adv.!! MCRoberts wrote: I'm using VC++ 6.0 sp6 and I'm trying to create a class:public CObject If I declare an int array it crashes the wiz created SDI program, am I forced to use MFC ...Show All
