NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on September 08, 2017, 06:50:04 AM

Title: Error compling multi-dll aplication
Post by: walter.dasilva on September 08, 2017, 06:50:04 AM
Hi,

i'm spliting my app into DLL parts. So i've created a global.dll for database and a cadastro.dll for comom procedures.
But, when i'm compling the EXE i'm receiving this error:

Unknown identifier: CADASTROCATEGORIA - F:\SVSIS\Cadastro\Cadastro_ni.clw:730,18

CADASTROCATEGORIA are defined in global and cadastro (as external), but not into EXE.

Does anyone know something about it?

Thanks
Title: Re: Error compling multi-dll aplication
Post by: Bruce on September 10, 2017, 10:30:37 PM
Hi Walter,

check out this;
http://www.capesoft.com/docs/NetTalk10/NetTalkWebBasic.htm#Multi_DLL

Cheers
Bruce
Title: Re: Error compling multi-dll aplication
Post by: walter.dasilva on September 11, 2017, 12:12:05 PM
Hi Bruce,

I've checked all docs instruction and it is ok.

I had to click to generate those tables on individual file override tab. Is necessary to check "generate all files declaration" in EXE .app?

Thanks
Title: Re: Error compling multi-dll aplication
Post by: Bruce on September 11, 2017, 10:14:33 PM
>> Is necessary to check "generate all files declaration" in EXE .app?

I don't think it's as sweeping a statement as that - but yes, the procedure with the WebServe / WebHandler procedures should contain "all the files the web server will access" which I guess simplifies to "generate all file declarations" there.

cheers
Bruce

Title: Re: Error compling multi-dll aplication
Post by: walter.dasilva on September 12, 2017, 09:55:29 AM
Thank you Bruce.