Software Database

Search for resolved Bug or Feature Request:

ID:
Bugfix:SAM library exposes SAM COM structures in a wrong packing format ( 8 Byte instead of 1 Byte )
Description:SAM library COM inface was build until now with default packing ( equal to 8 Byte ) - this was wrong, because Sam library internally expects a packing of 1 Byte.
SAM COM interface is now build with 1 Byte packing.
Kernel Call 'ScKernel().ScSetLongValue( ScConstantsKernel.scComLongValueIDParentThreadStructAlignment, 8 )' is now obsolete ( is not required and is not supported anymore ).

If you use Download with date equal or newer to 05 September 2011 ( build is in process ) WITH your own SAM host application AND you are using following call inside your application:

ScKernel().ScSetLongValue( ScConstantsKernel.scComLongValueIDParentThreadStructAlignment, 8 );

then you MUST rebuild your application and omit this call !

( If this call ‘scComLongValueIDParentThreadStructAlignment = 8‘ would be used with the now correct packing of ‘1’, it would produce failure for the following functions: )

int ScAddPointsInProc( ref sc_com_point_tag Array, int Size, int Count );
nt ScGetPointsInProc( ref sc_com_point_tag Array, int Size, int Start, int Count );
int ScSetPointsInProc( ref sc_com_point_tag Array, int Size, int Start, int Count );
int ScAddPointsInProc3D( ref sc_com_point_3d_tag Array, int Size, int Count );
int ScSetPointsInProc3D( ref sc_com_point_3d_tag Array, int Size, int Start, int Count );

( ‘scComLongValueIDParentThreadStructAlignment‘ is used only for these functions … )

State:solved, bug fixed / feature implemented
Solved in version(s):REL_3_0_5_20110912_0731
3.0.5


Go to software changelog