Answer Questions
Mirko Geffken Initialize Array in Class
Hello, I am trying to get VC++.net (2005 express) working. I have built a class holding an managed array of string. Here is the code. ref class Parse3DHTML { public : int LoadFile(String^ FileName); String^ HTMLText; // String^ Inner3DHTML(String^ ObjectName); // String^ Inner3DHTML(int Index); private : array <String^>^ Comments; array <String^>^ Tags; int AddComment(String^ C ...Show All
memevilas How to build GDI+ examples - LNK2001?
I've been trying to build some of the example code in the MSDN library, like the examples in GDI+ getting started or the one for Bitmap::LockBits method. Just the very first couple of lines give rise to a problem #include <windows.h> #include <gdiplus.h> creates this link error: xformBmp3 error LNK2001: unresolved external symbol "enum Gdiplus::Status __stdcall GdipCloneStringFormat(class Gdiplus::GpStringFormat const *,class Gd ...Show All
speertje Trouble with Speech SDK 5.1 and Visual Studio 2005
Hi I updated my version of Vs 2003 to Vs 2005 Pro . My project was sucessfully compilated and linked in 2003 , but i seem to have trouble with SpHelper.h. ( Speech API) Error 18 error C2065: 'psz' : undeclared identifier F:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h 2373 Error 38 error C2065: 'psz' : undeclared identifier F:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h 23 ...Show All
TomC456 Unhandled exception at ......
Hi all. I have this code: //an object, create as MObject* object = new MObject(); object->value=10; //try to delete to delete memory of this object delete object; //and then check it //this object is not NULL if (object!=NULL){ //its memory is deleted, so below command is error, how to catch this error by // try{}catch("what is here"){} , or have other way to catch this error int j=object->value; ...... ...Show All
MuraliN Compiling Error on VC 7.1
I have compiled my code in VC 7.1. It was written in VC 6.0. Following is the compilation error I get:- error C2872: 'IXMLDOMNodePtr' : ambiguous symbol Has any one face a similar problem Any solution for it. Best Regards, I had removed the using directive. I studied the whole link and it is still causing the problems that is why I posted my problem. I hope you getting my point. Anyways I am finding a soluti ...Show All
Greg Davis about drawing mode problem!
hi,here. SetROP2( R2_NOT ) R2_NOT Pixel is the inverse of the screen color. above information from MSDN. what is the screen color. I feel very confused. who may tell me more concretely thanks .. The existing color of a pixel on the screen. Using this ROP with a PEN negates the color. So draing on a white surface will result in a blackline, drawing on a black surface will result in a white line. ...Show All
Senefelder Error C3767
I've read through all I can find on C3767, and I can't figure out why I keep getting it. The error refers to a compliance issue with the c++ standard and injected friend function names into the containing namespace. But in my situation the compiler is complaining about a static function on a value class, not a friend function. My error seems very similar to the one posted back in February in this forum: http://forums.microsoft.com/MSDN/ShowPost. ...Show All
JBoult DLL and LIB problem
Hi, Please help. I want to create a library of utility functions in Msdev 6.0. But I only get the DLL file as output. I don't get the LIB as output. I do this so as to keep this library with me for future use. I clicked on the Win32 Library option initially when creating this project. I think I am going around this in the wrong way. Please suggest the correct way of doing this. Thanks Nibu thomas Under "Project Settings" on the Link page, ...Show All
Kitz Debugging an nmake project...
Hey everyone, I'm asking about this because I'm trying to make some modifications to Ghostscript. I've set up an nmake project as per the directions in their documentation. The project builds just fine. But I have the Output set to GhostScript02.exe. This file does not exist anywhere on my system. Where is the output being directed I ask this because the documentation says to debug with bin/gswin32.exe. The source did not come with this ex ...Show All
Armando Gueco VC++ 2005 Standard vs. Professional: details needed
What are the detailed (comprehensive) differences between Visual Studio 2005 Standard and Professional editions (esp. from the C++ perspective) I have read many posts on this topic, but none are definitive or authoritative. For example, http://msdn2.microsoft.com/hs24szh9.aspx lists coarse-grained tools and features, but does not detail what is meant here by a "Streamlined" vs. a "Full" user experience. Also, pages lik ...Show All
_zulu_ New STL debug iterator strategy assert fails on standard code
The following peace of code makes the new stl port crashes (asserts) in debug mode. It happens both in Visual C++ 2005 & Express. vector<int> vs; vs.push_back(1); vector<int>::iterator i=vs.begin(); vs.pop_back(); if (i!=vs.end()) // assert here in != operator ; Obviously the code is stupid (useless) but this is standard, and there is many way to make a concrete (usefull) example crashes. The reason ...Show All
Leo Fi 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! The following code :- int decimal; int sign; char cNum[50]; double dNUM = 210.19; _fcvt_s(cNum, 50, dNUM, 2, &decimal, &sign); CString str = CA2T(cNum); str.Insert(decimal,_T('.')); MessageBox(str); //correctly shows 210.19 ...works fine for me. Looks ...Show All
Raventhorp plugin based applications in c++ projects
Hi friends If i want to code a big project in C++ in VS2005 which road must i follow What do you advice me Especially i want to design it with plugin support.I write it skeleton, then other parts will be plugin or it can be developed by other coders.I want to learn what must i prepare before start coding.How must projects settings be for plugin support or for a such a big project.(For great extensibility) I am looking for your answers.Any ...Show All
The real Ethan com+ 1.0 support
Hi, I'm updating a bunch of our c++ code to use the 8.0 compiler and have run into an issue. One of our projects uses com+ 1.0 and references the mtxguid.lib library. I see that this file existed with the vc98 and vc7 compilers but not the vc8. Is there another library we are to use or should we just link back to one of the old ones thanks I found another one that was missing, but this time it was missin ...Show All
Andry how do I create .exe file?
Hello everybody, I am very new to Visual Studio. I created a solution, and I can start it with " CRTL + F5 "-key. This means it is being compiled and then executed. Now I want to build an *.exe-file from it, which will be executed by a linking desktop icon for example. I tried many times to find this out, but couldn't. I use the Visual C++ 2005 Express Edition . I would be very happy if anybody could help me. ...Show All
