Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 21, 2008 windows user help needed | ||||
---|---|---|---|---|
| ||||
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 |
July 21, 2008 Re: windows user help needed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit Attachments: | 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.
>
> Frank
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..
|
July 22, 2008 Re: windows user help needed | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | 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 :)
|
July 25, 2008 Re: windows user help needed | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | torhu schrieb:
> 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.
>>
>> Frank
>
> 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 installed the VS Express and got the stuff compiled.
|
Copyright © 1999-2021 by the D Language Foundation