Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Thu Oct 02, 2008 1:30 pm   

Calling DLL libraries from cMud
 
I'm looking for a way of calling public static methods from a custom DLL i created from within cMud.

Hints anyone?
_________________
The Drake Forestseer
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Oct 02, 2008 2:42 pm   
 
I'm not very familiar with it, but essentially you'll have to use the COM interface to access your DLL.

These links should help some.

http://www.zuggsoft.com/zmud/comado.htm
http://www.zuggsoft.com/zmud/com.htm
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Oct 02, 2008 4:32 pm   
 
Your DLL needs to be specifically a COM-based Windows DLL. If it's just a "plain" DLL with public methods, there is no way to call that from CMUD.
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Thu Oct 02, 2008 5:16 pm   
 
Oh come on, clearly you're not trying hard enough!

I was hoping for something in LUA or vbScript, but i guess i'll just go write COM interfaces now :)

Thanks anyways
_________________
The Drake Forestseer
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net