serial compiling

Cor

Active Member
Licensed User
<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:

Cor

Active Member
Licensed User
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
 

specci48

Well-Known Member
Licensed User
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 (http://www.basic4ppc.com/forum/showthread.php?t=1093)


specci48
 

Cor

Active Member
Licensed User
Thats the problem, new components seemed to be NOT recognized

when adding component bitwise.

after that in code

bit.New1 is not recognized

grCor
 
Top