A Stitch in V9 Saves Time.  Synergex  |  Synergy/DE  | Resource Center  |  Contact Us
Welcome to Synergy-e-News. callout boxes for what's new feature and quote
 
Synergy/DE 9
Synergy/DE blog
Synergy/DE and O/S versions
Subscribe to Synergy-e-News
Request the text version
August 26, 2008
In this Issue:
A Stitch in V9 Saves Time
Before and after pictures of regular code as it migrates to version 9

By Tod Phillips, PSG Consultant, Synergy/DE
What’s New in CodeExchange?
A collection of programs that highlights many of the changes between the Synergy/DE 9 compiler and earlier versions of the compiler
And the Winner of the "Wii Want Your Code" Contest Is...
Support Tech Tip
Attempting to build an assembly in a Synergy/DE .NET component project generates an error
Quiz
Synergy/DE pros, see if you can answer this question!
Platform News
Synergex Events and Education
Reduced HelpDesk Support Hours on Wednesday, August 27

ARROWSA Stitch in V9 Saves Time
Before and after pictures of regular code as it migrates to version 9
By Tod Phillips, PSG Consultant, Synergy/DE
I spent a week last Sunday cleaning my office. When I was finished, I had the opportunity to sit back and admire my work. Things had suddenly found a place of their own, where they could live in an organized fashion without cluttering my desk, drawers, floor, bookcases, and lamps. (Yes, lamps. The glow of the light through hundreds of multi-colored sticky notes was really something to behold).

Come Monday morning, I began hacking away at an old program that I’ve been upgrading to “version 9 only.” As I flipped back and forth between the old code and the new, it dawned on me that what I’d accomplished in my Office Cleanup Project was a lot like what I was trying to accomplish now.

I took a look around the office. Everything was tidy; I could either see exactly where everything was or knew instinctively how to get at it. I knew that opening up that drawer would yield ordered rows of office supplies and behind that cupboard door I’d find printer supplies. Glancing back at the old code, I shuddered. Figuring out what any particular snippet was doing was like hunting for my favorite pen only a week ago—eventually I’d find it, but the time cost was enormous.

There are a number of version 9 features that can help you clear the clutter from your code. And so today I sit down to write the first in a sequence of Synergy-e-News articles which show the “Before and After” pictures of regular code as it migrates to v9.

Click here to read the entire article.

^ top

ARROWSWhat’s New in CodeExchange?
A collection of programs that highlights many of the changes between the Synergy/DE 9 compiler and earlier versions of the compiler

CodeExchange includes several programs, bundled as MigratingToSynergy9.zip, that all compile without errors or warnings under Synergy/DE 8.3, but result in compiler errors or warnings when compiled with v9. Each source file includes suggestions for typical changes you might have to make when migrating to Synergy/DE 9 for the first time.

Further, although all of the programs will compile with v8.3, several may result in runtime errors. In most cases, the changes suggested to make the code compile with the v9 compiler will also remove the possibility of these runtime errors.

Download these sample programs from CodeExchange.

Have a Special Code Request?
Is there a piece of code that you have been hoping would appear in CodeExchange but which so far is still MIA? Let us know what you need! Send an email to synergy@synergex.com detailing what type of code you are craving, and in an upcoming issue of Synergy-e-News, we’ll ask your peers if any of them have just the right tidbit to get you on your way.


^ top

ARROWSAnd the Winner of the "Wii Want Your Code" Contest Is...
...Michelle Benoit of Harland Financial Solutions! Congratulations, Michelle!

Thank you to everyone who submitted code throughout the contest. Don't forget to look for your "Got Code" T-shirt to be arriving in the mail shortly.

CodeExchange is a valuable asset to the Synergy/DE community and a good resource for your fellow developers, so keep the submissions coming!


^ top

arrowsSupport Tech Tip
Attempting to build an assembly in a Synergy/DE .NET component project generates an error
With .NET Framework SDK 2.0 installed, selecting "Build Assembly" in an existing Synergy/DE .NET component project results in the following error, even though "syn_set_sdkvars 2.0" was specified in the Open tab of the Project Properties dialog:

"Workbench has detected that your .NET Framework SDK environment is not set up properly. You must set it up before Workbench can generate the assembly."

This problem occurs only when you attempt to rebuild an assembly in an existing .NET project, not a new project. And it happens because the "syn_set_sdkvars 2.0" command is not being run when you open a project, even when this command is correctly located within the Open commands. Consequently, the environment doesn't get set up, and you get the error when you build.

This issue is fixed in Synergy/DE 9.1.5. To work around the problem in earlier versions, just type "syn_set_sdkvars 2.0" at the Workbench command line.


^ top

arrowsQuiz
Synergy/DE pros, see if you can answer this question!
What is the value in the variable “num” at the end of this code fragment?

begin
  data num, i1, 127
  incr num
end

1. 128
2. -128
3. 0
4. undefined

Visit our Web site for the answer.


^ top

ARROWSPlatform News

Red Alert! DNS Flaw Revealed
July 23, 2008

Windows

Microsoft Admits Posting Flawed Update
August 22, 2008

The Sky Isn't Falling: A Look at a New Vista Security Bypass
August 11, 2008

Microsoft: We'll Help Other Vendors Find, Fix Their Bugs
August 7, 2008

Microsoft Promises 12 Patches Next Week
August 7, 2008

DNS Queries That Are Sent Across a Firewall Do Not Use Random Source Ports After You Install Security Update 953230 (MS08-037)
July 25, 2008

MS08-037: Vulnerabilities in DNS Could Allow Spoofing
July 25, 2008

A Windows Server 2003-Based Computer Becomes Unresponsive Because the Paged Pool Memory is Exhausted When an Application Calls the GetFileAttributesEx and MoveFileEx Functions on Lots of Files
July 5, 2008
**Note: This article describes how the Synergy Runtime works when using the xcall renam function on a local drive

Linux

Red Hat Admits Breach of Its Servers, Fedora
August 22, 2008

SUSE Linux Enterprise Real Time Now Certified and Supported on IBM Hardware and Middleware
August 5, 2008

IBM

IBM, Open Source, and the 'Microsoft-Free' Desktop
August 6, 2008

^ top


ARROWSSynergex Events and Education
Workbench Highlights
September 4, 2008
8 AM PDT
At your desk
*Each attendee receives a free t-shirt!


From UI Toolkit to .NET: Updating a Legacy Application (a Customer's Perspective)
Anytime online


Synergy/DE 9.1 Highlights

Anytime online


UI Toolkit Composite Windows
Anytime online


Synergy Objects Parts 1, 2 and 3

Anytime online


^ top

ARROWSReduced HelpDesk Support Hours on Wednesday, August 27
On Wednesday, August 27, HelpDesk Support hours will be 6:00 AM to 11:30 AM, PDT. If you anticipate needing our assistance outside of these hours, please contact us at synergy@synergex.com to make arrangements.

^ top


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 © 2008 Synergex International Corporation. All rights reserved.

Synergy-e-News 08262008