This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

LMD Docking 2021 - Cannot compile with Source

edited April 2021 in LMD-Tools
Hi,
I've just updated RAD Studio 10.4.2 with the new LMD Docking Pack 2021.
I've installed the packages and then followed this with the source.
Both paths existing the in the IDE however when I compile my application it shows an error on line 461 in LMCClass.pas

type
  TDataReceiverItem = class
    Handler: TLMDOnReceiveData;  // << Error here... Published field 'Handler' is not a class or interface type
  end;

If I remove the source from the library path the application compiles and runs. This is the same for both 32-bit and 64-bit version of my application and I've been through and checked that there are no old redundant paths from previous versions.

I'm assuming that there is a setting in the application's options that is causing this to fail?

regards
Dave.

Comments

  • I cannot reproduce this issue. 
    Something wrong with your installation. Please ensure that all previous installations was uninstalled.
  • I've got to the bottom of this issue.
    When compiling my application in debug mode I have "Emit runtmie type information" set to true. This causes the compiler to fail at the above line. In release mode the above settings is false and the application compiles.
    regards
    Dave.
  • Yes, you right. This can be the reason. I've fixed it by changing member visibility from published to public.
Sign In or Register to comment.