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.


Error compiling program in V5 (was OK in V4)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2007, 10:25 PM
Newbie
 
Join Date: May 2007
Posts: 7
Default Error compiling program in V5 (was OK in V4)

Hello,
I had an application working well under V4.0 and, trying to compile it with the new V5, I had an error message that I can't understand (see attached doc file in zip).
I also attached my application's source.

Any idea ?

*** Update ***
I finally found out that moving all the code that wasn't just assigning or declaring global variables from "sub globals" to "sub app_start" solved the problem.
Since this is quite easy (once you know it), this topic can be marked as solved.
Attached Files
File Type: sbp _BeanCounter.Sbp (126.8 KB, 15 views)
File Type: zip Basic4ppc error.zip (12.0 KB, 14 views)

Last edited by dpriem : 05-18-2007 at 11:08 PM. Reason: Found work around
Reply With Quote
  #2 (permalink)  
Old 05-19-2007, 06:16 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

You are correct, Sub Globals should only be used for variables declarations or assignments.
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
Erro compiling program CS0159 Arrie Questions & Help Needed 4 06-06-2008 02:14 PM
Compiling program Cerro41 Italian Forum 11 06-03-2008 08:09 AM
Error compiling 6.01 magi6162 Questions & Help Needed 4 01-14-2008 03:13 PM
Version 6.01 compiling error Gerd Bug Reports 2 01-04-2008 08:56 AM
Error when compiling borderless Questions & Help Needed 2 11-14-2007 05:36 PM


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


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