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

[amibroker] Re: How to scan entire message list for a particular subject?



PureBytes Links

Trading Reference Links

Hello,

the osaka.dll in third section ( osaka104s )has no limitation in the 
number of columns
but now if you compil the workspace ( in file section of ami dll 
group and I suppose it is the same that dingo has sent) and copy the 
release dll in plugin folder of amibroker, you'll have a limited 
number of columns controlled by AllocColumnStorage( 128 );

stephane





> Hi Stephan, I'm waiting to be approved by the dll group moderator, 
but dingo
> kindly sent me the files yesterday.
> 
> And thanks for the info on how to increase the number of columns, 
but I'm
> confused. Here's that section of code, from the souce dingo sent:
> 
> COsakaTable::COsakaTable()
> {
>  m_aiColumnOffsets = NULL;
>  m_aiColumnTypes = NULL;
>  m_aiColumnSizes = NULL;
>  m_iCurRowLen = 0;
>  m_iNumColumns = 0;
>  m_iMaxColumns = 0;
>  AllocColumnStorage( 128 );
> }
> 
> What's confusing is that as I've said, Osaka 104 can *already* have 
an
> unlimited number of columns; I've actually tested with 10,000. How 
can that
> be, given this line, if, as you suggest, it controls the maximum 
number of
> columns:
> 
>     AllocColumnStorage( 128 )
> 
> The only problem I'm aware of is in loading a table saved with more 
than 128
> columns. Saving doesn't crash by itself, but could still be doing 
something
> incorrectly that causes the crash on load. I don't see anything in 
either
> the save or load routines that obviously assumes 128 columns max, 
but as
> I've said, I'm not a C++ programmer.
> 
> (I have to admit, having the source in hand almost makes me want to 
learn at
> least enough to get this fixed, and to add those Find runctions I 
mentioned.
> And maybe add osTabSetRowArray, to load an entire table row from an 
AB array
> in one shot, at compiled C++ speed instead of an AB loop over each 
element.
> Does this download:
>     http://msdn.microsoft.com/visualc/vctoolkit2003/
> contain a compatible and free compiler, without going to 
BitTorrent?)
> 
> Thanks again,
> 
> Dave
>   Hi Dave, the workspace of asaka plugin is in the file section of 
ami dll
> group
>   once you have download it
>   you can recompile it with microsoft visual c++ that you can 
download for
> free with bittorrent at http://www.suprnova.org/
> 
>   you can modify it and increase the number of columns in 
osakatable.cpp
>   where you can read the declarations
>   just change AllocColumnStorage( 2147483647 );
> 
>   to the maximum value for int is  2147483647
>   //////////////////////////////////////////////////////////////////
////
>   // Construction/Destruction
>   //////////////////////////////////////////////////////////////////
////
> 
>   COsakaTable::COsakaTable()
>   {
>    m_aiColumnOffsets = NULL;
>    m_aiColumnTypes = NULL;
>    m_aiColumnSizes = NULL;
>    m_iCurRowLen = 0;
>    m_iNumColumns = 0;
>    m_iMaxColumns = 0;
>    AllocColumnStorage( 2147483647 );
>   }
> 
>   COsakaTable::~COsakaTable()
>   {
>    free( m_aiColumnOffsets );
>    free( m_aiColumnTypes );
>    free( m_aiColumnSizes );
> 
>    FreeEntries();
> 
>   }



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/