NetTalk Central

Author Topic: Multihost Global Extensions Question  (Read 2477 times)

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
Multihost Global Extensions Question
« on: December 01, 2022, 05:41:22 PM »
How should the global extensions be setup in the host exe? For the capesoft extensions I'm assuming that the "This is a part of a Multi-DLL program" checkbox should not be checked in the host, but checked in the sub websites (app's) if they are multi dll, correct?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Multihost Global Extensions Question
« Reply #1 on: December 01, 2022, 07:45:56 PM »
actually for the host, and the dll's, it's all "NOT Multi-DLL".

From the _apps_ point of view they're all completely stand-alone. So, somewhat intuitively, the host exe, and all your nettalk dll's have both options unticked (for all CapeSoft extensions.)

Technical aside: This is because the DLL's are not statically linked. The DLL needs to contain everything it needs - the host exe _loads_ (but does not link) the DLL, and hence only knows about 2 entry points to the DLL. The other code in the DLL is not shared.

Cheers
Bruce