PureBytes Links
Trading Reference Links
|
<SPAN
class=641025011-21062004>Hi Stephan, I'm waiting to be approved by the dll group
moderator, but dingo kindly sent me the files yesterday.
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>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:
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>COsakaTable::COsakaTable(){ m_aiColumnOffsets
= NULL; m_aiColumnTypes = NULL; m_aiColumnSizes =
NULL; m_iCurRowLen = 0; m_iNumColumns =
0; m_iMaxColumns = 0; AllocColumnStorage( 128
);}
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>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:
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004> AllocColumnStorage( 128
)
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>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.
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>(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:
<SPAN
class=641025011-21062004> <FONT
face="Courier New" color=#0000ff size=2><A
href="">http://msdn.microsoft.com/visualc/vctoolkit2003/
<SPAN
class=641025011-21062004>contain a compatible and free compiler, without going
to BitTorrent?)
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>Thanks again,
<SPAN
class=641025011-21062004>
<SPAN
class=641025011-21062004>Dave
<BLOCKQUOTE
>
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 <A
href="">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
<FONT face=Arial
size=2>////////////////////////////////////////////////////////////////////////
Construction/Destruction//////////////////////////////////////////////////////////////////////
<FONT face=Arial
size=2>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();
<FONT face=Arial
size=2>}
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|