none
compile error in the Opalis QIK CLI tool RRS feed

  • Question

  • hi all;

    i use QIK CLI tool, report from registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters".
    it is a space in the registry path.

    i try QIK CLI tool Command page, enter below.
    General tab:
      Name: reg
      Mode: Run Program
      Program: reg.exe
    Arguments tab:
      Command Line: query "$(path)"
    Parameters:
      Nmae: path
      Display Style: Text
      Default Value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters

    click [Next] button, i see the below.

    ---- error Details:
    Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
    for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
    Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

    MetadataManager.cs(5,472): error CS1056: Unexpected character '$'
    MetadataManager.cs(5,733): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,982): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,1227): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,1472): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,1745): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,1990): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,2235): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,2472): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,2737): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,2978): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,3099): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,3108): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,3118): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,3134): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,3140): error CS1009: Unrecognized escape sequence
    MetadataManager.cs(5,472): error CS1002: ; expected
    MetadataManager.cs(5,478): error CS1519: Invalid token ')' in class, struct, or interface member declaration
    ---- end of error

    i think issue of double quote.

    Cannot double quote be written?
    Tuesday, May 25, 2010 11:12 AM

Answers

  • Issue appears to be the double quotes but only during compile.  If you use $(path) without the quotes then it should compile properly and if you then use quotes as part of your data in the property field at runtime it will capture and utilize the quotes properly to provide the path wrapped in quotes.

    I would say that this is an issue with QIK CLI.

    Regards,

    Jeff.

     

    • Proposed as answer by Robert_Hearn Tuesday, May 25, 2010 6:21 PM
    • Marked as answer by knoji Wednesday, May 26, 2010 6:54 AM
    Tuesday, May 25, 2010 5:36 PM
    Moderator

All replies

  • Issue appears to be the double quotes but only during compile.  If you use $(path) without the quotes then it should compile properly and if you then use quotes as part of your data in the property field at runtime it will capture and utilize the quotes properly to provide the path wrapped in quotes.

    I would say that this is an issue with QIK CLI.

    Regards,

    Jeff.

     

    • Proposed as answer by Robert_Hearn Tuesday, May 25, 2010 6:21 PM
    • Marked as answer by knoji Wednesday, May 26, 2010 6:54 AM
    Tuesday, May 25, 2010 5:36 PM
    Moderator
  • thanks Jeff.
    Wednesday, May 26, 2010 6:54 AM