How to get the source code running
Posted: Thu Oct 30, 2014 7:26 pm
I opened the source code in visual studio 2013 and tried to build the solution. But I got a bunch of error messages, like:
When I viewed the code behind, I saw a lot of question marks. Like in StiTreeView.cs
Is there any instruction on how to get the code working?
Code: Select all
Invalid token '?' in class, struct...
Code: Select all
? TVITEMEX tvItemEx = new TVITEMEX();
?
tvItemEx.mask = TVIF_HANDLE | TVIF_STATE;
?
tvItemEx.hItem = node.Handle;
? tvItemEx.state = isBold ? TVIS_BOLD : 0;
? tvItemEx.stateMask = TVIS_BOLD;
IntPtr pointer = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(TVITEMEX)));
? Marshal.StructureToPtr(tvItemEx, pointer, true);
? Win32.SendMessage(treeView.Handle, TVM_SETITEMW, 0, pointer);
? Marshal.FreeHGlobal(pointer);
}