Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Different compiling optimized or not


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2008, 05:10 PM
Junior Member
 
Join Date: May 2007
Posts: 43
Default Different compiling optimized or not

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

without optimized all ok.

where is error?
Reply With Quote
  #2 (permalink)  
Old 01-14-2008, 05:43 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 650
Default

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
Reply With Quote
  #3 (permalink)  
Old 01-14-2008, 07:45 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

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).
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 08:44 AM
Junior Member
 
Join Date: May 2007
Posts: 43
Default

tnk for help, now ok, but:

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

error CS1002: not found (
Line: return=true

Help me please
Reply With Quote
  #5 (permalink)  
Old 01-15-2008, 09:12 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Your syntax is wrong.
You should use:
Code:
return True
Reply With Quote
  #6 (permalink)  
Old 01-15-2008, 12:10 PM
Junior Member
 
Join Date: May 2007
Posts: 43
Smile

All OK
tnkyvm


However, the speed remained the same as the version 5.80
I use sqlite and 10 forms
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
optimized compilation manu Questions & Help Needed 4 08-06-2008 07:17 PM
Optimized compilation susu Questions & Help Needed 3 05-13-2008 07:23 AM
6.05 Optimized layout problems Ianmac Questions & Help Needed 3 02-08-2008 10:10 AM
6.01 Optimized compilation error dpriem Bug Reports 2 01-06-2008 04:42 PM
FMOD and Optimized Compilation @Work Bug Reports 8 12-28-2007 08:51 PM


All times are GMT. The time now is 04:40 AM.


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