0
votes

I want to use x-superobject, but I can't figure out how to add it and use it on delphi xe6. I found one answer on how to install .pas files on delphi, but it is for delphi2010 and thing are a little bit different I think (I've tried that one but it didn't worked.)

So, to install xsuperobject I downloaded this two files and saved them. I don't know how to proceed, and I feel a bit stupid but I don't understand what is here on the wiki.

Thank you!

1
There is nothing to install in that repository. All you should do is put those files in some public folder (usually C:\Users\Public\Documents\<Component Folder>) and add that directory to the Library path. Then you can add any of those units in the uses clause of your project unit and the compiler should find it.TLama

1 Answers

4
votes

X-SuperObject is a runtime library, not a visual component library. The installation is quite easy.

Way 1: Simply put the two files to your project source folder and then you are able to use them without any problems.

Way 2: If you hate to include the files to any of your projects, you can open the Option dialog and goto Environment Options > Delphi Options > Library. You add the path of X-SuperObject to the Browsing Path.

Now you are able to include XSuperObject as any other Delphi native units (i.e. Winapi.Windows, System.SysUtils).