KB1029: Can I convert templates to .h files or vise versa?
There is no automated way to convert data from regular C header files (.h) to
an 010 Editor Binary Template (.bt); however, a Binary Template can include a header
file using the '#include' keyword. For example:
Probably the best way to handle using structs in both a Template and a C program is
to make up a common .h file that both the Template and C program can include. Note that
010 Editor cannot support some of the syntax in an ANSI C file, so unsupported syntax
will either have to be removed or placed inside an #ifdef or #ifndef statement.
Also note that 010 Editor only supports the #ifdef, #ifndef, etc. keywords starting
with version 3.1.
Back to knowledgebase index
Back to main support page