Search found 2 matches

by zaksoft
2013-12-10 16:31
Forum: Developer discussions (mainly user-mode)
Topic: Some reports on VncViewer
Replies: 3
Views: 13380

Re: Some reports on VncViewer

B) FullScreenTitleBar.cpp Lines 411 and 428

ZeroMemory(Text,sizeof(LPTSTR));
should be (sorry, sizeof below is a copy and paste error)
ZeroMemory(Text,sizeof(TCHAR) * MAX_PATH);

In original code you force memset to 0 for 4 bytes, you can use as you wrote
ZeroMemory(Text,sizeof(Text));
not ...
by zaksoft
2013-12-08 12:19
Forum: Developer discussions (mainly user-mode)
Topic: Some reports on VncViewer
Replies: 3
Views: 13380

Some reports on VncViewer

Some reports:

A) ClientConnectionCursor.cpp line 52

if (pfburh->r.x<0)return;
if (pfburh->r.x<0)return;

should be

if (pfburh->r.x<0)return;
if (pfburh->r.y<0)return;


B) FullScreenTitleBar.cpp Lines 411 and 428

ZeroMemory(Text,sizeof(LPTSTR));
should be
ZeroMemory(Text,sizeof(MAX_PATH ...