Jump to content

EXE and DLL


Guest

Recommended Posts

Message from: "Sergio"

 

Hi Farshad, a "philosofic" question:

 

My actual EXE dynamically calls DLL functions that in turn open new

Forms. Both EXE and DLL are part of my delphi app, not 3rd. party DLL,

of course, and I can't combine them into a single EXE (1 EXE, several

possible DLL chosen at runtime).

 

In converting it to uniGUI, when EXE calls/initialize one of those

DLLs, it will need to pass some kind of session environment var so the

DLL form creation code can attach this new form to the EXE session, so

it appears to the user as another app. form in the same browser.

 

Is it trivial, difficult, possible?

 

Will events go to the right form (EXE or DLL) in this schema?

 

NOTE: DLL always do Form.showmodal, user can't freely switch between

EXE forms and DLL forms.

 

Thanxs in advance,

Sergio.

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"Sergio" wrote in message

news:sIJzjqz3LHA.3560@anaxagvs227...

> Hi Farshad, a "philosofic" question:

>

> My actual EXE dynamically calls DLL functions that in turn open new

> Forms. Both EXE and DLL are part of my delphi app, not 3rd. party DLL,

> of course, and I can't combine them into a single EXE (1 EXE, several

> possible DLL chosen at runtime).

>

> In converting it to uniGUI, when EXE calls/initialize one of those

> DLLs, it will need to pass some kind of session environment var so the

> DLL form creation code can attach this new form to the EXE session, so

> it appears to the user as another app. form in the same browser.

>

 

In same browser window all Forms should belong to same app session.

Normally you pass "uniApplication" as constructor parameter when you create

a new Form so that should be enough to make new Form attach to calling

session.

 

Have you tried this?

 

> Is it trivial, difficult, possible?

>

> Will events go to the right form (EXE or DLL) in this schema?

>

> NOTE: DLL always do Form.showmodal, user can't freely switch between

> EXE forms and DLL forms.

>

> Thanxs in advance,

> Sergio.

 

 

.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...