[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: creating DLL's



PureBytes Links

Trading Reference Links

First off the guy that told you to write a DLL must be pulling your 
leg. I started to write him a nasty gram for being so ridiculous. He 
is right but writing a DLL is not as easy as falling off a hay 
wagon. 

You can use Visual C++ to create DLLs. My compiler supports it but I 
have never tried it. Finding a program that is easy to learn is 
another matter all together. I use Visual C++ and it is anything but 
easy to learn. If all you want in the DLL are formulas (functions) 
that will accept parameters and spit out a value then it might not 
be so hard. But if you need an interface that returns multiple 
values or put up a window forget it. That would be really difficult. 

If all you want is a formula in your DLL try writing functions in 
ALF. If you can handle that then you may be able to write a DLL. But 
if you have difficulty writing functions in ALF then using a program 
language will be very hard to learn, not impossible but HARD. But if 
you are a programmer and can write in visual Basic then you should 
not have too much trouble learning another language. You will need a 
free compiler. Visual C++ is expensive. If you can find a free UNIX 
C++ compiler then that may be the way to go. 

But if you are not a programmer you are in for a learning 
experience, kind of like sipping from a fire hose. I would suggest 
going to codeguru or pro ramming sites and see if they have a free 
java program that will allow it. 

Search "writing dll" in Google. This is one that you might read 
first, http://www.barbus.biz/products/fb/hellodll.html.  That will 
give you the steps but I am not sure what language they are writing 
in. This is another site, http://www.zetnet.co.uk/rad/dll.html. They 
are writing the DLL in C++. If you are not a programmer or unless 
that is really what you want to do, forget trying to learn C++, or 
even C. It is like learning another language, and that's what it is, 
another language

The problem with Java, I believe, is that it is open source. If so 
that may allow anyone to read your code. That is what you did not 
want. The only way I know of, and I am not an expert in DLLs, is to 
write it in a high level language like Pascal or C++ and compile it. 
That would turn it into hex which is not readable.

Barry

  --- In amibroker@xxxxxxxxxxxxxxx, "ricko8294_98" <ricko@xxxx> 
wrote:
>
> Visual Basic (I believe) does not create proper .DLL files for use 
in 
> AB.
> 
> What options (other languages) can be used (without having to 
learn too 
> difficult a language)?
> 
> Any suggestions would be appreciated
> Rick
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 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/

<*> 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/