Page 1 of 1

header file from js?

Posted: Wed Nov 29, 2017 5:04 pm
by cayennep
I'm trying to import a file to be our header file. It's actually a .js file but thought it might at least populate some info.

However, even tho I renamed it to .h, Flare does not see it on trying to create from existing.

Any tips on how to get this info into Flare, rather than have to do it manually?

Thanks

Re: header file from js?

Posted: Sun Dec 03, 2017 4:57 pm
by GregStenhouse
The h file is pretty basic, with #define, space, text identifier, space then numeric/hex value. I imagine Flare only knows this format when adding an existing file, so you'll need to manipulate the .js file (perhaps using regex in a text editor like Notepad++) to the proper header format before adding it. See http://help.madcapsoftware.com/flare201 ... -Files.htm for more info.

Re: header file from js?

Posted: Mon Dec 04, 2017 9:44 am
by cayennep
Thanks, I had already figured that out and moved on, posting another shortly