Avatar of hidrau
hidrau
Flag for Brazil asked on

Where Can I find the newest version from hunspell dll?

Hello guys,

All that I have from this site is the project to be compiled, but I don't know how to do this and all that I need is the newest dll.

http://hunspell.sourceforge.net/

Maybe here there are some information that can help you

http://delphihaven.wordpress.com/2010/02/06/compiling-a-hunspell-dll-step-by-step/

for me it is advanced all the information

I need your help to get this

thanks
Alexandre
C++Delphi

Avatar of undefined
Last Comment
hidrau

8/22/2022 - Mon
tampnic

I just built this in about two minutes.

I downloaded the source and extracted the tarball it into d:\hunspell (use 7_zip if you don't have it ... http://www.7-zip.org/download.html). Opened the D:\hunspell\hunspell-1.3.2\src\win_api\hunspell.sln file by double-clicking it in windows explorer.

Visual Studio 2010 starts up and asks me to convert the solution file to new format so I say yes to that. I make sure I have selected "release" in the combo box in the standard menubar at the top then right click on ibhunspell project in the Solution Explorer view and choose properties. The properties dialog appears and I alter the "Configuration Type" from "static library (.lib)"to "dynamic library (.dll)" and click OK. Then right click on the libhunspell project in the Solution explorer and choose build. Voila !!! In the D:\hunspell\hunspell-1.3.2\src\win_api\Release directory is the built dll.

Cheers,
    Chris
ASKER CERTIFIED SOLUTION
tampnic

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
aikimark

@Alexandre

What development tool(s) are you using?  This question is in both C++ and Delphi zones.
tampnic

The source code for the DLL is from an open source project and is C++.

I assume Alexandre wants to call the DLL from Delphi if he has put the question in that zone - it is the responsibility of the writers of the source code to make sure all the functions are exported in the proper calling conventions to do that. Alexandre wanted the DLL's compiled which I showed him how to do and also gave him links to a compiled binary, the link library and the exports file. Is there anything to add?

Cheers,
   Chris
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
aikimark

@tampnic

Given that explanation, I'm still a bit confused about your prior comment using Visual Studio.  How does that play into a Delphi solution?
tampnic

@Aimark

The source code is not written in Delphi, its written in C++.

Once the source code has been compiled into a binary format as a shared library (".DLL" in Windows) it can be used by any compiler which supports dynamic linking (e.g. Delphi, VB, C#, FORTRAN, C++, C etc etc etc).

Because the method of dynamic linking is platform-specific the standard for a particular language would not specify how to implement dynamic linking, but most commercial compilers support it in their language implementations.

Cheers,
   Chris
hidrau

ASKER
Thanks vey much for your help
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.