NetTalk Central

Author Topic: Compile Error NT8.35 and fm3  (Read 3136 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Compile Error NT8.35 and fm3
« on: February 22, 2015, 10:18:17 PM »
Hi Bruce

I upgrade from Nt8.25 anf fm3 (5.20) as a single exe. Compile 100% and working.

I split the exe in milti dlls. iT compiles without errors. Webserver starts. When try to execute through fireforx browser the web server immediately crash.

After that I generate a complete new aps with the same dct. Working fine.( generate it clean from nettalk template wizard) Then I create a data dll. When compile I get errors such as '$GLO:COMPPICS_Name' is unresolved for export.(Mssql connect)

I test it by disable filemanager3 all features. It compiles without errors.

I include a sample aps if you can please have a look at it where I miss something.

NT8.35
FM3 5.22
HyperActive 2.19
OddJobs 1.36
SelfService 3.42
StringTheory 2.14
WinEvent 3.92
PDF-Tools ext v41

Kind regards
Johan

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile Error NT8.35 and fm3
« Reply #1 on: February 23, 2015, 02:42:47 AM »
Regarding the compile errors;
Because of the sequence of events you've got the FM3 template in a knot.
Here's the sequence to fix that;

b_DataFiles.App

a) Project Options / Output Type - Set to Exe
b) Global Extensions, FM3 Extension, Multi-DLL tab, "This is part of a Multi-DLL app" OFF
c) Project Options / Output Type - Set to DLL


Next - in the data DLL you have a procedure "WebServer" set as [export]. It's s TODO. I recommend you change this to a Source, and turn off the "Export Procedure switch". Ideally you want to change the name of this as well to avoid confusion.

Once I did the above the program runs ok - at least up to the Connect window.

cheers
Bruce



johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: Compile Error NT8.35 and fm3
« Reply #2 on: February 23, 2015, 03:45:15 AM »
Many Tanks Bruce, you are my hero today ;D

I just had to switch in the main exe under StringTheory - Multi Dll- This is part of a Multi-Dll program to on.

No it is connecting to the database.

King Regards
Johan