Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 19 Apr 2024, 19:09

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 25 Jul 2018, 11:47 
Offline

Joined: 31 Jan 2013, 13:05
Posts: 17
I have RAD STUDIO 10.2, work with ehlib evaluation

I found a delphi little example, with one DBGRIDEH, MemTableEh with columns and data, and datasource...i try the STFILTER, i checked in filter one name, and display the filter in DataSource1DataChange events...DELPHI PROJECT WORKS!! display the filter correct, filter the memtable, the grid is ok

A new app C++, new form, copy all the components from DELPHI to C++, write DataSource1DataChange function, but when i checked in list of STFILTER, NO EVENT in DataSource1DataChange!!!

I realy don't know where is the problem!!! Please give me suggestion!


Attachments:
Filtered & Searched DBGridEh.rar [54.39 KiB]
Downloaded 116 times
Top
 Profile  
 
PostPosted: 26 Jul 2018, 08:44 
Offline

Joined: 31 Jan 2013, 13:05
Posts: 17
I find the problem...for C++ I need to write

#include "EhLibMTE.hpp"
#pragma link "EhLibMTE"

IT WORKS NOW!!!


Top
 Profile  
 
PostPosted: 26 Jul 2018, 22:15 
Offline

Joined: 08 May 2014, 18:06
Posts: 663
Hello

In Delphi you should add EhLibMTE to the uses clause of any of your unit in the project.
In C++ you should use #pragma link "EhLibMTE" or add EhLibMTE.pas unit in the project.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group