NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: sukhendu on September 26, 2014, 10:28:21 AM

Title: Duplicate Symbol while compiling the main app of multi-dll apps
Post by: sukhendu on September 26, 2014, 10:28:21 AM
I have created multi-dll app before, but did not encounter the duplicate symbol errors that I could not fix.

1) Created a wizarded webserser app - No problem
2) Created a data dll (export all file on the global file control), export all on stringtheory, winevent, xfiles --- No problem
3) Changed the wizarded main app on step 1 (all files from another app on global file control), stringtheory, winevent, xfiles made part of a multi-dll.  Message box option is un_threaded.
4) Inserted the data dll on the main app and made sure the solution pad shows 2 apps (main app and data app)
5) While compiling main app I'm getting bunch of duplicate symbols on global variables that are defined in the dictionary.

What am I doing wrong!

Thank you for any advice.
Sukhendu
Title: Re: Duplicate Symbol while compiling the main app of multi-dll apps
Post by: Bruce on September 28, 2014, 10:18:42 PM
global properties
actions
general tab
"Generate Template Globals and ABC's as External"

Cheers
Bruce
Title: Re: Duplicate Symbol while compiling the main app of multi-dll apps
Post by: sukhendu on September 29, 2014, 12:52:56 PM
Thanks Bruce!   I feel silly for not noticing that check box.

Regards,
Sukhendu
Title: Re: Duplicate Symbol while compiling the main app of multi-dll apps
Post by: Bruce on September 29, 2014, 09:19:05 PM
don't worry - happens to us all sooner or later :)