Increased model string value in .NET example.
This commit is contained in:
parent
fbee2fd1fe
commit
eae70c9833
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace SensorPollWin
|
|||
static unsafe void Main(string[] args)
|
||||
{
|
||||
int protocolstringsize = 20;
|
||||
int modelstringsize = 20;
|
||||
int modelstringsize = 30;
|
||||
int valuestringsize = 20;
|
||||
char* protocol = (char*)Marshal.AllocHGlobal(Marshal.SystemDefaultCharSize * protocolstringsize);
|
||||
char* model = (char*)Marshal.AllocHGlobal(Marshal.SystemDefaultCharSize * modelstringsize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue