NetTalk Central

Author Topic: NTWS 4.42 Indistinguishable new prototype  (Read 3607 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
NTWS 4.42 Indistinguishable new prototype
« on: January 19, 2010, 03:09:44 PM »
Hi,
At the first compile I get the above message.
When I look into the CLW file i see the following:

!--- Application Global and Exported Procedure Definitions --------------------------------------------
     MODULE('FDW00001.CLW')
Main                   PROCEDURE   !
     END
     MODULE('FDW00022.CLW')
PageHeaderTag          PROCEDURE(NetWebServerWorker p_web)   !Includes Window Type Menu
     END
     MODULE('FDW00023.CLW')
PageFooterTag          PROCEDURE(NetWebServerWorker p_web)   !
     END
       Module('FDW00_nw.clw')
          NetWebRelationManager (FILE p_file),*RelationManager
          NetWebFileNamed (string p_file),*File
          NetWebSetSessionPics (NetWebServerWorker p_web, FILE p_File)
          NetWebSetPics (NetWebServerWorker p_web, FILE p_File)
       End
       Module('FDW00_nw.clw')
          NetWebRelationManager (FILE p_file),*RelationManager
          NetWebFileNamed (string p_file),*File
          NetWebSetSessionPics (NetWebServerWorker p_web, FILE p_File)
          NetWebSetPics (NetWebServerWorker p_web, FILE p_File)
       End
       Module('FDW00_nw.clw')
          NetWebRelationManager (FILE p_file),*RelationManager
          NetWebFileNamed (string p_file),*File
          NetWebSetSessionPics (NetWebServerWorker p_web, FILE p_File)
          NetWebSetPics (NetWebServerWorker p_web, FILE p_File)
       End
   END

This looks like there's two too many FDW00_nw.clw modules here.
The way I created this app is: Get example web3.app and modify it.

I don't know what to do next.
Anyone??

Cheers,
Rene
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NTWS 4.42 Indistinguishable new prototype
« Reply #1 on: January 20, 2010, 06:57:07 AM »
Hi Rene,

That bit of code is generated (once) by the NetWebServerGlobal extension.

So make sure the global extension is only there once.

Then do a Project / Generate all to see if the issue goes away.

cheers
Bruce


Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: NTWS 4.42 Indistinguishable new prototype
« Reply #2 on: January 20, 2010, 10:42:42 AM »
Thanks Bruce.
That was it,
That's what you get with cut and paste programming. ;D
Rene
Rene Simons
NT14.14