Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread 32-bit External Modules/Text Generators with a 64-bit Server
Wed, Apr 2 2014 6:53 PMPermanent Link

Norman Clark

Clark-Tech Inc.

ElevateDB Client/Server Version 2.16B2

I've used the existing templates to build a Word Generator that supports numbers, letters and a few common symbols used in my application.  The module compiles cleanly and I have the dll located on the server in the path ...  'D:\Clients\TMS2013\ExtObjects\CTIExtWordGen.dll'

Since I am using Delphi XE, I can only generate 32-bit modules.

As the Server is running on Windows 2012R2 with 16GB,  I am using the 64-bit server to take advantage of the servers' ample memory space.

When I attempt to add my Word Generator using the SQL statement in the ElevateDB Manager:
CREATE MODULE "CTIExtWordGen"
PATH 'D:\Clients\TMS2013\ExtObjects\CTIExtWordGen.dll'
DESCRIPTION 'Text Filter includes letters, numbers and some common symbols'

I am receiving the ElevateDB Error #202 .... is not a valid ElevateDB module.

Is there a restriction on using 32-bit modules with a 64-bit server?  Any other ideas that I should be looking at?
Wed, Apr 2 2014 7:04 PMPermanent Link

Raul

Team Elevate Team Elevate

On 4/2/2014 6:53 PM, Norman Clark wrote:
> ElevateDB Client/Server Version 2.16B2
> Since I am using Delphi XE, I can only generate 32-bit modules.
>
> As the Server is running on Windows 2012R2 with 16GB,  I am using the 64-bit server to take advantage of the servers' ample memory space.
> Is there a restriction on using 32-bit modules with a 64-bit server?  Any other ideas that I should be looking at?
>
AFAIK this is a Windows limitation - 64bit app cannot load a 32bit DLL.

Your options are to compile a 64bit DLL (meaning you need to find Delphi
XE2 or newer) or run a 32bit EDB server.

Raul
Wed, Apr 2 2014 7:14 PMPermanent Link

Norman Clark

Clark-Tech Inc.

Raul wrote:

On 4/2/2014 6:53 PM, Norman Clark wrote:
> ElevateDB Client/Server Version 2.16B2
> Since I am using Delphi XE, I can only generate 32-bit modules.
>
> As the Server is running on Windows 2012R2 with 16GB,  I am using the 64-bit server to take advantage of the servers' ample memory space.
> Is there a restriction on using 32-bit modules with a 64-bit server?  Any other ideas that I should be looking at?
>
AFAIK this is a Windows limitation - 64bit app cannot load a 32bit DLL.

Your options are to compile a 64bit DLL (meaning you need to find Delphi
XE2 or newer) or run a 32bit EDB server.

Raul
-------------------------------------
Raul - yes it appears that you are right.  
        http://blogs.msdn.com/b/oldnewthing/archive/2008/10/20/9006720.aspx

Since this might be an issue for others in this forum, is there any mechanism for us "prior-to-XE2-users" to post our modules and have some generous soul compile them to 64-bit modules rather than upgrading our IDE to a 64-bit versions?
Wed, Apr 2 2014 9:46 PMPermanent Link

Raul

Team Elevate Team Elevate

On 4/2/2014 7:14 PM, Norman Clark wrote:
> Since this might be an issue for others in this forum, is there any mechanism for us "prior-to-XE2-users" to post our modules and have some generous soul compile them to 64-bit modules rather than upgrading our IDE to a 64-bit versions?
>

Norman,

For a one-off i can compile it for you - you can email the project or
link to the email that should show in the "from header" (after removing
the after @ section).

Raul
Image