I am new to Clarion. I want to create a new solution, but the IDE is asking me to choose the template, and I am not familiar with creating a new template. Can someone help guide me to documentation on how to create a template and solution?
For C7 and up, if you’re on the “Application Properties” window, it’s asking which template chain you wish to use. Generally, that choice is “ABC” or “Clarion”. I prefer ABC.
If you do not see any templates available to choose from when you click the […] button, then you probably need to register your templates. But I’m pretty sure the templates are pre-registered when you install Clarion.
What version of Clarion are you using?
Some early releases of Clarion 7 would trash the template registry if you opened more than one copy of the IDE.
From your screenshot it looks like you already had an APP and DCT loaded?
In a multi-DLL solution, there is at least one significant issue that I ran into. The biggest one was with the linker. The C5.5 (and I assume C5) linker is not compatible with the newer IDEs. There’s more info in PTSS# 38293
Alexey explained the issue and workaround in the PTSS comments:
How have you tried to re-register the templates?
Remember what you are trying to do is restore the template registry in Clarion 5 not in Clarion 8
The simplest solution would be to restore a backup copy of Registry.TRF and restore that.
I don’t think you can re-register the Clarion 5 templates from within Clarion 8 - but Jeff will be able to confirm that.
Use the Clarion main menu - Tools - Options - Clarion - Versions and see where the Clarion 5 installation and Redirection file is
Error is showing as " Could not open include file ADO.TPW. But file is available in my “C:\Program Files (x86)\SoftVelocity\Clarion8\template\win” folder and have full access. Even though am facing this issue and compiler version also 5 only .
Installing Clarion under Program Files can cause problems. Better to install in a non-UAC folder, such as c:\Clarion8.
There are numerous syntactical errors in the older templates that are not compatible with the newer versions of Clarion. I think Softvelocity might have replacement templates for use in Clarion8+C5. Otherwise, the errors need to be corrected by hand.
All of the templates are registered via the libraries of the “new” IDE, no matter what version the templates are.
Because the new template engine has evolved, the syntactical errors from the “old” templates are detected, where the “old” IDE would allow them.
The compiler/linker are used from the “old” Clarion, but all of the template related stuff is handled by the new. Linkers older than C6 have a bug, but the C6 version can be used with the older versions as described by Alexey in the comments section of my PTSS 38293