Minimize

Blog Entries

Author: Created: 9/6/2011 10:34 AM RssIcon
I'm a Professional Engineer that focuses on Software Engineering. I own and run Zinck Computer Group. This blog will generally be talking about business software but I will also talk about other things that hit my desk and interest me.
By Chris Zinck on 5/12/2011 12:00 AM
Here’s a problem we just figured out today. Implementing the new Sage ERP Accpac desktop Icon protocol requires that you provide a DLL with three entry points that get called when the desktop initializes.

We had all sorts of trouble getting the System Manager to load and run our DLL. We messed around with different ways to export the entry points, we implemented the DLL in a pure C environment (instead of a C++ file) and we moved the code into our activation view and exposed it there. None of it would work. So, we built a completely stand alone file and erected the basic protocol with nothing else. Presto! The DLL loaded and ran.

Cool, we didn’t really understand why, but what the hell it works. We then started adding real code to make the code do something.

Uh Oh…it’s broken again. What did we do? Well, we added calls to a dependency. Another DLL that has some support code. Why would that break it?

It turns out that when the Icon Protocol DLL is called, the working directory is NOT...
By Chris Zinck on 2/24/2011 12:00 AM
About a year ago, I posted information regarding issues with DEP (Data Execution Protection) and Accpac addins written in .Net. (http://www.zcg.com/Blog/tabid/152/EntryId/6/DEP-NET-Windows-and-Accpac.aspx) While my post addressed the issue from the point of view of running the app, there is an outstanding issue of debugging this apps. Under the default situation, debugging a .Net Accpac addin that uses Accpac controls will cause the program to fail. The underlying reason for this relates to Visual Studio's use of a hosting process to run the debuggee. This process is started by launching the VSHOST32.EXE process which then launches the debuggee. The reason this generates DEP errors is that the VSHOST32.EXE process has the NXCOMPAT flag set. This turns DEP on regardless of what is set in the debuggee process binary. To solve this problem, you need to modify the VSHOST32.EXE process. Run the EDITBIN utility on the VSHOST32.EXE...
By Chris Zinck on 2/24/2010 12:00 AM
At Zinck Computer Group we’ve developed a COM component that we use in our eTransmit product to send documents by email or fax. Up till now we’ve been installing and registering the component on each workstation that uses eTransmit. This is a huge pain in the A%$# and has led to many support calls and emails.

We started considering a rewrite of the component into an old style C DLL. But recently, we’ve been experimenting with Registrationless COM.

This technique ROCKS! With some easy to setup manifest files, you can put all your COM components in your application folder and just instantiate them like you used to, no registration required.

Windows XP and up, but definitely worth the effort.
By Chris Zinck on 1/16/2010 12:00 AM
Accpac will be moving to a presentation/UI layer that is based entirely on open source tools. This is going to be a huge challenge for us at Zinck Computer Group.

For as long as we have been in business, we’ve developed software using Microsoft and Accpac technologies. We started back in the 80’s with MSC 5.0 and DOS and moved right into Accpac for Windows and Visual Studio / Visual Basic.

But now, the Accpac SDK is based on Tomcat, Eclipse, Google Web Toolkit and Java. Holy Cow Batman! What a difference!

What I’m noticing is that while most of these tools are deep and flexible, they just don’t have the product polish that something like .Net or Visual Studio has. I can’t go to a web site like MSDN and look up quality documentation.

I’m already finding it hard to get centralized information on these tools. Sure, Java is a no brainer, but Tomcat, GWT and Eclipse are moving targets and not as nearly well documented.

This is going to be a major change for us and we are going to...
By Chris Zinck on 1/15/2010 12:00 AM
As I mentioned in my last post, I volunteer on Engineer Nova Scotia’s Board of Examineers. I’ve also done the odd visit on an accreditation team for the Canadian Engineering Accreditation Board.

Last weekend I was part of the team that visited UBC’s Okanagan campus and had a look at their new engineering programs. It’s an incredible amount of work, but I’m continuously amazed at the quality of the team on one of these visits. The staff and faculty at UBC Okanagan were extremely helpful and enthusiastic.

It sort of makes me wonder if engineers that get involved with their community and education are normally this good. It sure makes me hopeful that the profession will continue to improve and set high standards.

That can’t be anything but good for the future of public safety and breakthroughs in applied technology.

Viva la Engineer! :-)
By Chris Zinck on 12/17/2009 12:00 AM
I’m a practicing Professional Engineer and have been a member of Engineers Nova Scotia’s Board of Examiners for almost 10 years now. Today was our December Board meeting which also doubles as a Christmas party. Lunch and the meeting is normally held at a local restaurant and a good time is had by all.

When I was driving back to the office after the meeting, I was thinking about the engineers on the board and how well we worked together. I’ve been involved with some volunteer organizations and the politics and back biting can get very bad. But the people on the Board of Examiners are excellent.

Just thought I’d put that on the record.
By Chris Zinck on 12/16/2009 12:00 AM
We received our Sage Accpac 5.6 disks last week. There are a lot of little changes and some fairly big ones. Here is a sampling of what’s new:

Completely new installation process. There is now an integrated install. No more installing each module separately. Yeah! Integrated activation. The activation process is now integrated so that you pick the modules you want activated from a list and then let it do it’s thing. This keeps you from having to baby sit the process when you are doing a lot of modules. Reporting and operational tweaks in G/L, A/R and A/P Reworked Bank Rec process in Bank Services. A lot of other changes to Bank Services. A new business intelligence reporting module. and the big change is a completely rewritten serialized and lot tracking module that is integrated in to I/C, O/E, P/O and P/M. Plus you don’t purchase the modules separately now. Serialized and Lot Tracking are sold as one add on module. There are a lot of other changes but that’s the main list. DB2 is no longer supported and full PDF manuals have disappeared. The help files are the main source for operational information now.

...
By Chris Zinck on 12/8/2009 12:00 AM
Last year after we installed Vista on our development machines, we came across a problem with .Net programs and Accpac.

We’ve been writing some of our custom Accpac programs in .Net and calling the Accpac COM API to interface with Accpac ERP. But when these .Net programs were run on our Vista machines they would crash. But only when using one of the Accpac COM API’s that would pop open a window. Calling a Finder through the API or doing a ShowErrors call would instantly crash the program. Everytime.

After doing a LOT OF investigating, we discovered that the problem was related to DEP (Data Execution Protection). If we disabled DEP on our workstations, the problem would go away.

With some more digging, we came up with a theory that fits pretty well. Turns out the ATL library had some problems with DEP (up to and including V7.1). They do some kind of runtime code creation for thunking that makes DEP think the program is trying to run data. And then DEP causes the program to crash. Guess who uses ATL components in their COM API? Correct! Accpac! Everytime we used the COM API that opened a window of some kind, an ATL component was called and BAM! Down it goes.

...
By Chris Zinck on 10/2/2009 12:00 AM
We had a problem last week regarding a custom Accpac view we were developing. It was a straight flat file view with no business logic. We cobbled it together basically to get the table created in the database with the appropriate data dictionary entries. We’ll never call it except for the initial ViewCreate call.

The problem was that it would load fine on our development workstations but not on the customers server. After scratching our heads a bit, we ran DEPENDS on the DLL to see if there were any missing dependencies. Sure enough, it was reporting that it couldn’t find the Visual C runtime (V8). Since Accpac uses the same runtime, we couldn’t understand what was going on.

Turns out that the default build in the Accpac SDK uses the –manifest switch. This embeds a Windows manifest file in the resources of the DLL. The manifest specifies the build of the MSVC runtime and sets it to the newest version on the build machine. Since we had a newer version than what was loaded on the customers machine,...
By Chris Zinck on 9/7/2009 12:00 AM
I installed Windows 7 Enterprise on my laptop over the weekend. I think I use way too much software. While the Windows 7 install went very smoothly, it really takes a couple of days for me to get the rest of my software installed. It isn’t really a full time thing, its just insert CD, start install, walk away, come back later and start the next install.

So far, there haven’t been any compatibility problems with any of the programs I use. My VPN software complained about not supporting this platform, but that was easily dealt with by installing in Vista compatibility mode.

I think I like it.
Minimize

Search

Minimize

Recent Entries

Problem with new Desktop Icon Protocol
Debugging .NET Accpac Addons
Registrationless COM
Moving from MS to Open Source
CEAB UBC Visit
Board of Examiners Christmas Lunch
Sage ERP Accpac 5.6 has been released
DEP, .NET, Windows and Accpac
Accpac Views and Manifest Files
Windows 7
Minimize

Recent Comments

Re: Board of Examiners Christmas Lunch
Womens cheap oakley sunglasses are the best sunshades that I have ever used. They are not only stylish and fashionable but also very comfortable to wear, durable in use and affordable in price. oakley sunglasses sale are even available at discount rates; you can avail yourself of oakley sunglasses outlet from many online and onsite stores. The discounts are available after every three to four months, when new styles and designs replace the previous oakley sunglasses discount.
Re: CEAB UBC Visit
Henrik Lundqvist Jersey, Shane Doan Jersey, Authentic Michael Jordan Jersey, Marc Staal Jersey, Sean Avery Jersey, Authentic John Salmons Jersey, Ilya Kovalchuk Jersey, Cheap NFL Jerseys, number one wholesale, Nike NFL Jerseys 2012, Authentic Alonzo Mourning jersey, Zach Parise Jersey, cheap jewelry, Authentic Carlos Boozer Jersey, Authentic Luol Deng Jersey, Cheap Nike NFL Jerseys, Wholesale Nike NFL Jerseys, Martin Brodeur Jersey, Authentic Dennis Rodman Jersey, china wholesale nike, wholesale jerseys china, Anze Kopitar Jersey, Authentic Udonis Haslem jersey, nike nfl jerseys 2012 for sale, Wayne Gretzky Jersey, Throwback Heat Jerseys, Authentic Dwyane Wade Jersey, Patrik Elias Jersey, Authentic LeBron James Jersey, Authentic Derrick Rose Jersey, cheap tiffany jewelry , Authentic Chris Bosh Jersey, Dustin Brown Jersey, Authentic Mario Chalmers jersey, Ryan Callahan Jersey, Throwback Bulls Jerseys, Brad Richards Jersey, Drew Doughty Jersey, wholesale jerseys china free shipping, Ray Whitney Jersey, Authentic Scottie Pippen Jersey, Nike NFL Jerseys Wholesale, Authentic Joakim Noah Jersey, Nike NFL Jerseys Cheap
Re: Moving from MS to Open Source
John Carlson Jersey, Russell Westbrook Jersey, Henrik Lundqvist Jersey, http://www.officialcoyotesshop.com, Sean Avery Jersey, www.officialcoyotesshop.com, Ryan Callahan Jersey, Marc Staal Jersey, Mike Bibby Jersey, Brandon Dubinsky Jersey, Nicklas Backstrom Jersey, Henrik Lundqvist Jersey, http://www.bestchistore.net, John Carlson Jersey, http://www.officialheatjerseyshop.com, Patrik Elias Jersey, Zach Parise Jersey, Patrik Elias Jersey, Michael Beasley Jersey, Claude Giroux Jersey, Chauncey Billups Jersey, http://www.vipcoachoutletshop.net, Dustin Brown Jersey, http://www.vipmkoutlet.com, Mike Green Jersey, James Van Riemsdyk Jersey, Shane Doan Jersey, Zach Parise Jersey, http://www.officialthunderjerseyshop.com, Martin Brodeur Jersey, Wayne Simmonds Jersey, Jaromir Jagr Jersey, Brad Richards Jersey, Anze Kopitar Jersey, Alex Ovechkin Jersey, Chris Paul Jersey, Dwyane Wade Jersey, www.officialclippersjerseyshop.com, Martin Brodeur Jersey, Ilya Kovalchuk Jersey, Alonzo Mourning Jersey, Ryan Callahan Jersey, www.officialthunderjerseyshop.com, Udonis Haslem Jersey, http://www.vipmkoutlet.com, Nicklas Backstrom Jersey, www.officialheatjerseyshop.com, www.ghdsouthafricawebsite.com, Chris Bosh Jersey, Ilya Kovalchuk Jersey, Alex Ovechkin Jersey, Kevin Durant Jersey, Maxime Talbot Jersey, Chris Paul Jersey, LeBron James Jersey, Ray Allen Jersey, http://www.officialclippersjerseyshop.com, Mike Green Jersey, Mario Chalmers Jersey, www.officialdevilsnhlshop.com, Alex Ovechkin Capitals Jersey, Brad Richards Jersey, http://www.vipcoachoutletshop.net, Marc Staal Jersey, Drew Doughty Jersey, Russell Westbrook Jersey, Mike Knuble Jersey, Marian Gaborik Jersey, Blake Griffin Jersey, Wayne Gretzky Jersey, Ovechkin Capitals Jersey, http://www.ghdsouthafricawebsite.com
Re: DEP, .NET, Windows and Accpac
replica rolex are likely to be made of cheaper materials, and are therefore more prone to chipping and damage.If you are a Police Sunglasses collector and you are concerned about being given imitation as gifts, then why not set up a Club account, and create a wish list? Police Sunglasses can be found for less when you shop on the Internet.Genuine yankees new era is crafted to a high standard, making this premium jewellery both desirable and practical.With such a huge range of Coach Bracelet available,makes the perfect gift for ladies of any age.
Re: Moving from MS to Open Source
Also, are all made with silver or gold centres, which minimises the amount of wear on Coach Bag worn side by side.With the Murano Ray-Ban Aviator, the genuine article has been heat treated to be extremely tough and durable.Firstly, the yankees new era may not fit well, either with hole being too small for the, or too big - so that the bead may move around more, causing more wear to the beads on either side.If you are looking to buy some more charms to add to your replica rolex, but are considering buying charms which are not official then there are a few things to consider.
Re: Registrationless COM
If they appear in Ray-Ban Cats 5000 listings then they are sure to be an authentic reseller.If you are still unsure about whether or not the site is genuine, you could always visit the genuine Coach Backbag website and do a store search for the online retailer.However there are many resellers, and smaller replica rolex stores which may have special offers or stock a particular item which you cannot find elsewhere.Thankfully, yankees new era are forward thinking, and give the stores which they supply to online a "Certified Online Retailer" badge which they can display on their websites.
Re: Debugging .NET Accpac Addons
If you are buying directly from the official Ray-Ban Clubmaster, then you are of course going to be getting the real deal.So your wait for a good piece of replica rolex ends with the variety offered.yankees new era is incredibly popular, and the collectable nature of these beautiful pieces of means that many people are searching for them online.As with any designer label, there will always be companies selling Coach Shoes, however when you are buying online how can you be sure that what you are purchasing is the genuine .
Re: Problem with new Desktop Icon Protocol
The good thing is that the yankees new era is easy to take on and off.The collection is so huge and with lots of variety that you are sure to find Ray-Ban Jackie Ohh for everyone.To attach your special replica rolex there is a sterling silver link provided which can hold up to three charms.So my suggestion to all of those who are considering Coach Necklace as a gift for your loved ones for any special occasion would be to definitely check out their amazing.
Re: Problem with new Desktop Icon Protocol
What is so extraordinary and unusual when it comes to [url=http://www.factorybagsforcheap.com/Coach-Handbag]Coach Handbag[/url] is that you have an option to pick and select your own to be attached onto the of your preference.Just in the range of [url=http://www.raybanlondon.co.uk/ray-ban-rb3211]Ray-Ban RB3211[/url], it provides options of a standard or you could opt for the obsidian.[url=http://www.bestnewera.com]yankees new era[/url] gifts are not restricted to just your lover, you could also pick perfect for almost everyone, including your family and friends.Even if you shop for your special occasion at the last moment, you are sure to find something nice at [url=http://www.rolex-seller.com]replica rolex[/url].