NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on January 19, 2010, 03:09:44 PM

Title: NTWS 4.42 Indistinguishable new prototype
Post by: Rene Simons 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
Title: Re: NTWS 4.42 Indistinguishable new prototype
Post by: Bruce 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

Title: Re: NTWS 4.42 Indistinguishable new prototype
Post by: Rene Simons 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