Using 64bit ruby with 32bit ODBC driver - ruby-on-rails

I am planning to develop a rails application which has to connect to an database system for importing data. The ODBC driver which is provided is only 32bit.
Is it possible to use a 32bit ODBC driver within a 64bit environment or has the complete setup (os,ruby) to be 32 bit?
Thanks.

IMHO this is impossible. If the driver is 32bit, the process communicating with the driver has to be 32bit too and the same for 64bit.
Sure there is no 64bit driver available?

Related

EXE and DLL files compiled with Delphi 10.2 (64 bit) work fine on certain machines and cannot be run on some other machines

This problem occurs on some virtual machines under Windows Server 2012 or 2016. I can only run the 32-bit version although it is 64-bit OS.
My DLL supposed to run on ISAPI-DLL mode (therefore called by IIS) also fails (Error 500).
I suspected msolebdsql.dll (SQL Server ODBC driver) to be only 32-bit compatible on these machines, but it seems unlikely.
I've been spending hours on looking for another feature that could be refused by Windows (invalid Windows API call ? There are very few, and it's very common ones). I failed.
Can someone help ?

Accessing Database from FireMonkey app on MAC

According to Embarcadero's docwiki, it is possible to setup unixODBC on a MAC and compile an app that connects to a database and run it on a MAC. The instruction shows how to compile the unixODBC but does not show how to create the required database drivers, which means no database connection can be setup. Has anyone been able to successfully do this?
FYI, I am trying to connect to a Sybase ASE database. I can create the 64 bit version of unixODBC and drivers using the instruction found here and use isql to run some queries against the database, but that is useless because applications created with RAD Studio are 32 bit (for MAC). and 32 bit apps cannot use 64 bit unixODBC.
Thank you
Sam

RabbitMQ and Erlang on 64-bit

I downloaded RabbitMQ 3.6.6 server exe installation file for Windows. There appears to be only one file which does not tell me if it is 32-bit version or 64-bit version. I want to run RabbitMQ on 64-bit. What kind of Erlang do I need for RabbitMQ, the 64-bit or 32-bit??
Also, if I wanted to run RabbitMQ on 64-bit Linux, what kind of Erlang do I need, the 32-bit or 64-bit? Is RabbitMQ specific to 32-bit and 64-bit ??
Many thanks!
As stated here RabbitMQ is platform independent bytecode.
For Windows (as I use Windows 10 x64 for RabbitMQ and Erlang), both 32 and 64 bit version of Erlang/OTP will work (as long as RabbitMQ can locate the Erlang folder installation).

Installing windows 7 and MS visual studio 2010 on a virtual machine to work with openCV (especially SVM and SDM)

I have MS Visual Studio 2012 installed on my laptop. But now I need MS Visual Studio 2010 . Because of this, I am thinking of downloading VMWare workstaion to create a Virtual Machine.
And, then I will be installing Windows 7 and then MS Visual Studio 2010 on it.
I wonder whether this is going to create a performance problem. The reason is that I will be using MS visual studio 2010 (in virtual machine) with openCV. There I need to use SVM (for training and predicting data- I've heard that this takes a LOT of time and memory. I'll be using like 300 colour images for this ). Will I be able to do all this on Virtual Machine ?
How much of memory do I need to allocate when creating the virtual machine ?
Actually, I had windows 8 (64-bit ) on my laptop when I first bought it. Since there was no 64-bit version after 2008 when it comes to MS Visual Studio ( I wanted at least 2012), I had to remove windows 8 (64-bit) from my laptop and then install windows 7 (32-bit). At the same time, I wanted to get rid of windows 8. Actually, this was not recommended by the manufacturer. But I had no other option. Now my laptop uses only 2.4 GB out of 4.0 GB memory. This happened due to that installation.
so, my question is : Since I have only 2.4 GB memory, will installing windows 7 on a virtual machine and then installing MS Visual Studio 2010 on top of it create an issue ?
If it's fine, How much of memory should I allocate when creating the virtual machine ?
I highly recommend that you do not do this... that saying if you have absolutely no choice, technically it should work.
To run MS Visual Studio 2010 through the VM you'll need to allocate 1GB of RAM just for MS VS and another 512MB for the virtual machine.
Whenever you are not using the VM make sure you shut it down so it doesn't chew up that memory, because while it's running your host machine will have about 1.1GB left for itself.
Hope that helped.

32 bit windows service on 64 bit machine

I am having problem in running windows service of 32 bit on 64 bit windows server, query that i have is as following
1) will there be any problem if a windows service( using all 32 bit DLL's) is running on a 64 bit widows server??
2) If yes then how can we make a windows service of 32 bit run on windows server 2003 R2.
every time i try to run the service event log shows me error that attempt a load a program that is with incorrect format.( Exception from HRESULT: 0x8007000B)
Can this be a problem of service having any of its dll's of 64 bit?
You can absolutely run a 32-bit service on a 64-bit Windows OS.
can this be a problem of service having any of its dll's of 64 bit?
If the service cannot find a 32-bit version of DLLs that it references, it would fail to load. If the service is written with managed code, use the Fusion Log Viewer (Fuslogvw) to see if there are any binding failures.

Resources