Ensure you are not in debug mode.
Drag the cursor to highlight "guidName" and then right click.
Select "Convert guidName to long"
"guidName" will be replaced by the generated guid xL
Just edit to add "guidName =" before the xL to create
long guidName = xL;