Answer Questions
zchuang XML reader for native C++
Hi! I'm looking for a small C++ XML SAX reader, similar to XmlTextReader in .NET. The most important thing is that the library is small can be statically linked. Can anybody recommend me anything Thanks in advance! Isn't MSXML only available as a DLL I need a small static link library. If you say you want to use Win98 first edition. Than at least MSXML 2.0 is part of the IE. Read kb Article 269238. So again no reason to avoid us ...Show All
cftdanny aspell compilation problems
Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving ...Show All
Tundra Programmer ultra fast binary writes
Hello, can anyone please help... This is a bit of a general question. My C knowledge is limited to the K&R book. I have used the fsutil tool on windows xp and noticed that the command: fsutil file createnew c:\$delthis.bin 1234567890 which creates a file over a gigabyte in size is extremely fast - it takes about a second on a PIII 800MHz with 256MB memory. This seems to be amazing given that it zeros the whole file, rat ...Show All
Spermij include guards gray out code
It appears that there is a bug with how the VC8 IDE detects and grays out excluded code. When using standard inclusion guards, like so: #ifndef HEADER_INCLUDED_ #define HEADER_INCLUDED_ // code here #endif ...all of the code between the inclusion guards turns gray. Until this is fixed, is there a way to disable graying out excluded code You could use #pragma once for now. ...Show All
kslim lnk 2019 error
hey guys, i was wrapping a native dll inside a managed c++ dll. i was compiling to test how i was going, and it got a weird lnk error. it is the following: error lnk2019 : unresolved external symbol _main referenced in function _mainCRTStartup. so how am i suppose to solve this issue imusing the VS 2003. thx and the way i experienced until now, in order to load or make an object from native dll in managed C++, ...Show All
Mamta C4533 warning, "initialization skipped by goto"
Is this warning buggy in MSVC 7.1 or is it just a stupid warning In the example given here: http://msdn2.microsoft.com/library/f7687yks.aspx It makes sense because the condition, (1) will always be true and the goto will always skip the initialization. But the following code gives me the same C4533 warning and it makes absolutely no sense why it should. #include <iostream> using namespace std; struct TOILET { &n ...Show All
AlarconGarcia Problem of struct default constructor in vc++2005 beta1
wrote in message news:fedcfa42-4dde-47fc-ae43-27b15b6f3d7c@discussions.microsoft.com... 3512.1 I made a default constructor for a struct as below. But this caused a compliation error in vc++ 2005: --------------------------------------------------------------------- Error 1 error C3417: 'Point :: Point' : value types cannot contain user-defined special member functions --------------------------------------------------- ...Show All
Muhammad_Afzaal VS 2005 and link errors
Hi All, For the life of me, I can't get the simplest program to build with VS2005. As far as I can tell, I use all the same settings as .NET 2003 (which works fine). Here is the code: #include <iostream> using namespace std; int main( int argc, char * argv[]){ cout<< "hello world" <<endl; return 0; } When I use /MT and (/NODEFAULTLIB) is NOT set, I get the following: 1>te ...Show All
faB_mx Could not add a new Class Diagram to the project
In Beta2, in class view, right click on a class name and select "View Class Diagram", but there is a error: "Unable to create file e:\some dir\ClassDiagram1.cd. Make sure you have file system permission to create the file, and have disk space available" I don't know how to fix it. Hi, The fact that there is still a menu item is a bug. Thanks for reporting this. Ronald Laeremans Visual C++ team OK, maybe I ...Show All
GoCoda Error PRJ0019 : A tool returned an error code from "Performing registration" ProjectName
Hi, I'm facing one problem when compiling vc6 project into vc8 compiler. Error PRJ0019 : A tool returned an error code from "Performing registration" PantherConfig I have gone thru a number of links providing solution for this but couldn't get correct solution. I think it is having problem in registration dll but not sure. In Build log it is telling that "Cannot open the specified file testerinfoerrors.err for reading" while this file is exi ...Show All
Gabe Halsmer informing managed class from native methods
Hi, Am I trying to inform a managed class from a native class method, I am using a library and it provide me some methods for callbacks and I want to also inform managed class when I received a callback. Is there any way to do this // managed class interface class C { public: virtual void ManagedInformMe() = 0; }; ref class D : C { public: virtual void ManagedInformMe() { // I Informed } ...Show All
oZiNhA Help Errors
First of all I have no idea on the forum where this is suppose to go so forgive me if it is the wrong place. I have been trying to compile my programs but i keep getting these same errors everytime. Compiling... stdafx.cpp C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3043) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pac ...Show All
petro_zn "potentially uninitialized local variable"???
Hi! A program I've made has code similar to the following: int main(int argc, char** argv) { bool b; ClassForSomething* obj; (...) ; b = false; try { obj = new ClassForSomething(...); b = true; } catch(AnException* eFailed) &n ...Show All
Travis White Fairly simple school project, multiple errors
I'm working on a toy problem for school. It involves a binary heap, a few classes that inherit from a base class and some various helper classes. I'm getting about 60 errors but none are descriptive enough for me to figure out what is wrong. It compiled fine before I added some of the more recent classes I wrote, but now it's screwed. I don't want to post all the code because it's so much, but here are the errors. I ...Show All
Jason Dear 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 I second Brian on this. Please try to repro this on "clean" project. And do not copy anything to anywhe ...Show All
