NetTalk Central

Author Topic: Duplicate Symbol while compiling the main app of multi-dll apps  (Read 3137 times)

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Duplicate Symbol while compiling the main app of multi-dll apps
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Duplicate Symbol while compiling the main app of multi-dll apps
« Reply #1 on: September 28, 2014, 10:18:42 PM »
global properties
actions
general tab
"Generate Template Globals and ABC's as External"

Cheers
Bruce

sukhendu

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • Email
Re: Duplicate Symbol while compiling the main app of multi-dll apps
« Reply #2 on: September 29, 2014, 12:52:56 PM »
Thanks Bruce!   I feel silly for not noticing that check box.

Regards,
Sukhendu

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Duplicate Symbol while compiling the main app of multi-dll apps
« Reply #3 on: September 29, 2014, 09:19:05 PM »
don't worry - happens to us all sooner or later :)