digitalmars.D - Some questions
- Ezneh (7/7) Jul 24 2010 Hi everyone, I have some questions about D and phobos library.
- Mike James (6/17) Jul 24 2010 I'm in the process of converting my Serial Comms code from D1/Tango to
- Ezneh (5/32) Jul 24 2010 It will be great and hopefull. Maybe it should become part of phobos if ...
- Ezneh (2/3) Jul 24 2010 Helpfull* sorry for double posting x)
- Nick Sabalausky (9/20) Jul 24 2010 D programs can be linked to C libraries, so you should be able to use an...
Hi everyone, I have some questions about D and phobos library. Well first of all, what about the issue when compiling a D source in a .dll ? Is it ok or there are still some problems ? Secondly, I will have to communicate with the serial port "RS232" on Windows but I don't find something allowing this in the phobos library. Maybe I didn't check enough. So is there a way to communicate trough this or should I create that library by myself ? [OT] I have bought the TDPL and i like it. Good job Andrei. [/OT] Ez.
Jul 24 2010
"Ezneh" <petitv.isat gmail.com> wrote in message news:i2f8c5$2cca$1 digitalmars.com...Hi everyone, I have some questions about D and phobos library. Well first of all, what about the issue when compiling a D source in a .dll ? Is it ok or there are still some problems ? Secondly, I will have to communicate with the serial port "RS232" on Windows but I don't find something allowing this in the phobos library. Maybe I didn't check enough. So is there a way to communicate trough this or should I create that library by myself ? [OT] I have bought the TDPL and i like it. Good job Andrei. [/OT] Ez.I'm in the process of converting my Serial Comms code from D1/Tango to D2/Phobos but I came upon a shortcoming with std.concurrency and being able to spawn a thread in a class. I can publish the code when all is well :-) -=mike=-
Jul 24 2010
Mike James Wrote:"Ezneh" <petitv.isat gmail.com> wrote in message news:i2f8c5$2cca$1 digitalmars.com...It will be great and hopefull. Maybe it should become part of phobos if it's good enough. I personally think that all things like that should be in the standard library. I'll wait for that, thanks Mike :-) Ez.Hi everyone, I have some questions about D and phobos library. Well first of all, what about the issue when compiling a D source in a .dll ? Is it ok or there are still some problems ? Secondly, I will have to communicate with the serial port "RS232" on Windows but I don't find something allowing this in the phobos library. Maybe I didn't check enough. So is there a way to communicate trough this or should I create that library by myself ? [OT] I have bought the TDPL and i like it. Good job Andrei. [/OT] Ez.I'm in the process of converting my Serial Comms code from D1/Tango to D2/Phobos but I came upon a shortcoming with std.concurrency and being able to spawn a thread in a class. I can publish the code when all is well :-) -=mike=-
Jul 24 2010
It will be great and hopefull.Helpfull* sorry for double posting x) Ez.
Jul 24 2010
"Ezneh" <petitv.isat gmail.com> wrote in message news:i2f8c5$2cca$1 digitalmars.com...Hi everyone, I have some questions about D and phobos library. Well first of all, what about the issue when compiling a D source in a .dll ? Is it ok or there are still some problems ? Secondly, I will have to communicate with the serial port "RS232" on Windows but I don't find something allowing this in the phobos library. Maybe I didn't check enough. So is there a way to communicate trough this or should I create that library by myself ? [OT] I have bought the TDPL and i like it. Good job Andrei. [/OT] Ez.D programs can be linked to C libraries, so you should be able to use any serial communication library you can use in C, you just need to convert the C header file to D declarations ( http://www.digitalmars.com/d/2.0/htomodule.html ). I've heard that Inpout32.dll can access the serial ports ( http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Window _98/2000/NT/XP.html ) .
Jul 24 2010