Jeff Pohlmeyer gave me a short program demonstrating the use of the readline 
and history libraries, the program begins:

 program histdemo;
{$LINKLIB ncurses}
{$LINKLIB readline}
{$LINKLIB history}
{$LINKLIB c}
It works great on Linux but I haven't been able to figure out how to get it to 
work under Cygwin.  I have the libraries in c:\cygwin\lib (e.g., 
libncurses.dll.a) and I have found different forms that allow the program to 
link (e.g., "{$LINKLIB ncurses.dll.a}" or "{$LINKLIB libncurses.dll.a}") but 
when I run the program I get a Windows dialog titled "Unable To Locate 
Component" and displaying "This application has failed to start because 
readline.dll was not found..."

I know very little about Windows programming or linking external libraries... 
any thoughts would be appreciated!

-Alan


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to