Online Synergy/DE training now available 24-7                                                                                        
Trouble viewing the newsletter? Read the online version.

 
SEN Logo
 
New for professional Developers
   

Synergy/DE | Synergex | News | Classes | Contact

 

December 13, 2007
  In this Issue  

Online Synergy/DE training now available 24-7

Which version of Synergy/DE should you be using?
Synergex CTO Roger Andrews discusses this topic in his latest blog

Synergy/DE 9.1.3 brings increased .NET capabilities; beta test starts in January

Spotlight on Synergy/DE 9
A better way to implement dynamic memory

VisualSmart, Synergex’s business intelligence solution, to be demoed in New York

Support tech tip
How do I retrieve the pixel dimensions of the button area for a list?

Synergy-e-Quiz
Submit your answers and be in the running for the next $100 gift check, plus view the correct answers from the last round of questions

Platform news

Synergex education

Synergex sales and support holiday hours


blank

   
   
     
   
  Online Synergy/DE training now available 24-7
 


Now you can learn about Synergy/DE when you want, where you want. Synergy/DE webucations are now available online, making it possible for you to enhance your Synergy/DE knowledge when and where it’s most convenient for you. Topics include an overview of Synergy/DE 9, UI Toolkit’s new Composite Windows feature, and a three-part series on Synergy objects. We plan to add additional topics in the future.

 
top
 

 

Which version of Synergy/DE should you be using?
Synergex CTO Roger Andrews discusses this topic in his latest blog

As applications move forward, they support only newer versions of third-party software and remove support for older versions. It’s not really surprising; it’s all to do with QA and being able to take advantage of newer functionality.

There is one area in particular of the Synergy/DE toolset that is constantly moving forward to support newer 3rd party tools, with extended functionality and in some cases bug fixes – and that’s xfODBC.

>> click here to read the entire blog

 
top
 

 

Synergy/DE 9.1.3 brings increased .NET capabilities; beta test starts in January

The next Synergy/DE release, version 9.1.3, will provide new capabilities for developers creating .NET user interfaces, and it will support new versions of Microsoft and other technologies. Scheduled for release at the end of February, Synergy/DE 9.1.3 will

  • Enable you to call a .NET assembly or a .NET Winform/Winfx form from Synergy/DE

  • Provide greater flexibility for xfNetLink .NET developers, including
    • Support for new data types: System.String and System.Collections.ArrayList
    • The ability to map parameters, return values, and repository structure fields to different data types, such as Boolean and DateTime
    • The ability to pass a structure collection or ArrayList to a .NET DataTable
    • The ability to clone a structure class
    • Support for read-only properties

  • Support Windows Server 2008, SQL Server 2008, Visual Studio 2008, as well as SlickEdit 12 and InstallShield 2008

The beta test is scheduled to start January 15th, and it will run for four weeks. If you are a supported Windows developer interested in these new capabilities, please consider signing up. We need your help in order to ensure a high-quality release. To sign up, contact Synergy/DE HelpDesk Support.

 
top
 

 
Spotlight on Synergy/DE 9

A better way to implement dynamic memory

Back in 1996, Synergex released version 5.7.9 of Synergy Language, and with it, a powerful and very flexible feature known as dynamic memory. This feature immediately enabled Synergy developers to allow unrestricted processing of data. You no longer needed to pre-size arrays to hold order lines, transactions, etc. The data within the programs could then grow dynamically and was only restricted by the physical capabilities of the hardware hosting the runtime environment.

Many developers have utilized these capabilities throughout their code. The coding, however, can be confusing with the repeated use of ^M to reference data arrays and elements.  Many developers use parametric macros to simplify the code while editing it. This improves the readability of the code but presents problems when trying to debug, as the macros are not expanded in the debugger, and so developers need to refer back to the actual macro definitions and manually expand them.

All dynamic memory is accessed using the ^M function and referenced with the use of memory pointers. When you allocate memory, the function returns a pointer. To access the memory, you reference it via the returned pointer. And when processing is complete, you free the memory, again via the pointer. In the debugger, you can show what dynamic memory allocations are active by issuing the SHOW DYNMEM command. This command lists all allocated memory handles, the size of the allocated data, and the associated memory contents. For example,

DBG> show dynmem

GBL HANDLE 2 MEM_PROC segment size 11 data Hello World
GBL HANDLE 1 MEM_PROC segment size 8 data ~~~~~~~~

You can store any data within the allocated memory, including pointers to further allocations of dynamic memory. This is a very powerful capability and allows you to create dynamic arrays to hold any required data, including variable length strings. However, it is easy to introduce memory leaks at this point. The code segments below show how this can happen. 

Our requirement for the example program is to store an unknown number of variable length strings of data. To accomplish this, we create a dynamic memory array and in it store pointers to further dynamic memory segments that store the actual data. The mainline program is very simple. It defines a variable that is used as a dynamic memory pointer. It then calls a routine several times to add variable amounts of data to each element of the array.

>> click here to read the rest of the article

top
 
   
   

 
VisualSmart, Synergex’s business intelligence solution, to be demoed in New York


The VisualSmart team will demo the newest VisualSmart release at a Salesforce user/prospect event in New York City at the Grand Hyatt Hotel.

“The On-Demand Success Tour” features presentations, lunch, and networking opportunities. As a sponsoring partner, VisualSmart will offer attendees a hands-on look at the newest VisualSmart features, including single sign-on security, scheduled reporting, interactive mashups, third-party data aggregation, and more.

VisualSmart travels to New York on January 24, 2008. Synergy/DE customers who are interested in Salesforce or who would like to see the new VisualSmart features are invited to stop by the VisualSmart booth and say hello. Pre-registration for the Success Tour is encouraged, and can be done online here.

 
top
 

 
Support tech tip

How do I retrieve the pixel dimensions of the button area for a list?

The pixel dimensions of the button area for a list can be retrieved by using %U_WINMETRICS to get the D_CLIENT_RECT and D_VISIBLE_RECT coordinates, and then doing one of the following:

  • If the button area is on the right side of the list window, subtract the right coordinate returned by D_VISIBLE_RECT from the right coordinate returned by D_CLIENT_RECT.

  • If the button area is at the bottom of the window, subtract the bottom coordinate returned by D_VISIBLE_RECT from the bottom coordinate returned by D_CLIENT_RECT. For example:
snippet of sample code
 
top
 

 
Synergy-e-Quiz    
 


Submit your answers and be in the running for the next $100 gift check. Test your Synergy/DE and trivia knowledge. Play now.

Curious about the answers to the last round of questions?
Find out which answers were correct, and why.

top

 
   
 
 
 
 
 
   
 
 

 
  Platform news  
 


Microsoft

Windows XP SP3 yields performance gains
November 23, 2007

Microsoft to beef up anti-piracy checks in Vista SP1
December 3, 2007

Microsoft takes steps to prevent WGA potholes
December 3, 2007

Linux 

Red Hat finally nears real-time Linux launch
December 4, 2007

Sun Solaris

OpenSolaris soon to run on IBM mainframes
November 28, 2007

     
top
 

 
 
Synergex education    

January 17, 2008 - 8AM PST - Workbench Highlights* - At your desk
*All attendees receive a free t-shirt!

Synergy/DE 9.1 Highlights
Anytime online

UI Toolkit Composite Windows
Anytime online

Synergy Objects Part 1
Anytime online

Synergy Objects Part 2
Anytime online

Synergy Objects Part 3
Anytime online

   
 
top
 

 
Synergex sales and support holiday hours
 

The Synergex support and sales teams will provide service to customers between the hours of  7:00 AM - 4:00 PM PST between 12/19/07 - 01/01/08 with the following exceptions:

12/24/07: 8:00 AM - 12:00 PST (Sales will be available at 7:00 AM)
12/31/07: 8:00 AM - 12:00 PST (Sales will be available at 7:00 AM)

If you anticipate needing assistance outside of these hours, please let us know.

 
top


 
 
 
 
 
 

Subscribe to Synergy-e-News.

To view past issues of Synergy-e-News, see the Synergy-e-News Archive.
To remove yourself from the Synergy-e-News mailing list, please click here.

Trademarks: Synergex, Synergy, Synergy Development Environment, Synergy/DE, and all other Synergy/DE product names are trademarks of Synergex. All other product and company names in this newsletter are trademarks of their respective holders.

Synergex International · 2330 Gold Meadow Way · Gold River, CA 95670
+1 916.635.7300 | 800.366.3472 (North America) | 0800.898.368 (United Kingdom)

Copyright © 2007 Synergex International Corporation. All rights reserved.

Synergy-e-News 12132007