apparent error on selecting xll

49 views
Skip to first unread message

Mark Houldsworth

unread,
May 19, 2017, 8:36:14 AM5/19/17
to Excel-DNA
I'm getting an unexpected error when I select a packed xll in Excel. When I click on "Ok" to select I get a text box that shows up with this list (list is actually longer). 

The c# project includes references to MathNet.Numerics.dll and System.Numerics.dll. I notice that when I build the System.Numerics.dll does not appear in the output directory or as a reference in the DNA file.

However, I can copy dll into the output file and modify the DNA file to include the reference manually.

I can close the Diagnostic Display and the methods all work correctly, but this display shows up everytime I launch Excel.

Any ideas?

Thanks





Registration [Error] Repeated function name: 'Modulus' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'Modulus' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'Remainder' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'Remainder' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsEven' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsOdd' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsPowerOfTwo' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsPerfectSquare' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'PowerOfTwo' - previous registration will be overwritten. 
Registration [Error] xlfRegister call failed for function or command: 'Log2'
Registration [Error] Repeated function name: 'CeilingToPowerOfTwo' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'LinearRange' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'LinearRange' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'CoerceZero' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'CoerceZero' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'CoerceZero' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'CompareTo' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'CompareToRelative' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsLarger' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsLargerRelative' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsSmaller' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'IsSmallerRelative' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqual' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqualRelative' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqualNorm' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqualNormRelative' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqual' - previous registration will be overwritten. 
Registration [Error] Repeated function name: 'AlmostEqualRelative' - previous registration will be overwritten. 
errorlog.txt

Govert van Drimmelen

unread,
May 19, 2017, 8:44:41 AM5/19/17
to exce...@googlegroups.com
Hi Mark,

I'm guessing you have put these extra libraries into the .dna file as "ExternalLibrary" tags, and so Excel-DNA is trying to register the functions.

You rather want them to be in "Reference" tags if you want to pack them, but not register their public static methods with Excel.

-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.
<errorlog.txt>

Mark Houldsworth

unread,
May 19, 2017, 8:57:14 AM5/19/17
to exce...@googlegroups.com
That was it. Thank you so much.

M




Mark Houldsworth, PhD 

Chief Technologist

PASTORE HOULDSWORTH & CO.

HOUSTON TX AND RUIDOSO NM

Mobile: (832) 443-4010


_________________________________

RISK CONSULTING - NAVWARE MODEL LICENSING - CUSTOM SOFTWARE DEVELOPMENT

Linkedin Profile:  http://www.linkedin.com/profile/view?id=44218213&trk=nav_responsive_tab_profile


www.pastorecompany.com

 

postal address:

Astrodome Station

8205 Braesmain Drive

P.O. Box 20086

Houston, Texas 77225-0086


-------------------------------------------

CONFIDENTIALITY MESSAGE: This email message and(or) its attachments are intended for the addressee(s) indicated above.  This email contains information that is confidential and protected from disclosure.  Any review, dissemination, or use of this email or its contents by persons other than the addressee(s) is prohibited.  If you have received this email message in error, please notify the sender immediately and delete the email message.

 

RISK DISCLOSURE: This email message and(or) its attachment(s) may contain analysis, projections, and forward-looking statements.  In accepting this communication, the recipient of this email acknowledges the inherent risk and uncertainty associated with such aforementioned analysis and forward-looking statements; and the recipient understands that the actual business results and reported statistics may differ materially from any projections included in the email or its attachment(s).  Pastore Houldsworth & Co., LLC makes no warranty as to the accuracy or completeness of any forward-looking information contained herein.


To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+unsubscribe@googlegroups.com.

To post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.
<errorlog.txt>

--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages