Convert an app - single exe to multi dll app


#1

Hi,
Sorry my English.
I would like to know if anyone would have a “wizard” tutorial teaching how to convert a simple application to multi dll. I’m using Clarion 10. I have an application with many modules and it is giving problem in compilation.
Thanks in advance.
Cheers…
Nelson


#2

I do not think there is any tutorial, but basically…

  • Sample break up of DLLs
  1. Global (files) DLL – Has your DCT and all templates registered to export for you other DLLs to use.
  2. Report DLL - contains all your reports.
  3. “somename” DLL (related functions\screens)
  4. “application” EXE usually just the application FRAME and maybe the login window.

All is subjective and what meets your needs. #3 could be several DLLs depending on your complexity.
Try to not cause circular references where #2, Call #3 and #3 call #2 etc…


#3

Hi Nelson - I don’t know if this will be useful for your particular needs, but it looks interesting. https://clarionmag.jira.com/wiki/spaces/public/pages/414691/John+Welch+s+MultiParse?showComments=true&showCommentArea=true

Regarding splitting an app up, there have been numerous articles about it but I don’t remember the titles or the authors. I thought Dave Harms had written one 20+ years ago.


#4

Aha! Found it. It was Gordon Smith. See “Four DLLs And an Executable” in here: https://clarionmag.jira.com/wiki/download/attachments/399460/cmag-1999-06.pdf?api=v2


#5

Thank you very much.
Cheers…
Nelson


#6

Thank you very much.
I’ll take a look.
Cheers…
Nelson