Dll call on irr dll?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
bogQ
Posts: 11
Joined: Sat Jan 09, 2010 1:06 pm

Dll call on irr dll?

Post by bogQ »

I dont understand one part of irr dll.
When i look available commands for kernel32.dll (or some other win dll) i have list of around 950 functions that can b called using dll call. In case of irr i have 0 (well not 0, i have 12 of them that dont make sens at least to me)

Code: Select all

class irr::core::CMatrix4<float> const irr::core::IdentityMatrix
class irr::io::IIrrXMLReader<char,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReader(char const *)
class irr::io::IIrrXMLReader<char,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReader(class irr::io::IFileReadCallBack *)
class irr::io::IIrrXMLReader<char,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReader(struct _iobuf *)
class irr::io::IIrrXMLReader<unsigned long,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF32(char const *)
class irr::io::IIrrXMLReader<unsigned long,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF32(class irr::io::IFileReadCallBack *)
class irr::io::IIrrXMLReader<unsigned long,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF32(struct _iobuf *)
class irr::io::IIrrXMLReader<unsigned short,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF16(char const *)
class irr::io::IIrrXMLReader<unsigned short,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF16(class irr::io::IFileReadCallBack *)
class irr::io::IIrrXMLReader<unsigned short,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReaderUTF16(struct _iobuf *)
class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventReceiver *)
class irr::IrrlichtDevice * __cdecl irr::createDeviceEx(struct irr::SIrrlichtCreationParameters const &) 
So how can i call specific command parametar from other aplication using dll call for irr dll if irr dont have listed commands? Do irr dll suport dll call? Can anyone have some example of calling any function inside dll via dll call?
The point is easy using dll call on irr to make it available for other languages that curently dont have plugin or wraper for irr.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

I think you just stumbled upon the problem that all programming languages except c are hard to link to any other language. Especially OO-languages which can't be accessed via some common OO-interfaces like COM (or arguably .net).

I think the best idea is probably looking how some of the existing wrappers like JIrr managed to do it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply