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.

Sms.New1(Number,Text) not working after compilation

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 01:26 PM
Junior Member
 
Join Date: Aug 2007
Posts: 11
Default Sms.New1(Number,Text) not working after compilation

I'm using the Sms.New1 method to send a text with the Outlook.dll (1.0.2900.27217). It works perfectly on my device TyTn II (WM6) through B4PPC, but not after I compile it. I have copied across the very same dll to the application folder, but no joy. Anyone else experienced this? The app used to work before I upgraded to 6.30.

Well done Erel, the compiling of bitmaps and dll's along with the app is most welcomed.


Thx

Graham Aley

Last edited by Graley : 05-16-2008 at 02:10 PM.
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 03:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,705
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It appears to work fine.
Please test the attached example (source code and compiled executable).
Attached Files
File Type: zip SMSSend test.zip (26.4 KB, 30 views)
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 01:50 PM
Junior Member
 
Join Date: Aug 2007
Posts: 11
Default Solution

Thanks Erel, all sorted. Not a bug. It turned ou to be a missing CRT in an IF statement. Maybe the old version didn't pick this out. Very stange. Thanks for the prod though.

Incorrect code:
If X = X Then
Action
ELSE Sms.New1(Number,Message)
Action
END IF

Corrected code:
Incorrect code:
If X = X Then
Action
ELSE
Sms.New1(Number,Message)
Action
END IF
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
Forelayer not working(?) Cableguy Questions (Windows Mobile) 5 08-16-2008 11:52 AM
optimized compilation manu Questions (Windows Mobile) 4 08-06-2008 06:17 PM
Error during compilation mozaharul Questions (Windows Mobile) 2 06-10-2008 02:50 AM
Label/Text Control text centering TWELVE Basic4ppc Wishlist 1 06-04-2008 03:20 PM
Newbie having trouble with brush1.New1() mjcoon Questions (Windows Mobile) 6 05-28-2008 07:11 PM


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


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