NetTalk Central

Author Topic: Multisite Host - dll GPF  (Read 1976 times)

alan

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • Email
Multisite Host - dll GPF
« on: July 16, 2014, 10:01:37 AM »
Using CW9.0, NT8.18 and all templates updated this morning

I'm using the multisite example app (59) and it compiles and runs fine.  And, my website app compiles and runs fine as a standalone exe.  But, when I compile it as a dll, the host app GPF's the instant it tries to reference the dll.

I made sure the Dynamic DLL Support checkbox is selected in the dll.  To compile the dll, I just changed the project output type to dll.  I can't find anything in the docs or webinars that indicates I need to do anything else.  (there's no embed code in the dll's webserver init embed and I removed the SelfService template. (Even bought GPFReporter to try to get some insight.  Nice tool, but I don't know how to read the log yet)

How about the the "This is part of a Multi-DLL application" checkboxes in the app dll.  Should those be checked on?  When I do that, I get all kinds of compile errors.

So, I'm fresh out of things to try and I'd sure appreciate some suggesitons.

Alan

[attachment deleted by admin]
Alan Schoolcraft

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Multisite Host - dll GPF
« Reply #1 on: July 17, 2014, 05:14:31 AM »
I'll point out the common likely problems at today's webinar...

alan

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • Email
Re: Multisite Host - dll GPF - SOLVED
« Reply #2 on: July 17, 2014, 07:54:35 AM »
Bruce,

Thanks for helping me on the user group webinar.  For the benefit of anyone else with this problem, I'll post the solution here:

In the host app AND the dll app, make sure the prototype is as follows:

Webserver prototype:  (<NetWebServer pServer>),name('WebServer')
Webhandler prototype: (String p_String),Name('WebHandler')

Also, here is the link to a document that covers creating the multisite host:

 http://capesoft.com/docs/NetTalk8Compiling%20your%20own%20Multi.pdf

Alan Schoolcraft