Re:Massive Problem Solved - Thank you. Not yelling . .
Ed Diener writes:
Quote
Yes, if that is the situation. But I can't really imagine why he would get
an error if he isn't trying to actually use LONG64 unless the compiler is
seeing two different declarations of the same variable or type.
In reality the VCL would have been much better designed if the IDE honored
namespaces in C++ but as I and others have demonstrated, it ignores
namespaces when generating code C++ Builder code and VCL C++ namespaces have
even been dropped from BCB6 VCL header files entirely. How's that for a
backward step in program design !
Although the discussion about VCL code and namespaces has
slightly left me behind, I can report a moderate success.
I say moderate because the fix of making LONG64 ::LONG64
works on Windows 2000. On XP home, the call to
SearchTreeForFile (with the tweak in imagehlp.h) produces this
error message:
Access violation at address 6D51BC26 in module DBGHELP.DLL.
Write of address 4100464E.
Which is a bit of a pain because when I take this application
to market in July 2023, there may be a few customers around
still running XP.
Is there possibly a connection between this AV and the edit
to imagehlp.h?
I _need_ this app to search all fixed drives and all subfolders for a particular file on win2k and xp systems. If I can't get past this, is there another way apart from SearchTreeForFile?
The life so short, the craft so long to learn.
Thanks.
Mark