Different compiling optimized or not

Discussion in 'Questions (Windows Mobile)' started by magi6162, Jan 14, 2008.

  1. magi6162

    magi6162 Well-Known Member Licensed User

    Compile with 6.01 with optimized compiler, error
    errorCS0246:Impossible find name space 'SerialDesktop'.

    without optimized all ok.

    where is error?:sign0085:
     
  2. specci48

    specci48 Well-Known Member Licensed User

    Are you sure that you are using the latest version of the serial.dll ?
    Some libraries have been rebuild by Erel to work with the optimized compile.

    specci48
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    SerialDesktop/SerialDevice are .Net 1.0 only libraries.
    You should use Serial2 instead if you want to use the optimized compiler (which creates .Net 2.0 applications).
     
  4. magi6162

    magi6162 Well-Known Member Licensed User

    tnk for help, now ok, but:

    Sub ab(an)
    If an Mod 400 = 0 Then
    Return = True // error in com:sign0085:piling
    Else If an Mod 100 = 0 Then
    Return = False
    End If
    End Sub

    error CS1002: not found (;)
    Line: return=true

    Help me please
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Your syntax is wrong.
    You should use:
    Code:
    return True
     
  6. magi6162

    magi6162 Well-Known Member Licensed User

    All OK
    tnkyvm


    However, the speed remained the same as the version 5.80
    I use sqlite and 10 forms
     
  7. aru

    aru Member

    Help for External Compile Error CS 1002

    I am getting an Error when I compile my program

    This is the error:

    Error Compiling Program.
    Error message: error CS1002: ; expected


    Can you say where is the error ? I cannot understand where is the error or it never says a line number. So I need to check all of the code ?


    :sign0085:
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    You appear as an unlicensed user. Please send me an email to erel@basic4ppc.com with your order details so I can fix it.
    BTW, there is a cracked version of Basic4ppc which is not functioning properly.
     
Loading...