|
New .INI Variable for WIN.INI
Because of conflicts when running both PowerBuilder version 4.0 and PowerBuilder version 3.0 and using the initpath variable in the WIN.INI [PowerBuilder] section, a new variable has been introduced.
For 4.0 access to a Powersoft (PB/PM/PV) .ini file, create an environment variable in your autoexec.bat file with the following line:
SET INITPATH040=<path>
Where <path> is the path to your PowerBuilder version 4.0 directory.
If INITPATH040 is not found, PowerBuilder uses the INITPATH environment variable, as it has in prior versions.
Graph Sort Criteria
In version 4.0, you can specify a sort order for the data on the Category and Series axes of a graph. The choices are Unsorted, Ascending or Descending, the default is ascending.
Because migration does not add a PowerScript statement to assign a value to this new attribute, it takes on the default value (Ascending). You can change the sort order after migration is complete.
New size for handle related variables and parameters
The size of handle-related variables and parameters has been changed from integer to long. This is a migration issue for applications that save the result of the Handle function and will run on a 32-bit OS. This change applies to the following functions and structures:
- Handle( )
- Send( )
- Post( )
- TriggerEvent( )
- PostEvent( )
- Message object
- DataWindowChild( )
For example, this code would work:
Send( Handle(cb_1), 45, 0, 0 )
But the following code would fail if the handle is greater than 64K:
int iCBHandle iCBHandle = Handle(cb_1) Send( iCBHandle, 45, 0, 0 )
|