Doing hash or encryption on several CPUs in Xojo

One of the great things we can do safely in plugins is to put work in extra preemptive threads. This way your GUI in Xojo stays running responsive while you keep all CPUs in a computer busy. This works by calling the plugin method in a Xojo thread. Now the plugin starts processing on a preemptive thread which can run on another CPU. The plugin function on the xojo thread yields time, so your other xojo threads can do their work. Now in total with 8 xojo threads doing work, you can get 8 CPUs at nearly 100% usage each. And that with a total number of 17 threads running: Your main thread, 8 Xojo threads and 8 threads run by plugin.

Now we recently added functions CipherMBS.ProcessFile, DigestMBS.ProcessFile, MD5DigestMBS.HashFile, SHA1MBS.HashFile, SHA256MBS.HashFile and SHA512MBS.HashFile to process encryption or hashing in background. If you schedule threads correctly, you get the full speed up until hard disk is the bottleneck.

MBS Xojo / Real Studio Plugins, version 14.2pr8

New in this prerelease of the 14.2 plugins:
  • Added new functions to hash classes to process a whole file multithreaded in background to MD5DigestMBS, SHA1MBS, SHA256MBS and SHA512MBS classes.
  • Added DigestMBS.FinalText and DigestMBS.Process.
  • Added CipherMBS.ProcessFile.
  • Added console support for zxingBinaryBitmapMBS.CreateWithPicture.
  • Reduced dependencies of AVFoundation plugin.
  • Updated DynaPDF library to version
  • Added more NSButtonMBS and NSButtonCellMBS properties.
  • Deprecated ATS classes. Please move to CoreText.
  • Deprecated CURLMBS class. Please move to CURLSMBS.
  • Added CGContextMBS.SetFont.
  • Added functions to NetworkInterfaceMBS for interface index (needed for Bonjour).
  • Added more checks and exceptions for LCMS2BitmapMBS picture constructor.
Download: Or ask us to be added to our shared Dropbox folder.

xDev Magazine's Memorial Day One-Day Sale

xDev Magazine is having a special one-day sale. On May 26 only, everything on the xDev Store is 20% off with coupon code MEMORIALDAY!

To get the discount, just use the coupon code MEMORIALDAY when placing your order on our store. It's good on any orders of at least $25 (including subscription renewals). But please hurry -- this special offer is only good for the one day!

Main Store:
Renewals Page:

Xojo/FileMaker Meetings in Vienna, Austria

The voting is done and we have final results:

Wednesday, 11th June, Xojo Developer Meeting
Thursday, 12th June, FileMaker Developer Meeting

Please save the date and we'll look for a room.
If you are interested in joining, please email me, so we know how many seats we need.
Meeting will be probably in a beer garden or restaurant somewhere near Vienna.

MBS Xojo / Real Studio Plugins, version 14.2pr7

New in this prerelease of the 14.2 plugins:
  • Fixed DynaPDFMBS.GetInBBox function.
  • Fixed problem with DynaPDFParseInterfaceMBS class.
  • Fixed an issue with Picture.SobelMBS function.
  • Added CoreText clases.
  • Added CGFontMBS class.
  • Added ChromiumBrowserMBS and ChromiumFrameMBS classes.
  • Added more AUPlayerMBS properties and methods.
Download: Or ask us to be added to our shared Dropbox folder.

Job Offer

I just got notice that one of our clients here in Germany, Mr. Daniel Fritzsche, is looking for a xojo developer.

you can find details on their website:

Webkit on Windows

On Windows you can use WebKit for the htmlviewer. And with next plugin prerelease, we'll add new functions for using Chromium there.
Some functions like getting source code, text or image from browser.

Going to Vienna in Austria

In June, I travel to vienna and I think this is great opportunity to have some parties.
So I plan to organize a FileMaker and a Xojo developer meeting.
I started two surveys to find the best days in the week:

Xojo Developer Meeting   FileMaker Developer Meeting

If you like, please vote for a day if you like to come.

MBS Xojo / Real Studio Plugins, version 14.2pr6

New in this prerelease of the 14.2 plugins:
  • Updated DynaPDF library to version
  • Fixed a couple of text encoding issues with DynaPDF.
  • Fixed an issue with AVAssetWriterInput.appendSampleBuffer causing in exception.
  • Added CalCalendarStoreMBS.calendarWithTitle.
  • Added gesture events to MapKitViewControlMBS.
  • For strings with no encoding the plugin will now mark them as ASCII string if the content allows it.
Download: Or ask us to be added to our shared Dropbox folder.

Xojo Meeting in Wiesbaden tomorrow

We plan a local Xojo meeting in Wiesbaden:

14th May 2014, from 19 to 22 o'clock
4D Consulting, Scharnhorststrasse 36, 65195 Wiesbaden.

Topics are current Xojo version and last Xojo conference.
We'd be happy to meet you there if you have time to join us.

Thanks everyone for the great meeting!

MBS Xojo / Real Studio Plugins, version 14.2pr5

New in this prerelease of the 14.2 plugins:
  • Added functions to WinNotificationMBS to listen for any windows message.
  • Updated DynaPDF library to version
  • Fixed more than 50 classes to have same data size on all platforms.
  • Added AUPlayerMBS class for playing sound on Mac with pitch, rate, pan, equalizer and other features.
  • Added NSMenu commands to show a popup menu.
  • Updated Nikon plugin for newer SDKs.
  • Fixed a problem with TWAIN plugin crashing on HP scanner (especially with a Deskjet 2540 where it now works).
  • Added TesseractMBS.RecognizeMT method for background OCR.
  • Fixed OverlayMBS issue on Cocoa where we got much to much mouse enter/exit events.
  • Added stack trace capture functions to SignalHandlerMBS class.
  • Improved AuthorizationMBS class.
  • Added more commands for ServiceManagementMBS module.
  • Improved MKOverlayViewMBS.Constructor so it works better.
  • Fixed a bug in MKPolylineViewMBS class.
  • Added DaylightName and StandardName properties to TimeZoneMBS class.
  • Fixed crash with passing empty string to CountOccurancesMBS function.
  • Added Picture.ChangeCustomMBS for three components.
  • Added back the help menu entry for the IDE.
  • Enabled PictureReaderMBS class for console.
Download: Or ask us to be added to our shared Dropbox folder.

Xojo Meetings in San Antonio and Austin

Due to the FileMaker Developer Conference, I will visit San Antonio end of July.
As there are a lot of Xojo users out there in the area, I'd like to offer to meet for dinner in a restaurant.
In order to define which days are best for the meetings, I have setup doodle surveys:

San Antonio and Austin

If you like to join us, please vote for a date. And if I may not know you before, maybe you also email me, so I have your contact details.

Dash/Zeal help browsers

We have for some time now support for the Dash application as a help browser.

And there is also available for Windows and Linux here: Zeal

So here you can click to launch Dash or Zeal and install our plugin help:
MBS Xojo Plugin and MBS FileMaker Plugin

xDev Magazine Issue 12.3

The May/June 2014 (12.3) issue of xDev Magazine is now available. Here's aquick preview of what's inside:

* Updating Xojo * by Marc Zeedar
If you missed what happend at the Xojo Developers' Conference (XDC) in Las Vegas in March, here's a quick recap of the major news.

* Pretty Print Dialog * by Sam Rowlands
Mac OS includes some nifty tools that allow you to make a much more elaborate print dialog box. Sam shares the code for how to make that happen.

* XDC 2014 * by Marc Zeedar
This is a comprehensive report of XDC in Las Vegas in March -- if you didn't get to go, read this epic report to find out what it was like. Marc shares his experiences, as well as key tips from the sessions he attended, along with plenty of photos.

* App Sandbox Guide * by Sam Rowlands
Apple has instituted security "sandboxing" rules for apps on the Mac App Store, which means your Xojo apps are restricted in what they can do. If you're new to sandboxing, here's a guide to get you out of the sand trap.

Plus columns on class interfaces, threads, RegEx groups, Xojo developer profiles, database design, and much more!
The biggest plugin in space...


Jul 2024
Jun 2024
May 2024
Apr 2024
Mar 2024
Feb 2024
Jan 2024
Dec 2023
Nov 2023
Oct 2023
Sep 2023
Aug 2023
Jul 2023
Jun 2023
May 2023
Apr 2023
Mar 2023
Feb 2023
Jan 2023
Dec 2022
Nov 2022
Oct 2022
Sep 2022
Aug 2022
Jul 2022
Jun 2022
May 2022
Apr 2022
Mar 2022
Feb 2022
Jan 2022
Dec 2021
Nov 2021
Oct 2021
Sep 2021
Aug 2021
Jul 2021
Jun 2021
May 2021
Apr 2021
Mar 2021
Feb 2021
Jan 2021
Dec 2020
Nov 2020
Oct 2020
Sep 2020
Aug 2020
Jul 2020
Jun 2020
May 2020
Apr 2020
Mar 2020
Feb 2020
Jan 2020
Dec 2019
Nov 2019
Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008