View Issue Details

IDProjectCategoryView StatusLast Update
0006018JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
ReporterBarry AndrewsAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.46 
Target VersionFixed in Version3.48 
Summary0006018: FindText has conflict with Windows FindText for C++ builder 2010
DescriptionWhen trying to use the TJvRichEdit->FindText function under C++ Builder XE2 you will get a linker error saying that it cannot fint TJvCustomRichEdit::FindTextA this is due to a conflict with the Windows find text function.

It is possible this same conflict exists in other JVCL components
Additional InformationIn order to get around this I had to add into user supplied area
at the top of the TJvRichEdit.hpp file.

//-- user supplied -----------------------------------------------------------
#define FindText TJvCustomRichEdit::FindText

Then changed typedef which had a parameter named FindText

typedef void __fastcall (__closure *TRichEditFindErrorEvent)(System::TObject* Sender, const System::UnicodeString FindText);

to

typedef void __fastcall (__closure *TRichEditFindErrorEvent)(System::TObject* Sender, const System::UnicodeString FoundText);


TagsNo tags attached.

Activities

obones

2013-01-15 15:48

administrator   ~0020367

Changed it to TextToFind as it really is that

Issue History

Date Modified Username Field Change
2012-10-24 03:01 Barry Andrews New Issue
2013-01-15 15:48 obones Note Added: 0020367
2013-01-15 15:48 obones Status new => resolved
2013-01-15 15:48 obones Fixed in Version => Daily / SVN
2013-01-15 15:48 obones Resolution open => fixed
2013-01-15 15:48 obones Assigned To => obones
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48