PDA

View Full Version : gen 1126 compiler warning



NewsArchive
03-25-2015, 02:44 AM
compiler warning gen1126 invalid version resource format 3.1a. Sorry,
I think I asked and got this answered before, But I can't find it.

I think it has to do with code signing. I have looked at the project
that works, but can't find anything different with the one that doesn't.

Thanks
Gary

NewsArchive
03-25-2015, 02:45 AM
Hi Gary

From Friedrich's message board to you.... 1-1-2015

=============
Gary,

> Copiler warning gen 126 invalid file resource format 3.1a

I think you are getting a GEN1126 error.

"3.1a" is NOT a valid Windows file version resource format. Your alpha-part
"a" is not allowed. Only the numeric part "3.1" is valid. You can use
3.1.0.1 or something similar.

Friedrich
==================

John Griffiths

NewsArchive
03-25-2015, 11:14 AM
Okay; I guess i don't know what resource this points to, or how i
change 3.1a to 3.1. Is this something I have entered. I do not see
it. Where does this go.

My original project that had the problem, Just started working. I do
not believe i changed anything.

Gary

NewsArchive
03-25-2015, 11:14 AM
Gary,

> Okay; I guess i don't know what resource this points to, or how i
> change 3.1a to 3.1. Is this something I have entered. I do not see
> it. Where does this go.
>
> My original project that had the problem, Just started working. I do
> not believe i changed anything.

Yes, you have defined "3.1a".

General Information -> Version Resource -> File Version

3.1a is not a valid file version resource.

Friedrich

NewsArchive
03-26-2015, 02:40 AM
I'd suspect you are using a global template shipped by SV or the CHT
versioning template and that is putting that value there.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
03-26-2015, 02:41 AM
Thanks. It is fixed. Now if I can just remember that next time it
shows up. I may be getting too old for this. I think the 3.1a was
something i Put in a long long time ago.

Thanks

gary