digitalmars.D.dwt - windows user help needed
- Frank Benoit (10/10) Jul 21 2008 I made a simple checker tool to compare the struct sizes between C and
- torhu (10/24) Jul 21 2008 I've attached what I've done so far, if anyone wants to continue working...
- Frank Benoit (4/16) Jul 22 2008 I just used grep to get the list together, so VA_LIST might make no sens...
- Frank Benoit (2/31) Jul 25 2008 i installed the VS Express and got the stuff compiled.
I made a simple checker tool to compare the struct sizes between C and D. I used this long time ago for the linux dwt port. for windows, i lack the visual studio to translate the C version. Source: http://www.dsource.org/projects/dwt-samples/browser/devhelpers/structswin/structs.c If someone could add the missing header includes, compile it, run it and post the result here, this would be very helpful. I hope to spot remaining struct size problems in the D windows bindings by comparing the output of the C and D version of this program. Frank
Jul 21 2008
Frank Benoit wrote:I made a simple checker tool to compare the struct sizes between C and D. I used this long time ago for the linux dwt port. for windows, i lack the visual studio to translate the C version. Source: http://www.dsource.org/projects/dwt-samples/browser/devhelpers/structswin/structs.c If someone could add the missing header includes, compile it, run it and post the result here, this would be very helpful. I hope to spot remaining struct size problems in the D windows bindings by comparing the output of the C and D version of this program. FrankI've attached what I've done so far, if anyone wants to continue working on it. Otherwise I'll try to finish it another day. There are about 50 missing defines. VA_LIST doesn't seem to exist, I've replaced it with va_list. There are some other symbols that I can't find either, neither on msdn.com nor, in the headers that come with the platform SDK for February 2003, nor with msvc 6, nor with msvc 9 express. No idea where Tango got them from. I'm sorry I forgot to write down which ones they were..
Jul 21 2008
torhu schrieb:I've attached what I've done so far, if anyone wants to continue working on it. Otherwise I'll try to finish it another day. There are about 50 missing defines. VA_LIST doesn't seem to exist, I've replaced it with va_list. There are some other symbols that I can't find either, neither on msdn.com nor, in the headers that come with the platform SDK for February 2003, nor with msvc 6, nor with msvc 9 express. No idea where Tango got them from. I'm sorry I forgot to write down which ones they were..I just used grep to get the list together, so VA_LIST might make no sense. Thanks for your work so far. I hope it will be continued :)
Jul 22 2008
torhu schrieb:Frank Benoit wrote:i installed the VS Express and got the stuff compiled.I made a simple checker tool to compare the struct sizes between C and D. I used this long time ago for the linux dwt port. for windows, i lack the visual studio to translate the C version. Source: http://www.dsource.org/projects/dwt-samples/browser/devhelpers/ tructswin/structs.c If someone could add the missing header includes, compile it, run it and post the result here, this would be very helpful. I hope to spot remaining struct size problems in the D windows bindings by comparing the output of the C and D version of this program. FrankI've attached what I've done so far, if anyone wants to continue working on it. Otherwise I'll try to finish it another day. There are about 50 missing defines. VA_LIST doesn't seem to exist, I've replaced it with va_list. There are some other symbols that I can't find either, neither on msdn.com nor, in the headers that come with the platform SDK for February 2003, nor with msvc 6, nor with msvc 9 express. No idea where Tango got them from. I'm sorry I forgot to write down which ones they were..
Jul 25 2008