推 fumizuki:就不要*2 就可以了吧...(固定長度我不知道.net怎麼寫 囧 08/11 19:46
Private Type TaxHeader
test As String * 2
End Type
用.net的升級程式變成
Private Structure TaxHeader
<VBFixedString(7),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,SizeConst:=7)>Public test As String
End Structure
前面好長一串啊
.net裡有其他的寫法嗎
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.66.84.2
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)