Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Shouldn't be an issue?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 ATC   Members   -  Reputation: 551

Like
0Likes
Like

Posted 29 October 2012 - 08:42 PM

I'm about to deploy a new DLL, and I'm wondering about something...

I have a structure in my library called "Rational", which essentially represents a fraction -- much like SlimDX.Rational... Mine, however, is a much more powerful mathematics structure that can do all sorts of things, such as calculating the GCD/LCD, reducing fractions, arithmetic with fractions, convert from fractions to decimals (and vice-versa) and more... However, in my structure I define conversion operators that can convert MY Rational type to/from SlimDX.Rational...

Problem is, I'm deploying this structure in a library that is intended as a generalized application development framework... users may or may not have SlimDX or be using it at all... for many users they will not be referencing SlimDX, and many may not even have it installed. It's my understanding that this should NOT be a problem and it would only cause my library to crash if someone tried to call a method that used a non-existent dependency... since these are operators and cannot be called directly that should never even happen!

So am I right? Is it ok to leave my conversion operators in there for the benefit of SlimDX users, or must it be removed?

Thanks,

--ATC--

P.S. -- I could really use some help with this question... hundreds of views, no answers... surely someone has deployed commercial libraries before and needed to register them?
_______________________________________________________________________________
CEO & Lead Developer at ATCWARE™
"Project X-1"; a 100% managed, platform-agnostic game & simulation engine


Please visit our new forums and help us test them and break the ice!
___________________________________________________________________________________

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS