Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Registering an external module.
Fri, Jul 18 2014 9:07 AMPermanent Link

Abdulaziz Al-Jasser

Hi,

I am trying to register an external module but always get this error:

The module C:\Sawami Projects\EDBConfig\SawamiModule.dll is not a valid ElevateDB module)


What could be the problem?
Regards,
Abdulaziz Jasser
Fri, Jul 18 2014 10:35 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Abdulaziz


I think the error message is pretty explicit as to what the problem is, what it doesn't do is say why. I can't either but here are a few questions:

1. did you write the module
2. if yes did you use the ElevateDB templates. If you didn't use the ElevateDB templates that pretty much explains it since it needs specific interface information
3. if you didn't write it who did and did they conform to the ElevateDB specification?
4. how are you trying to register it?

To say anything else we'd need to see the source for the module.


Roy Lambert
Fri, Jul 18 2014 3:33 PMPermanent Link

Abdulaziz Al-Jasser

Thanks Roy.

<<1. did you write the module>>
YES

<<2. if yes did you use the ElevateDB templates. If you didn't use the ElevateDB templates that pretty much explains it since it needs specific interface information.>>

Yes I use ElevateDB templates.


<<3. if you didn't write it who did and did they conform to the ElevateDB specification?>>
No.  I wrote it mysef based on ElevateDB templates.


4. how are you trying to register it?

CREATE MODULE "SawamiModule" PATH 'C:\XXXXX\SawamiModule.DLL'


In fact it was working before formatting my PC!?
Regards,
Abdulaziz Jasser
Fri, Jul 18 2014 4:26 PMPermanent Link

Raul

Team Elevate Team Elevate

Abdulaziz Jasser wrote:
<<
In fact it was working before formatting my PC!?
>>

What version of EDB are you running and what version were the modules written against?

The changes in 2.15 (unified ansi/unicode) and 2.16 (module changes) would require you to update the modules before you can use them with new versions - see release notes for 2.16 for more details

Raul
Fri, Jul 18 2014 4:37 PMPermanent Link

Abdulaziz Al-Jasser

Raul wrote:

<<What version of EDB are you running and what version were the modules written against? >>

I made a jump from 2.11b3 to 2.17b1 and made all the required changes for ansi/unicode support.



<<The changes in 2.15 (unified ansi/unicode) and 2.16 (module changes) would require you to update the modules before you can use them with new versions - see release notes for 2.16 for more details >>

I will check the notes and get back to you.  Thanks.
Regards,
Abdulaziz Jasser
Sat, Jul 19 2014 6:46 AMPermanent Link

Abdulaziz Al-Jasser

Raul,

I read the notes and so I copied my code to the new template as recommended but still get the same error!!!  What's weird is I tried to register the template itself (without my code) and still get the same error!!!???
Regards,
Abdulaziz Jasser
Sat, Jul 19 2014 6:49 AMPermanent Link

Abdulaziz Al-Jasser

Just found the problem.  I think Tim need to see this.  The problem occurs only if I use ElevateDB Server 64 bit.  With 32 bit it works like a dream.

Regards,
Abdulaziz Jasser
Sat, Jul 19 2014 10:10 AMPermanent Link

Raul

Team Elevate Team Elevate

On 7/19/2014 6:49 AM, Abdulaziz Jasser wrote:
> Just found the problem.  I think Tim need to see this.  The problem occurs only if I use ElevateDB Server 64 bit.  With 32 bit it works like a dream.

Is it a 64bit DLL though ?

You cannot load a 32bit DLL into a 64bit process (this is a Windows
limitation, not EDB one).


Raul
Sat, Jul 19 2014 10:29 AMPermanent Link

Abdulaziz Al-Jasser

Raul wrote:

<<Is it a 64bit DLL though ?>>

No, it's a 32bit dll running on Windows8 64bit.


<<You cannot load a 32bit DLL into a 64bit process (this is a Windows
limitation, not EDB one).>>
I forgot this...too much workSmile
Regards,
Abdulaziz Jasser
Image