On Feb 13, 2014, at 5:39 AM, Agustin Garzon <
agu...@bluetonemedia.com> wrote:
> x64 is added ok, and is properly interpreted by VS, offering intelisense. It will not compile, throwing this error:
> "An attempt was made to load a program with an incorrect format"
That usually means something is 32 bit in the build chain. Please do this on the librets dlls and look for the
"machine" line if you don't have grep:
$ dumpbin /headers librets-pinvoke.dll | grep machine
8664 machine (x64)
$ dumpbin /headers librets-dotnet.dll | grep machine
8664 machine (x64)
If they're x64, then the other possibility may be credentials. I recall there being an issue about signed
vs. unsigned stuff (and that it was easier to self sign than to remove the credentials of a signed dll).
You might need to self sign things if you're running in a more secure environment.
Mind you … I'm not a Windows developer (I only have Macs and a lone FreeBSD server here), but I do
run a Windows 7 instance in a VM just to build the libRETS Windows DLLs. My testing is cursory: the
provided demo applications must work, and that's about it. So, I verify that logging in, fetching metadata
and a simple search work on Windows before I release it. That's the extent of my Windows skills at this point.
If there is a "real" Windows user that wants to help better support this, please reach out to me … I'll be
happy to use the help.
> I would like to NOT HAVE TO compile librets myself :)
> And be able to reference the x64 assemblies within newer versions of VS (2010-2012) like I do with the x86 version.
Trust me … it is a pain in the @ss. It's not just libRETS that must be built, but the supporting libraries it uses as
well: boost, curl, expat, openssl, etc.
> I'm willing to help testing different compilations on my vs2010 and vs2012 projects, to see which one works.
My Windows build VM is using the 2010 version of the SDK - I don't have the full Visual Studio and have never
used it, so I'm at a loss here.
I may explore building with the latest SDK, but if that breaks my current environment, then I'll revert to the current
snapshot and SDK to get the librets 1.6.x release out using the 2010 SDK.