WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: chrislegarth on September 14, 2018, 10:40:41 AM

Title: 64-bit ODBC Extender
Post by: chrislegarth on September 14, 2018, 10:40:41 AM
I'm running 2018b and have v44018 of the ODBC extender installed but cannot select the 64-bit version when I go to compile a script.  See the attached screenshot.
Am I missing something or doing something wrong?

Thanks!

Title: Re: 64-bit ODBC Extender
Post by: td on September 14, 2018, 11:05:13 AM
Go to your WinBatch installation directory and find the file Wwodb.ext and open it with Notepad.  Use Notepad to change the two occurrences of the number "44" to "64".  Then select the "Save as" menu option (not "Save") and save the file as "Wwodb64.ext".   Make sure you Save as because you don't want to lose the "Wwodb.ext" file.

Or you can wait until we update the extender in the download area.
Title: Re: 64-bit ODBC Extender
Post by: chrislegarth on September 14, 2018, 11:15:40 AM
I can wait until it is updated.  WinBatch Studio also throws error 1394 when I try to AddExtender("wwodb64i.dll").

Thanks in advance.
Title: Re: 64-bit ODBC Extender
Post by: td on September 14, 2018, 11:32:54 AM
You have to select the 64-bit debugging or use the 64-bit run command.  The WBS default is to use the 32-bit debugger and 32-bit run command.  A 64-bit DLL cannot be loaded into a 32-bit process and vice-versa.

The download area has been updated.
Title: Re: 64-bit ODBC Extender
Post by: chrislegarth on September 14, 2018, 12:00:36 PM
Thanks for the info about 64-bit debugging with WinBatch Studio.  This is my first time going to recompile an old script for 64-bit.
The new extender download works perfectly.

Thanks for such excellent support as usual!