Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome
Guest
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
iPhreeqc.dll and ClickOnce
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: iPhreeqc.dll and ClickOnce (Read 7701 times)
Jicé
Guest
iPhreeqc.dll and ClickOnce
«
on:
19/10/15 08:41 »
Hi,
I'm trying to include iPhreeqc.dll into a Microsoft ClickOnce application.
Unfortunatelly I'm facing an issue, as my application target platform is set to "AnyCPU", whereas iPhreeqc.dll target platform appears to be "x86".
I saw in Phreeqc homepage a link for downloading iPhreeqc 3.3.2 for anyCPU (ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/iphreeqc-3.3.2-10335.zip), but all I got is a C project without any any available dll.
Is there a way to get an iPhreeqc.dll "x64" or, even better for "AnyCPU"?
Thanks in advance,
Logged
dlparkhurst
Global Moderator
Posts: 4213
Re: iPhreeqc.dll and ClickOnce
«
Reply #1 on:
19/10/15 22:54 »
If you have CMake and Visual Studio, you can compile the "any" version to make a 32- or 64-bit DLL. CMake is free and can be downloaded and installed. The README file in the "any" distribution gives directions for compiling libraries. On the first CMake screen, you can choose to generate a solution for your version of Visual Studio and either 32 or 64 bit, for example "Visual Studio 14 2015 Win64".
Within the main CMake screen, you will want to use the BUILD_SHARED_LIBS option in CMake, and the IPHREEQC_STATIC_RUNTIME option. (BUILD_CLR_LIBS is needed for charts, but you might need some other libraries).
Logged
Jicé
Guest
Re: iPhreeqc.dll and ClickOnce
«
Reply #2 on:
21/10/15 13:42 »
Thanks for the tips!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
iPhreeqc.dll and ClickOnce