English 中文(简体)
有可能强行实施。 NET dll在32个轨道过程中运行,像64个轨道过程?
原标题:Is it possible to force a .NET dll running in a 32 bit process to act like a 64 bit process?

我几乎确信,这是可能的,但值得问一问。

We have a .NET DLL that is being called from our VB6 application. The VB6 app runs in a 32 bit process so the DLL runs in the same process (it s compiled as any cpu) Therefore when I do my ODBC Database access in the DLL is will only use a 32 bit driver, as this is what it thinks it needs (for the record the DB is Pervasive PSQL)

当申请使用64台轨道机(只安装了64台远洋班轮驱动器)时,我会遇到问题,因为它找不到合适的驾驶员使用。

因此,有办法强行实施。 NET DL在64个轨道操作过程中运行(由于不允许为COM Interop登记而做为x64的t工作)

此时此刻,这必然是一个问题,因为我可以安装32台轨道驱动器,但在未来某个时候,我可以想象,可能无法提供32台轨道驱动器,因此,我会站起 prove。

最佳回答

任何32个轨道处理过程都不可能像64个轨道一样。 我认为实现这一目标的最佳方式是利用2个进程。

  1. The VB6 application which is running in 32 bit mode and loading your DLL
  2. A 64 bit process which actually accesses the driver.

利用以下几种不同选择进行32至64个轨道过程的交流: 我们在此想到的是世界妇联。

问题回答

暂无回答




相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签