G
Guest
Hi
Please Could you tell me what make these 2 pieces of code behave differently in visual studio .NET
#
tcPacket.Data = new byte[1]
tcPacket.Data[0] = GET_CURRENT_MODE
#
tcPacket.Data = new byte[1]{GET_CURRENT_MODE}
During execution of the code, in case#1 tcPacket.Data allways point to NULL while in case #2 tcPacket.Data don't
Thanks
Franck
Please Could you tell me what make these 2 pieces of code behave differently in visual studio .NET
#
tcPacket.Data = new byte[1]
tcPacket.Data[0] = GET_CURRENT_MODE
#
tcPacket.Data = new byte[1]{GET_CURRENT_MODE}
During execution of the code, in case#1 tcPacket.Data allways point to NULL while in case #2 tcPacket.Data don't
Thanks
Franck