Table of Contents Previous topic Next topic
Using the Custom AppWizard or Project Template->Tutorial - Creating an Extension with the AppWizard->Adding a Dialog Box to your Extension->Build and Run your Extension
Select Build esim0.dll from the Build menu to rebuild your extension.
If you get an error:
LINK : fatal error LNK1104: cannot open file "c:\estudio\projects\tutorial\bin\esim0.dll"
this is because your extension is still loaded. Return the the Crossware Embedded Development Studio and close the Virtual Workshop by selecting Close Simulator from the Simulate menu.
After you have successfully rebuilt your extension, you can return to the Crossware Embedded Development Studio and run your 8051 program. You will see your Messages dialog box appear in the top left corner of your screen as before.
Select Serial Port 0 from the view menu to view the activity of serial port 0.
Enter a message into the edit box of your Message dialog box, and with your 8051 program running in Go mode, click on Send Message. You will see your message being received by your simulating program.
Of course your 8051 program is not doing anything with this UART input except that the default interrupt handler in the library is reading each byte received. However, you could easily add some code to your program to use the message in a suitable manner.