digitalmars.D.learn - How to use external C Lib?
- Gregor Kopp (6/6) Aug 10 2007 http://disphelper.sourceforge.net/
http://disphelper.sourceforge.net/ I would like to use the Library above in some D programs. What I know: It's written in C, I've read that this should be relatively easy to port to D... or not? For a absolute beginner like me, what steps could I take to port this to D? Are there already programs helping with this?
Aug 10 2007
Reply to Gregor,http://disphelper.sourceforge.net/ I would like to use the Library above in some D programs. What I know: It's written in C, I've read that this should be relatively easy to port to D... or not? For a absolute beginner like me, what steps could I take to port this to D? Are there already programs helping with this?htod and bcd.grn are suposed to help http://www.dsource.org/projects/bcd http://www.digitalmars.com/d/htod.html
Aug 10 2007
Gregor Kopp wrote:http://disphelper.sourceforge.net/ I would like to use the Library above in some D programs. What I know: It's written in C, I've read that this should be relatively easy to port to D... or not? For a absolute beginner like me, what steps could I take to port this to D? Are there already programs helping with this?Yes, you can use bcd: http://www.dsource.org/projects/bcd This is a great tool. I even created bindings for openssl with it. Best regards, Daniel
Aug 10 2007