Answer Questions
Brandon Amoroso why can't find the .h file!
I begin a Blank solution that named AllInOne.ADD a C++ Win32 project named Math Library and change the Application Settings to a static library. Next,Select a C++ Win32 Console application and name it Harness. MathLibrary project in Solution Explorer add a Generic C++ Class that named Arithmetic. In Solution Explorer, right-click the Harness project and choose Properties. Under Configuration Properties on the left, expand t ...Show All
Jitani VC++ Debugging - skip standard library code?
While stepping through my code in the debugger, can I automatically skip over STL (and other standard library) code If so, how I understand that. What I was hoping for was automatic skipping of standard library source code. For example, if I call std::for_each(some_container.begin(), some_container.end(), MyFunctor()); where MyFunctor has operator()() defined, I would like the debugger to skip all the ...Show All
jinxed C++/CLI language design questions
I'm doing another C++/CLI project that involves porting some of my native C++ classes so that I can mix both native and managed code. And I'm hitting the same issues often enough to wonder about a few things about the C++/CLI language design. One of the major changes from the old C++/CLI syntax to the new one is that you cannot have an unmanaged class member of a ref class. e.g. class U { ... }; ref class M { U u; ...Show All
RWeigelt Data Access Error
I am developing a VC++ .Net Win Forms Application I want to define a double precision array of points required later in the program I have defined a class to store the data as global variables (Access public with static variable) public __gc class GVar { public: static Double dArray[,] = new Double __gc[1000,200]; }; And a button click event is defined as follows private: System::Void btnNext_Click(Syste ...Show All
Ing. Miriam Escuadra What is this?
Hi this is a segment of code that I have been working on. I am tryin to compare this output to a string. //******************************************************************* if (hPhysicalDriveIOCTL != INVALID_HANDLE_VALUE) { STORAGE_PROPERTY_QUERY query; DWORD cbBytesReturned = 0; char buffer [10000]; query.PropertyId = StorageDeviceProperty; query.QueryType = PropertyStandardQuery; if ( DeviceIoControl (hPhysicalDriveIOCTL, IOCTL ...Show All
Volker W. error C2061 when compilling
hey guys, i have this weird problem. i have a native dll i did. i create a struct in it, and declare a pointer and use it in a function member in a class. i compile this native dll with absolutely no problem at all. i come to wrap this native dll in a managed dll. i include the header file of the native and the lib file, and compile without using the code from native dll. and i get a "error C2061: syntax error : identifier 'NMaterial'" in t ...Show All
MikeB2007 msvcr80d.dll not found
I've created a simple Win32 console application. When I try to debug it, I get the message: "This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem." The Release version runs fine. Any idea as to what the problem could be Thanks, Jonny Ok, same problem here: I created the exactly same visual studio project, once on an NTFS partition and ...Show All
Charlie545587 Windows XP Password character.
Hi, Dont know if this is the correct forum, but since I didnt get any answers elsewhere, I'm posting it here as well The Problem: On some machines, my password field displays the password character as the "dot" - which is XP standard, and on other machines it dispays small square boxes. Details: We have written a win32 application in C++ with, in which we have a password field. Inorder to use the XP style of "bulleted" password chars (in ...Show All
Mercedestime Visual C++ 2005 MFC support
Hi, When will 2005 C++ be available with MFC support If the answer is never, what are my options to compile a C++ program with MFC now and in the future Please do not tell me Microsoft is now having home developers (like myself) puchase the full blown Visual Studio 2005 just to compile a MFC C++ application. Brian you are using the wrong book written for an old version, probably vc++ 6.0, really old. Find anot ...Show All
saleem145 How to execute DCM converter in VC++
Hi, I am new to VC++ and i am working on DCM Converter. I found this project (i.e. DCM Converter) on net. but i failed to execute it in VC++ environment. I downloaded that source code from net. That uses CxImage and DCMTK. I downloaded the source code of both these(DCMTK and CxImage) and put that in a folder along with dcm converter. I changed the project settings as directed on Cximage web page. then i compiled all the three (dcm converter, DCM ...Show All
Harald Balik Newbie question about Interfaces of DirectX, or other libraries
Hi, im trying to make an application with DirectX libraries. in a line of the code, i make this declaration: ICaptureGraphBuilder *pBuilder; (ICaptureGraphBuilder is an interface of DirectX libraries.) But when compile, it gives me this error: "error C2501: 'ICaptureGraphBuilder' : missing storage-class or type specifiers" What I have to do to declare variables or pointers from interfaces without error Declare ...Show All
Chinh Nguyen Linking Error
I get this linking error:- error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CMyClass2::GetEventSinkMap(void)const " ( GetEventSinkMap@ECGetFieldDlg@@MBEPBUAFX_EVENTSINKMAP@@XZ ) Can some one please tell me the reason and solution of it as well. Best Regards, Alrite I found this error ... Thanx anyway for ur help ... I mistakenly commented those lines. For ...Show All
Jack Dawson Function pointers and delegates
I'm trying to build a managed wrapper in C++/CLI for an existing static library written in C. I have a class where a few callbacks are needed. In the static library you have a function called "set" which registers the callback. However I'm strugling with some managed vs. unmanaged type problems. Lets say you have a callback with the following prototype: void f1proc(char *szString, int nSomeOtherData); Since I want to use String ^ instead of char ...Show All
Patrick Fredin Is PGO available in the standard edition of VS2005?
Aloha! A few years back I bought the standard edition of Visual Studio.NET and was disappointed to see that it didn't feature the optimizing C compiler - that was reserved for the professional edition, and made a speed difference of a factor of 2 or more. Now, I see that PGO will not be supported in the express products :-(. I realize that PGO is not going to make a huge difference, but an additional 20% aer always appreciated in board game prog ...Show All
NPrinsloo Convert double to char
Hi, Can someone please explain to me how I convert a double variable to char, and then even how I convert it back to double from char Thanks! Ok The last post was correct, you can only convert a double to a char array ie, char DoubleNum[10]; When converting a double to a char string you have to decide on the amount of decimal places. Here is the tricky part, converting a double to a char str does not ...Show All
