Development Environment

Development Startup

Typically, you would perform these steps to start development:

  1. Declare a Spel class variable in a module in your .NET project.
  2. Start Epson RC+ 8.0.
  3. Open the desired Epson RC+ 8.0 project or create a new Epson RC+ 8.0 project.
  4. Build the Epson RC+ 8.0 project.
  5. Add initialization code for the SPEL class instance.
  6. Run and debug the .NET project.

Spel Class Instance Initialization

After a new instance of the Spel class has been created, it needs to be initialized. When initialization occurs, the underlying Epson RC+ 8.0 modules are loaded and initialized. Initialization is implicit with the first method call or property access. You can initialize the class by calling the Initialize method.

  m_spel.Initialize()  

Spel Class Instance Termination

When your application exits, you need to execute Dispose for each Spel class instance. This can be done in your main form's FormClosed event. If Dispose is not executed, the application will not shutdown properly.
For Visual Basic and Visual C#, use the Dispose method:

m_spel.Dispose()  

For Visual C++, if your Spel class instance was created on the heap (with gcnew), then use delete:

delete m_spel;  

Development Cycle

Follow these basic steps to edit and run your .NET code:

  1. Stop the .NET project.
  2. Edit the .NET project
  3. Open Epson RC+ 8.0.
  4. Make changes in the Epson RC+ 8.0 project.
  5. Build the Epson RC+ 8.0 project.
  6. Close Epson RC+ 8.0.
  7. Switch to Visual Studio.
  8. Run the .NET project.