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.


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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 01:26 PM
Newbie
 
Join Date: Aug 2007
Posts: 5
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: 2,844
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, 18 views)
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 01:50 PM
Newbie
 
Join Date: Aug 2007
Posts: 5
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Label/Text Control text centering TWELVE Basic4ppc Wishlist 1 06-04-2008 03:20 PM
Working with VGA screens Erel Tutorials 18 06-01-2008 02:08 PM
Newbie having trouble with brush1.New1() mjcoon Questions & Help Needed 6 05-28-2008 07:11 PM
working with date gjoisa Questions & Help Needed 3 03-29-2008 09:40 AM
working with FormExDesktop_1.2 Cableguy Questions & Help Needed 20 01-28-2008 06:02 PM


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


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