NetTalk Central

Author Topic: Multi-site problem with DLL procedures in 10.35  (Read 5882 times)

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Multi-site problem with DLL procedures in 10.35
« on: October 02, 2018, 11:25:09 AM »
I'm using NT 10.35 and when I compile the demo site1 app as an EXE all procedures work correctly.  When I compile as a DLL the main browse shows but the update form never shows.

The browser bar shows the name of the form so it seems to be being called but its "hidden".  I have checked the Name() is on Webserver and Webhandler and that the project is for a DLL.

I created my own site1 app and it was the same problem.

Any help appreciated :)

Mike
Mike McLoughlin

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Multi-site problem with DLL procedures in 10.35
« Reply #1 on: October 03, 2018, 08:49:34 AM »
I have attached a Multi Site Host Example app. 

127.0.0.1:88 Takes you to site1

localhost:88 takes you to static example.

It actually took me awhile to get it going and I have been using a live multi-site host server for a couple of years.  It's just one of those things that, once you get it working, it just keeps working.

Used Clarion 10.12799, NetTalk 10.35

"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Re: Multi-site problem with DLL procedures in 10.35
« Reply #2 on: October 03, 2018, 11:36:58 AM »
Thanks Don, I'll have a look and see what I'm doing wrong
Mike McLoughlin

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Multi-site problem with DLL procedures in 10.35
« Reply #3 on: October 03, 2018, 01:33:58 PM »
Yes sir.  Anytime.
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Multi-site problem with DLL procedures in 10.35
« Reply #4 on: October 04, 2018, 10:00:10 PM »
>> I created my own site1 app and it was the same problem.

If you have created an example with the problem, then it's a good idea to post the example so others can duplicate the problem.

cheers
Bruce

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Re: Multi-site problem with DLL procedures in 10.35
« Reply #5 on: October 05, 2018, 08:10:38 AM »
The difficulty is that the multi-site host is working OK and calling site2 no problem, but when it gets to the site1.dll it never gets beyond the first procedure in site1.  There is no GPF and the URL bar shows it has called the correct next proc - I'll put together an example over the weekend.  As an exe site1.exe works fine.  It's almost as if the mobile hide option is coming into play on a desktop.

Mike
Mike McLoughlin

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Re: Multi-site problem with DLL procedures in 10.35
« Reply #6 on: October 06, 2018, 04:39:10 AM »
Good news is it's working now - bad news is I don't know why!  Just compiled it again this morning and site1.dll is opening OK.

All I need to sort out is why the theme is not being applied.

Thanks all for your help.

Mike
Mike McLoughlin