Simple question?

  • 198 Views
  • Last Post 30 June 2014
apj101 posted this 30 June 2014

I'm not a great scripter/coder so bear with me!

I have a few scenes for which i want to be able to control my itunes. I can use the itunes dll libraries just fine when i add them into visual studio as reference.
How do I include the itunes dll library in the scripts the incontrol compiles?

Is that doable?

Thanks

Order By: Standard | Newest | Votes
rscott posted this 30 June 2014

You could use reflection asks load the dlls dynamically. Here's some samples:http://stackoverflow.com/questions/18362368/loading-dlls-at-runtime-in-c-sharp

apj101 posted this 30 June 2014

You could use reflection asks load the dlls dynamically. Here's some samples:http://stackoverflow.com/questions/18362368/loading-dlls-at-runtime-in-c-sharp


Thanks!
So its not something I can include at compile?
(still a lot to learn)

Ryan-Scott posted this 30 June 2014

You could use reflection asks load the dlls dynamically. Here's some samples:http://stackoverflow.com/questions/18362368/loading-dlls-at-runtime-in-c-sharp

Thanks!
So its not something I can include at compile?
(still a lot to learn)


Correct, you wouldn't be able to do it at compile-time, but doing it at run-time is definately doable.

Close