Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List 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, 10: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, 12:51 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
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, 09: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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 02:01 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0