logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
sandeepy02  
#1 Posted : Friday, April 17, 2009 10:33:25 AM(UTC)
sandeepy02

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/17/2009(UTC)
Posts: 2

Hi,

I need to pass a string to an external function (made in C/C++/VC++ or any other language).

(a) If I create a DLL for that external function, then can I call that external function through my metastock indicator without having MDK?

(b) Is there a way to access a url inside an indicator (as my basic need is to update mysql database) through metastock functions or will I have to make a DLL for the same as well.

Thanks in advance,

SY

wabbit  
#2 Posted : Friday, April 17, 2009 6:45:17 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Hi SY,

Welcome to the forum.

In order to be able to make DLLs for MetaStock, you need: a) the MDK, b) a compiler which can make win32.dlls; whatever language you use is up to you.

You can pass strings, ints and doubles to the external function, but you can only receive a double array back from the function, so keep this in mind. However, the function itself can do anything within the limitations of the language used to write it.


Hope this helps.

wabbit [:D]

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.