It was with great interrest I read the postings by Barney, where he explained how to use Elektor Magazine 's Port.DLL with Emergence Basic. But when I tried to get more information from the magazine user forum on where to find the file Port.DLL, I saw that the editor didn't recomend it used with newer systems than Windows 98. But they have made another DLL that's more suitable for newer systems, named Serial.DLL. I downloaded that file togheter with example code written in Deplhi. And now I'm studying the example, finding that it is rather easy to understand, at least easier than I thought....
 
But then I found three variable types (Delphi) that was not so obvious at first glance: Boolean, Cardinal and HWND. 
Guess I'll get away with Boolean by defining it as an INT. But I hope somebody can tell me how the two last types should be defined in EB.
			
			
			
				hWnd is INT
I think Cardinal is a pointer to string
			
			
			
				Cardinal is the same as EBasic's UINT.
More about Delphi variables here (http://www.delphibasics.co.uk/Article.asp?Name=DataTypes).
Barney
			
			
			
				Thanks to both of you!
After a little more study, I decided to put that project aside for a while, at least till I'm more confident with EB. 
And the comport example that came with EB, will do it for me... with minor modifications.