Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8667385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:57:03+00:00 2026-06-12T17:57:03+00:00

Continuing with our Delphi 2010 thick client to multi-tier migration (previous question) , we

  • 0

Continuing with our Delphi 2010 thick client to multi-tier migration (previous question), we are at the point where we need to find a databinding solution. I have come across RemObjects Hydra. The thing is I can’t seem to follow their tutorials for the host program and
for the plugin
I have created a Hydra plugin project in visual studio, implemented the interface as described and that builds fine.

[Guid("8F1B3EE3-CC69-4685-B141-FAF2F4FB57C4")]
public interface IGridPlugin : IHYCrossPlatformInterface
{
    string UserData { get; set; }
    int ID { get; set; }

}

In the plugin:

[Plugin(Name = "GridPlugin", Description = "This is the Grid plugin", UserData = "Data"), VisualPlugin]
public partial class GridPlugin : RemObjects.Hydra.WPF.VisualPlugin, IGridPlugin
{

In Delphi I have created a new Hydra host project, imported the interface, but in the form create/load events they mention:

procedure TMainForm.FormCreate(Sender: TObject);
begin
  ModuleManager.LoadModule('SilverlightPlugin.xap');
  ModuleManager.CreateVisualPlugin('SilverlightPlugin', fInstance, Panel1);
end;

What is fInstance? Also, no files in my WPF plugins project end in .xap, so what am I supposed to pass as a parameter?

Has anyone implemented RemObjects Hydra, how did you achieve this early step?
Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:57:04+00:00Added an answer on June 12, 2026 at 5:57 pm

    This is how I got it working in the end, you need to declare an instance of the plugin:

    Private
      fInstance: IHYVisualPlugin;
    
    // Then Call in the FormCreate event
    procedure TMainForm.FormCreate(Sender: TObject);
    begin
        ModuleManager.LoadModules('C:\Users\user.Name\Documents\Visual Studio 2010\Projects\DynamicEF4\Product.Delphi.WPF\BIN\RELEASE\Product.Delphi.WPF.dll');
       ModuleManager.CreateVisualPlugin('ViewerPlugin', fInstance, pnl1);
    end;
    // And then in the FormDestroy event
    procedure TMainForm.FormDestroy(Sender: TObject);
    begin
        ModuleManager.ReleaseInstance(fInstance);
    end;
    

    I guess I was looking at the wrong example, the .xap I saw related to silverlight, and not required for wpf or windows forms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Continuing on previous questions ( here , and here ), I implemented a basic
Continuing from this question : When I am trying to do fopen on Windows,
our delphi application can have multiple DirectX windows, often on multiple screens. up to
Currently our company is using Team Foundation Server 2010, and we have quite a
UPDATED entire question to clarify things. Software Team Foundation Server 2010. Background Some while
I'm having a hard time convincing our architect that a Domain model should only
Our project constitutes of many modules (e.g. a HR management system containing modules like
I have a table containing data about some users. Many of them use our
We're using silverlight on our SharePoint site. When someone navigates to the page containing
Continuing adopting my code to work with IE... I have a hidden div containing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.