Embarcadero XE7 64bits

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
valvarez
Posts: 4
Joined: Mon Feb 16, 2015 10:03 am

Embarcadero XE7 64bits

Post by valvarez » Mon Feb 16, 2015 10:10 am

We have an application that uses your Space Navigator device. The application and your library (version 1.22) were compiled in Borland C++ using Embarcadero 2010.
Now we're porting the application to Embarcadero XE7 and we found that if we compile in 32bits mode there's no problem, but in 64 bits (clang compiler) the values returned by SiGetEvent() aren't in the correct order.
Do you know what can be the problem?
We are using 3DxWare v.10.2.2 64 bits for windows 7 & 8, and also version 6.16.1

jwick
Moderator
Moderator
Posts: 2802
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Embarcadero XE7 64bits

Post by jwick » Wed Feb 25, 2015 4:11 am

How did you build the lib? Did you have an old version which included the src code?

The SDK is at version 3 now. As I recall I had to do changes around version 2 to get it to properly marshal data for 64-bit.

The newest SDK does not come with source.
You might try linking with the new libs.

valvarez
Posts: 4
Joined: Mon Feb 16, 2015 10:03 am

Re: Embarcadero XE7 64bits

Post by valvarez » Mon Mar 02, 2015 11:50 am

Hello.

We downloaded 3DxWare SDK but libraries are in COFF format, and Embarcadero 32 bits uses OMF format and 64 bits libraries are in ELF format.

We tried to convert the coff libraries to omf and elf formats, but it was impossible. However, Embarcadero has a tool to import dll to lib. With this tool we can make a 64 bits elf import library (we can´t do an omf library for 32 bits version), and this library it's ok.

Can you send us a 3.x version of the 32 bits OMF library? Or send us the code so we can compile the library in 32 and 64 bits?

Regards

ngomes
Moderator
Moderator
Posts: 2412
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Embarcadero XE7 64bits

Post by ngomes » Mon Mar 02, 2015 11:59 am

Hi valvarez,
Can you send us a 3.x version of the 32 bits OMF library? Or send us the code so we can compile the library in 32 and 64 bits?
Do you have an issue only with the 32-bit library?

valvarez
Posts: 4
Joined: Mon Feb 16, 2015 10:03 am

Re: Embarcadero XE7 64bits

Post by valvarez » Wed Mar 11, 2015 10:42 am

Now we have:
- 32 bits v2 compiled library.
- 64 bits v3 library using embarcadero MKEXP.EXE

We want 32 bits library of v3 dll, but embarcadero implib.exe can't make a library with your dll.

Thanks.

ngomes
Moderator
Moderator
Posts: 2412
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Embarcadero XE7 64bits

Post by ngomes » Wed Mar 11, 2015 12:32 pm

Hi valvarez,

I think the only approach that you can take to ensure a reasonable level of stability is to create your own native libraries linked to the 3DxWare 10 libs. You can then use your own libraries to load in your application. In other words, you should create wrapper libs (using Visual Studio or another compatible dev tool) that will allow you to load the code in your application.

Post Reply