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.


serial compiling


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-2008, 10:15 AM
Cor Cor is offline
Junior Member
 
Join Date: May 2007
Posts: 21
Default serial compiling

<edit> same with the new serial2.dll

In components desktop serialdesktop.dll

when compiling serialterminal example it says: serial.New1 is not a known object

where it goes wrong?

grCor

Last edited by Cor : 01-18-2008 at 10:29 AM.
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 11:07 AM
Cor Cor is offline
Junior Member
 
Join Date: May 2007
Posts: 21
Default

Copied the header from original serialterminal prog after that program is ok

Good not get the header right, strange

=== good header

version
6.01
0
Form1
1
2
1
1
0
0
0
0
1
1
0
0
16
0
0
0
0
0
0
0
238
268

1
Serial2.dll
0
1
serial:Serial
Sub designer

--wrong header
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 12:59 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 577
Default

Hi Cor,

seems that you haven't declared an object named "serial"!

Using external librarries you first have to add the library(s) to the project using <tools> <components...>.
After that, you have to add the objects you are accessing within your project using <tools> <add object>. Select the right type of object ("Serial" in this example) and name it like you access it in your program ("serial" in this example).

Another way is to add the object during runtine with AddObject(Object Name, Object Type).

Maybe you should have a look at the first steps from Erel's GPS example (GPS application - Part I)


specci48
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 01:06 PM
Cor Cor is offline
Junior Member
 
Join Date: May 2007
Posts: 21
Default

Thats the problem, new components seemed to be NOT recognized

when adding component bitwise.

after that in code

bit.New1 is not recognized

grCor
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 01:10 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,820
Default

Did you add an object named bit?
You should add with Tools - Add Object - Bitwise.
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
Compiling with old .NET Sta Questions & Help Needed 2 03-16-2008 07:07 PM
serial Cor Questions & Help Needed 1 01-18-2008 12:49 PM
Receive Serial IR? spamme0 Questions & Help Needed 21 12-23-2007 07:47 PM
Compiling kavka Questions & Help Needed 6 10-17-2007 11:25 PM
serial i/o Softselect Questions & Help Needed 1 07-24-2007 01:48 PM


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


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