[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ucrow::desktop_acms

Title:DECtp Desktop for ACMS
Moderator:UCROW::GIBSON
Created:Mon Sep 24 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:859
Total number of notes:3034

812.0. "VB and Workspace > 32K" by NEWVAX::OUTMAN () Sat Jan 04 1997 17:50

T.RTitleUserPersonal
Name
DateLines
812.1large workspaces work okay in VB3/4UCROW::KNEELANDFri Jan 31 1997 12:4629
    
    I have not been able to reproduce this bug using large 
    workspaces in VB3 or VB4(16 bit) on either Win3.1 or Win95.
    
    I have tested both non-blocking and forced non-Blocking calls 
    using 33K and 42k sized workspaces without any troubles.  
    
    VB3/4 does not support unsigned integers.  Currently the  
    ACMSDI_WORKSPACE and ACMSDI_WORKSPACE_OPT structures use an 
    unsigned integer for the workspace length supporting ACMS's 
    64K workspace limit.  
    
    To use workspaces >32767 in VB3/4 you must supply the signed equivalent 
    as the workspace length.  
    
    ie. 32768...wksp_ptr(0).length = -32768
        32769...wksp_ptr(0).length = -32767
    
    If desirable, we can provide a DLL (C++ routine) that will return 
    the signed value equivalent of an integer >32767.
    
    VB and large (>32767) workspace users must use the above workaround 
    until other alternatives can be explored.
    
    Regards,
    
    Colette
    
    ACMS Desktop Engineering