Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
COMAL - COM Access Library attached
#1
Hi There,

Just to inform you that I have posted/attached my COMAL freebasic demo code with source here, in the Miscellaneous section:

http://fbtk.qbtk.com/phpBB2/index.php

Regards

John
Reply
#2
Direct download link: http://fbtk.qbtk.com/phpBB2/download.php?id=75

Just for the lazy ones Tongue
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#3
Cool, btw, seems like LCC added the full path to the DLL's name, so Windows won't find the dll's needed, even if they are at the same path as the demos, i had to create a .def, strip the path from it and recreate the import libs and recompile the examples -- i tested the Excel one, as i don't have anything else installed, it worked fine, btw ;).

I was going to include the disphelp's headers to the next release, lets see how the headers get translated by the SWIG wrapper i'm coding (i won't do the translation by hand :P).
Reply
#4
Hi v3cz0r

Excuse the delay in responding.

How did you make the .def file for comal? as I have tried the various pexports/dlltool methods as shown in this forum without success. Could you post a batch file and/or full instructions as to what you did to acheive success.

Regards

John
Reply
#5
Hi, it's not too simple, i wonder if LCC has no option to not include the full path when creating the DLL's, that would be easier to do, anyways.

For each DLL, you have to:

- create a def file with the exports, i used pexports (http://www.emmestech.com/software/cygwin...ports.html) for that: pexports -o somedll.dll >somedll.def

- edit the .def removing the path from the 1st line LIBRARY

- create the import library using dlltool (at freebasic/bin/win32): dlltool -d somedll.def -D somedll.dll -l libsomedll.dll.a
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)