Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Version 6.01 compiling error

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2008, 09:28 AM
Junior Member
 
Join Date: Nov 2007
Location: Ulm, Germany
Posts: 10
Default Version 6.01 compiling error

Hi,
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
Form1.Show
Appointment.New1
PimCol.New1("Appointments")
PimCol.SortItems("Start",false)
i = 0
Do
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
------------------------------------

produces:

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?

Gerd
Reply With Quote
  #2 (permalink)  
Old 01-03-2008, 11:51 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,701
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should use the new Outlook.dll / OutlookDesktop.dll files.
They are located under C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries.
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:56 AM
Junior Member
 
Join Date: Nov 2007
Location: Ulm, Germany
Posts: 10
Default Yes!

Quote:
Originally Posted by Erel View Post
You should use the new Outlook.dll / OutlookDesktop.dll files.
They are located under C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries.
Yes!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error after compiling J12345T Questions (Windows Mobile) 6 10-22-2008 11:59 PM
ERROR on compiling superbabicka Questions (Windows Mobile) 9 08-17-2008 06:56 AM
Compiling Windows EXE error mozaharul Questions (Windows Mobile) 7 07-17-2008 07:44 AM
Error compiling 6.01 magi6162 Questions (Windows Mobile) 4 01-14-2008 03:13 PM
Error when compiling borderless Questions (Windows Mobile) 2 11-14-2007 05:36 PM


All times are GMT. The time now is 03:07 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0