WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: erezpaz on September 11, 2018, 01:52:00 AM

Title: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: erezpaz on September 11, 2018, 01:52:00 AM

Hi

Is this note still true for latest version? Is Winbatch latest work better as 32bit on 64bit Windows from performance and stability point of view?
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/64-bit+64-Bit~WinBatch.txt

"NOTE: The current 32 bit version of WinBatch is supported on 64-bit Windows platforms that have WOW64 installed, which is most Windows platforms. For the most part WinBatch works better as a 32-bit process on 64-bit Windows. The exceptions being 64-bit WinPE"

Thanks
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: td on September 11, 2018, 07:39:47 AM
Generally, 64-bit WinBatch runs 10 to 20 percent faster than 32-bit WinBatch. And if you have the latest version of WinBatch, it usually has access to much more system memory.  (Both of the above 64-bit advantages are contingent on what a script is actually doing and the capacities of the system running the script.)

If you look at the Article's modify date, you will note that it was written shortly after the release of the first version of 64-bit WinBatch was released more than 7 years ago.  At that time 64-bit Windows itself still had a few issues and its usage was not as widely adopted as it is now.  Another issue WinBatch user had at the time was the lack of availability and usage of  64-bit applications like Microsoft Office.  This made the use of COM Automation object like Office COM Automation objects restricted to 32-bit WinBatch.  WinBatch users were also less informed about the differences between 32-bit and 64-bit Windows than they are now. 

Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: allalevkov on September 11, 2018, 12:19:17 PM
Hi, when I tried to compile with 64 bit compiler, some extenders did not show up.  Are there multiple versions of them?  or some are automatically included in 64 bit?  Right now I need Postie extender to show in 64 bit compiler and it is not there, it is present in 32 bit one. That is the only reason I use it. 

I downloaded and reinstalled latest version of this extender, but it still not showing up.  The DLL is not in C:\Program Files\WinBatch\System, but it is in C:\Program Files (x86)\WinBatch\System.

Any suggestions?
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: td on September 11, 2018, 01:12:22 PM
The Postie extender is not ported to 64-bit and it is not likely that it will ever be.  You can use Outlook or perhaps CDO to send email messages using 64-bit WinBatch or simply run a 32-bit script that uses the extender by starting 32-bit WinBatch from your script running as 64-bit.
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: allalevkov on September 11, 2018, 01:58:23 PM
I used Outlook on XP, then it become unavailable, so I switched to Postie.  Is it available now?  How do I use it and what is CDO?  Sorry if I'm a bit behind the times :)
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: td on September 12, 2018, 07:00:18 AM
The "Outlook.Application" COM Automation object is usually present on any version of Windows with almost any version of Microsoft Office installed. 

You can find examples of using either Outlook or CDO COM Automation objects in the Tech Database.
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: td on September 13, 2018, 10:22:08 AM
Should have also mentioned that to use Office COM Automation objects in a 64-bit script you need at least some parts of 64-bit Office installed on the system.   
Title: Re: WinBatch works better as a 32-bit process on 64-bit Windows
Post by: allalevkov on September 13, 2018, 02:02:54 PM
Thank you!  Will do.  We have switched to Office 365 just recently and I was told that 64 bit is not really good, so they mostly installing 32bit, but my servers are 64 bit, so I will play with it.   Thanks again.
Alla