Welcome Guest, Not a member yet? Register   Sign In
Loading a Library with a different Name doesn't work
#2

[eluser]WanWizard[/eluser]
Libraries are loaded as singletons, they're not supported to support multiple instances. If you want that, simply use "new Libraryname();". Loading it again won't work, it will just return the already loaded instance.

Are you using some kind of modular solution? Because your second code block should work without problems.


Messages In This Thread
Loading a Library with a different Name doesn't work - by El Forum - 04-11-2011, 06:56 AM
Loading a Library with a different Name doesn't work - by El Forum - 04-11-2011, 10:22 AM
Loading a Library with a different Name doesn't work - by El Forum - 04-12-2011, 03:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB