PureBytes Links
Trading Reference Links
|
Hello,
I actually made a group search and the amibroker-dll group did not appear in the search result. I am now posting in the dll group instead.
Cheers
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>
> Hello,
>
> First and foremost: this is not correct list, use amibroker-dll list instead.
>
> DLLs are for advanced programmers, if you are having problems with matching braces then you should
> not be using DLLs at all.
> AFL is all you need, unless you are professional programmer and you know precisely what you are doing.
>
> As to your memory - in DLLs you should be using gSita.AllocArrayResult() instead. By using so,
> you don't need to worry about deallocation because AB will do that for you.
>
> Using malloc/free is very fast route to memory fragmentation, not to mention that MinGW probably uses
> its own allocator that you can't use to return arrays to AB.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "bertbulaba" <bertbulaba@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, May 07, 2009 5:37 PM
> Subject: [amibroker] DLL Problems
>
>
> >I am struggeling with a DLL I have of some resource hogging indicators. The problems are:
> >
> > 1. Eats up my internal memory
> > The indicator plots perfectly, but when I use it in an optimization within 30 min all my merory is gone. I have triple checked my
> > malloc/free declarations and they are all fine. Besides this happens with indicators not even using malloc/free.
> >
> > 2. Plots, NOT!
> > When I press Apply the indicator plots just as it should, then when I scroll the chart, it disappears and claims an empty array.
> >
> > I use Code::Blocks with MinGW. Perhaps it has something to do with a warning I cannot get rid of: "warning: missing braces around
> > initializer". The initializer refered to is the FunctionTag gFunctionTable[] = {}. The braces are there, of course.
> >
> > Desperately seeking help!
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
> >
> >
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
|