HTML Agility Pack

Hello!

How can i use HTML Agility Pack with Hydra 4 in either VCL or FMX.

Thanks

You can’t work with .net classes from Delphi directly, since System.Object and TObject is not compatible, instead you will need to use custom interfaces.

So if you need to be able to access .net classes you need to manually create an interface that describes methods and properties of an object and a wrapper class that will implement this interface and forward calls from to a actual .net object.

Please take a look at the following articles:
http://wiki.remobjects.com/wiki/How_to_pass_objects - describes how to pass object from .net to Delphi and vice versa.
http://wiki.remobjects.com/wiki/Passing_interfaces_between_Host_and_Plugins - general information about custom interfaces.