digitalmars.D.learn - Casting gremlins
- Todd (16/16) Oct 10 2007 In C it was possible to cast a Uint to a Char[], however, I can't seem t...
- Todd (3/3) Oct 10 2007 Thanks Chris,
- BCS (2/8) Oct 10 2007 Card? What type of system are you running on?
- Todd (2/2) Oct 10 2007 Windows NT.
- Jarrett Billingsley (4/6) Oct 10 2007 ..!
- Charma (3/13) Oct 10 2007 some people call that LAN ...
- Todd (1/1) Oct 11 2007 Nope, far from being a LAN card.
- Jarrett Billingsley (3/4) Oct 11 2007 Why the secrecy?
- Todd (3/12) Oct 11 2007 It's a commercal-Industrial Arinc Transmitter Card for an Aerospace appl...
- Bill Baxter (4/19) Oct 11 2007 Woo hoo! D's going to space! Please tell me this is for a mission to M...
- Frits van Bommel (6/17) Oct 11 2007 Looking at http://www.arinc.com/solutions/engineering.html it appears
In C it was possible to cast a Uint to a Char[], however, I can't seem to get it to compile in D. example: I have uint data1; long data; long lblonedata; . . . char[] dataone = cast(char[]) data1; lblonedata = atoi(dataone); I'm importing std.string, std.conv; and get e2ir: cannot cast uint to char[] I was using dmd 1.022 and switched to 2.x today with no help. Does D use a different method? or I'm I missing something obvious? Todd 'newest newbee'
Oct 10 2007
Thanks Chris, I remember trying std.conv.toString(), but I could have a hardware issue with the Card. Will try it in the Morning. Todd
Oct 10 2007
Todd wrote:Thanks Chris, I remember trying std.conv.toString(), but I could have a hardware issue with the Card. Will try it in the Morning. ToddCard? What type of system are you running on?
Oct 10 2007
Windows NT. I have a PCI Card that transmit's and receives data.
Oct 10 2007
"Todd" <toddtitus mindspring.com> wrote in message news:fejs9l$1kr6$1 digitalmars.com...Windows NT. I have a PCI Card that transmit's and receives data...! It just gets mysteriouser and mysteriouser.
Oct 10 2007
Jarrett Billingsley schrieb:"Todd" <toddtitus mindspring.com> wrote in message news:fejs9l$1kr6$1 digitalmars.com...some people call that LAN ... uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuh! ;)Windows NT. I have a PCI Card that transmit's and receives data...! It just gets mysteriouser and mysteriouser.
Oct 10 2007
"Todd" <toddtitus mindspring.com> wrote in message news:fel3i5$130n$1 digitalmars.com...Nope, far from being a LAN card.Why the secrecy?
Oct 11 2007
Jarrett Billingsley Wrote:"Todd" <toddtitus mindspring.com> wrote in message news:fel3i5$130n$1 digitalmars.com...It's a commercal-Industrial Arinc Transmitter Card for an Aerospace application. The toString method was working, I found that the problem is with the card itself, structure alignment or lib error. I hate hardware interfacing :)Nope, far from being a LAN card.Why the secrecy? No Secrecy, just didn't want to stray to far off topic.
Oct 11 2007
Todd wrote:Jarrett Billingsley Wrote:Woo hoo! D's going to space! Please tell me this is for a mission to Mars. :-) --bb"Todd" <toddtitus mindspring.com> wrote in message news:fel3i5$130n$1 digitalmars.com...It's a commercal-Industrial Arinc Transmitter Card for an Aerospace application. The toString method was working, I found that the problem is with the card itself, structure alignment or lib error. I hate hardware interfacing :)Nope, far from being a LAN card.Why the secrecy? No Secrecy, just didn't want to stray to far off topic.
Oct 11 2007
Bill Baxter wrote:Todd wrote:Looking at http://www.arinc.com/solutions/engineering.html it appears Arinc mostly works with the airline industry, defense etc. There's also a small section labeled "Space and Satellite Engineering" on that page but it looks like just satellites, not space missions. (i.e. nothing manned, and nothing beyond Earth orbit)It's a commercal-Industrial Arinc Transmitter Card for an Aerospace application. The toString method was working, I found that the problem is with the card itself, structure alignment or lib error. I hate hardware interfacing :)Woo hoo! D's going to space! Please tell me this is for a mission to Mars. :-) --bb
Oct 11 2007