Version 6.01 compiling error

Discussion in 'Bug Reports' started by Gerd, Jan 3, 2008.

  1. Gerd

    Gerd Member Licensed User

    i can't compile "optimized" programs that uses the outlook lib!
    for example, it failed to compile this from the helpfiles:

    'PimCol is a PimCollection object and Appointment is an Appointment object.

    Sub Globals

    End Sub

    Sub App_Start
    i = 0
    Appointment.Value = PimCol.GetItem(i)
    i = i + 1
    Loop While i < PimCol.Count AND Appointment.Start < Now 'Finds the next appointment.
    If i<=PimCol.Count Then
    Msgbox("Next appointment will be on: " & Time(Appointment.Start))
    End If
    End Sub


    Error compiling program
    Error message: error CS0012: The type 'microsoft.WindowsMobile.PocketOutlook.Appointment' is
    defined in an assembly that is not referenced. You must add an refence to assembly ..... ...

    Line number: 16
    Line: Appointment.Value = PimCol.GetItem(i)

    "Normal" compiliation for smartphones and PocketPC works! Only "optimized" compilation fails!

    Output from the "About" Menu:
    Version: 6.01
    .NET Version 2.0.50727.42

    I have de/reinstalled: Basic4ppc .net1.1 .net2.0 .net2.0SP2

    any idea?

  2. Erel

    Erel Administrator Staff Member Licensed User

    You should use the new Outlook.dll / OutlookDesktop.dll files.
    They are located under C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries.
  3. Gerd

    Gerd Member Licensed User


    Yes! :sign0098:
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice