on 64 bit support

The latest version of the UOAI library and all directly related information can be found in this forum.

on 64 bit support

Postby Artaxerxes on Fri Sep 25, 2009 8:36 am

Currently to get UOAI to work on 64 bit platforms you need to compile your App using UOAI explicitly as a 32 bit application. As shown in http://www.decelle.be/UOAI/forum/viewtopic.php?f=4&t=126#p1119 by mastrick, this can be done by editing your build profile (for vc# express you typically have to manually edit your project file with notepad or some other text editor to add "<PlatformTarget>x86</PlatformTarget>"... but other IDEs provide tools or menus for this). Also, if you're using UOAI from a scripted language (like vbscript) it is likely that UOAI will work out of the box on x64 platforms too.

The problem with 64 bit support is that the UO Client is 32bit, so i have to compile the injected dll as 32 bit. Since i'm currently also using this same dll directly from the COM library, the COM library has to be 32 bit too. Since this last one is used from your apps, your apps have to be 32 bit too...
The solution will be to use another method to inject the dll, which no longer requires actually loading the dll from the COM library. That way the injected dll could be 32 bit, while a 64bit compilation of UOAI would still work.
It will take some time, however, before i'll get to actually fix this. For now use mastrick's trick : http://www.decelle.be/UOAI/forum/viewtopic.php?f=4&t=126#p1119.

Greetz,
Artaxerxes


(edit: I edited the wrapper's project file to include the platformtarget configuration; still remains to be tested if this forces applications using the wrapper to be compiled as 32 bits.)
Artaxerxes
Site Admin
 
Posts: 530
Joined: Tue Nov 18, 2008 9:51 pm

Re: on 64 bit support

Postby megamandos on Wed Jan 13, 2010 12:57 am

You need to do the steps above if you get the following error:

An error occurred creating the form. See Exception.InnerException for details. The error is: Retrieving the COM class factory for component with CLSID {C27D1F35-5001-4B97-A467-1868A5BE19A9} failed due to the following error: 80040154.
"Those who sacrifice liberty for security, deserve neither." Benjamin Franklin
User avatar
megamandos
Guru
 
Posts: 312
Joined: Thu Jan 29, 2009 5:01 am


Return to UOAI Developers Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron