Quantcast
Channel: Developer Group
Viewing all articles
Browse latest Browse all 1888

Forum Post: RE: gc_SetInfoElem() - Error

$
0
0
Ok, I believe the issue is that the block size needed vs. number passed are different. You need to explicitly specify the elements in the IE_BLK array. For example, if passing "123456789" it needs to passed like so: ieblk.data[5]  =0x21 ieblk.data  =0x43 ieblk.data[7]  =0x65 ieblk.data  =0x87 ieblk.data[9]  = 0x9 So the calculation of  "ieblk.length = strlen(my_num) + 5" is incorrect in this case. As the number passed can be half that of strlen in this case when passing 2 digits into a single array element. Jeff

Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>