Guest Posted March 10, 2011 Posted March 10, 2011 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. . Quote
Guest Posted March 11, 2011 Author Posted March 11, 2011 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. . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.