1. RE: dll headache
- Posted by Bernie Ryan <xotron at localnet.com> Jan 07, 2002
- 390 views
void wrote: > I'm trying to create a dll to access C functions in an external program. > > The C program comes with an API, and includes source code, header files, > > lib file, makefile (from with I created obj files). > I'm a beginner so I've read many messages in this forum about dll's and > tried things like bcc32 -tWD ... and tried swig-eu, but I failed to > build a working dll (no Export functions show up with quick view). > The Euphoria part on how to read from a dll is clear, but building a dll > > from C source gives me headaches, I have tried things with Borland C++ > 5.02 and Visual C++ 6.00, I also have Watcom. > > My questions for now are: > What files are needed for a dll: *.c, *.h, *.obj *.lib ? > Then how do build the dll from these files? > Do I need to add C source code? > > > (I'm trying to access the C functions of the Wordnet API > http://www.cogsci.princeton.edu/~wn (open source)) If you go here and download the file mydll.zip: http://www.sourcecode.nu/zone15/cat161/ or the file CDLL.ZIP: ( This is a long url be sure to use it all because euform wraps it ) http://www.sourcecode.nu/search/advsearch.asp?ZoneID=-1&caller_page=&page=3&SearchMode=1&SearchTxt1=dll You will find the files you need to build a DLL in "C". MYDLL.ZIP shows the minimum needed to build a DLL. CDLL.ZIP shows how to build a DLL and has a test program showing how to call it. Also if you do a search at this site on DLL you will find lots of examples of call dll from other langaguges. Bernie
2. RE: dll headache
- Posted by Brian Broker <bkb at cnw.com> Jan 07, 2002
- 378 views
If you try to ftp from a console window (or some other ftp app), you will see that they only allow 8 connections at a time. I tried a while ago and all 8 connections were filled... I didn't try the mirror. -- Brian Kat wrote: > On 7 Jan 2002, at 13:14, void wrote: > > <snip> > > > (I'm trying to access the C functions of the Wordnet API > > http://www.cogsci.princeton.edu/~wn (open source)) > > I got 1.6 when it first came out, but now i cannot reach the ftp > download url > they give. What's going on? > > Kat > >