NetTalk Central

Author Topic: Using the Host system  (Read 3949 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Using the Host system
« on: October 24, 2013, 09:15:14 PM »
Clarion8
Extensions:
Nettalk 725 fm3512 winevent 384 Cryptonite 158 Draw messagebox 218 officeinside3 selfservice 342 stringtheory191 xfiles239 reporttopdf

I am testing converting some of my applications to utilising the host system.
Following the instructions in the Developing web applications document I am now at the position where I want to compile one of my applications as a Dll.
The application compiles with no problem as a standalone exe but when I set the output type and link mode to dll I get the following as errors. It looks like a combination of FM3, Nettalk and Winevent setting issues. Can anyone set me on the right track?
Unresolved External Cla$Hooksstring in FM2.OBJ
Unresolved External Cla$Hookstring in FM2.OBJ
Unresolved External Cla$Hookprogress in FM2.OBJ
Unresolved External Cla$Hookstring in FM2A.OBJ
Unresolved External Cla$Hooksstring in FM2B.OBJ
Unresolved External Cla$Hookstring in FM2B.OBJ
Unresolved External Cla$Hookprogress in FM2B.OBJ
Unresolved External Cla$Hookstring in FM2D.OBJ
Unresolved External Cla$Hookstring in FM2E.OBJ
Unresolved External Cla$Hookstring in FM3ASA.OBJ
Unresolved External Cla$Hookstring in FM3FIR.OBJ
Unresolved External Cla$Hookstring in FM3MSS.OBJ
Unresolved External Cla$Hookstring in FM3ORA.OBJ
Unresolved External Cla$Hookstring in FM3POST.OBJ
Unresolved External Cla$Hookbutton in NETDL001.OBJ
Unresolved External Cla$Hookbutton in NETDL002.OBJ
Unresolved External Cla$Hookbutton in NETDL003.OBJ
Unresolved External Cla$Hookbutton in NETDL004.OBJ
Unresolved External Cla$Hookbutton in NETDL005.OBJ
Unresolved External Cla$Hookbutton in NETDL006.OBJ
Unresolved External Cla$Hookbutton in NETDL007.OBJ
Unresolved External Cla$Hookbutton in NETDL009.OBJ
Unresolved External Cla$Hookbutton in NETDL010.OBJ
Unresolved External Cla$Hookbutton in NETDL011.OBJ
Unresolved External Cla$Hookbutton in NETDL012.OBJ
Unresolved External Cla$Hookbutton in NETDL013.OBJ
Unresolved External Cla$Hookbutton in NETDL014.OBJ
Unresolved External Cla$Hookbutton in NETDL015.OBJ
Unresolved External Cla$Hookbutton in NETDL016.OBJ
Unresolved External Cla$Hookbutton in NETDL017.OBJ
Unresolved External Cla$Hookbutton in NETDL018.OBJ
Unresolved External Cla$Hookbutton in NETDL019.OBJ
Unresolved External Cla$Hookbutton in NETDL020.OBJ
Unresolved External Cla$Hookbutton in NETDL021.OBJ
Unresolved External Cla$Hookbutton in NETDL022.OBJ
Unresolved External Cla$Hookbutton in NETDLL.OBJ
Unresolved External Cla$Hookbutton in NETDL_RD.OBJ
Unresolved External Cla$Hookbutton in NETDL_RU.OBJ
Unresolved External Cla$Hookbutton in NETDL_SF.OBJ
Unresolved External Cla$Hooksstring in DS_WECOMMS.OBJ
Unresolved External Cla$Hookstring in DS_WECOMMS.OBJ
Unresolved External Cla$Hookentry in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookbutton in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookprompt in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookoption in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookcheck in DS_WEDEBUG.OBJ
Unresolved External Cla$Hooklist in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookradio in DS_WEDEBUG.OBJ
Unresolved External Cla$Hookimage in DS_WETASKBAR.OBJ
Unresolved External Cla$Hookbox in DS_WETASKBAR.OBJ
Unresolved External Cla$Hookbutton in DS_WETASKBAR.OBJ
Unresolved External Cla$Hookprompt in DS_WETASKBAR.OBJ
Unresolved External Cla$Hookimage in DS_WEWINDOW.OBJ
Unresolved External Cla$Hookprompt in DS_WEWINDOW.OBJ
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Using the Host system
« Reply #1 on: October 24, 2013, 10:54:14 PM »
Make sure you have set the Project options correctly.
You want
Output Type set to DLL (not Lib) and Link mode set to DLL (not Lib)

You may also want to clean out your OBJ folder before compiling.

cheers
Bruce


MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: Using the Host system
« Reply #2 on: February 13, 2015, 11:45:02 PM »
I just bumped into this error myself.  My app compiles just fine as an exe but not as a dll

My issue is that I was taking my app from a 8-35 build to another pc running 8-31 because the host I want to use is running 8-31 with some other dll apps.

So I had to delete all the lib and DLL's in the folder - like libeay32.dll and the others, then copied all the dll's from an app that IS working into this folder

THEN I realised it copied ClaAsc.dll and Clarun.dll  etc. etc.   DUH....  and it worked.

In the hope this saves some other poor soul a few hours of head banging