PureBytes Links
Trading Reference Links
|
Hi All,
1. I have created a simple DLL and tried to call a basic function
from the DLL with zero success:
2. I put the MYDLL.dll file in AB Plugins directory ( as required ).
Any idea why i CreateObject() fails ?
Regards,
Hanan Harush
# here is my code
Public Class MYDLL
Private _VERSION As Integer
Public Sub New()
_VERSION = 56
End Sub
Public Function getVersion() As integer
Return _VERSION
End Function
End Class
# and my AFL code:
myobj = CreateObject("MYDLL");
if (myobj)
{
ver=myobj.getVersion();
_TRACE("SUCCESS" + ver);
}
else
{
_TRACE("FAILED " );
}
Buy = 5;
Sell =10;
Plot(Close,"Price",colorBlack,styleBar);
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|