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

Re: [amibroker] Re: creating DLL's



PureBytes Links

Trading Reference Links

Hi,

Also, at http://lab.msdn.microsoft.com/express/, you can get the free 
Express version (Beta 2) of most of the languages/compilers in MS Visual 
Studio. I haven't tried them, but according to MS, these are simplified 
versions of the real thing, designed for ease of use/learning, but with 
enough features to keep  experienced programmers happy. The download site 
also has a link to lots of video tutorials.

As a non-programmer who has created a DLL with the ADK, I did find that it 
was surprisingly easy to use - I had the sample DLL working in no time. Then 
it is just a matter of replacing the sample code with your own code, but if 
you have no prior experience, you will probably find that learning to use 
the the full-blown compiler, debugger, IDE and C++ language itself is a 
*lot* to digest at once. If I had it to do over again, I might try one of 
these simpler ( and free! ) versions first.

Steve

----- Original Message ----- 
From: "Barry Scarborough" <razzbarry@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, October 20, 2005 7:10 PM
Subject: [amibroker] Re: creating DLL's


> Thanks Tomasz,
>
> I have to admit it has been a long while since I looked at the
> package. I don't remember that you provided a DevC++ with your
> package nor examples. At that time I was struggling to understand
> AFL. DLLs were not all that easy from what I remembered. I will have
> to take a peek at it again.  I have a use for it now, probably why I
> didn't look at it all that close before. Glad I misspoke or I would
> not have gotten a heads up from you. And others who have not used it
> may be intrigued too. As easy as "Hello World" is nice.
>
> Thanks again,
> Barry
>
> -- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
> wrote:
>>
>> Barry,
>>
>> I don't know if you actually read AmIBroker Development Kit (ADK)
>> http://www.amibroker.com/members/bin/ADK.exe
>>
>> (members only).
>>
>> ADK allows to build DLLs using not only Visual C++ but also
>> FREE DevC++ package. Project files for DevC++ are included
>> in the ADK.
>> Also there are sample files ready-to-use starting from very basic
> things
>> so writing DLL plugin for AmiBroker is not much more difficult
>> than writing "hello world" application.
>>
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message ----- 
>> From: "Barry Scarborough" <razzbarry@xxxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Thursday, October 20, 2005 10:45 PM
>> Subject: [amibroker] Re: creating DLL's
>>
>>
>> > 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
>> >>
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > 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
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
> 




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