Is there any way USING INTRINSIC PB statements and/or functions such as RESOURCE$() to get any of the version info from an execjutable file?
I see you can get STRING and RCDATA but no way to get the info you can put into your compiled program with the (and they do go in there) in the VERSION block? i.e
All these are going into the program resource (per Resource Hacker) but the only way to get them out might be to use the WinAPI calls for version management.
I can get these data using the WinAPI but I'd prefer to use intrinsic PB statements/functions if available.
If the answer is "no" just say so and I will take it from there. (Both using and reporting as needed new feature).
Thanks,
MCM
I see you can get STRING and RCDATA but no way to get the info you can put into your compiled program with the (and they do go in there) in the VERSION block? i.e
Code:
#RESOURCE VERSION$ "Comments", "2.0 For PB/Win v10" #RESOURCE VERSION$ "CompanyName", "Michael C. Mattias dba Tal Systems" #RESOURCE VERSION$ "FileDescription", "Read and Convert COBOL-created Data" #RESOURCE VERSION$ "FileVersion", "2.00" #RESOURCE VERSION$ "InternalName", "COB2iEEE" #RESOURCE VERSION$ "LegalCopyright", "Public Domain" #RESOURCE VERSION$ "LegalTrademarks", "None" #RESOURCE VERSION$ "OriginalFilename", "COB2IEEE" 'RESOURCE VERSION$ "PrivateBuild", "Private info" #RESOURCE VERSION$ "ProductName", "None" #RESOURCE VERSION$ "ProductVersion", "2.0" #RESOURCE VERSION$ "Author", "Michael C. Mattias Port Washington WI May 2023" #RESOURCE VERSION$ "Compiler" , "PB/Windows v 10.0.4"
I can get these data using the WinAPI but I'd prefer to use intrinsic PB statements/functions if available.
If the answer is "no" just say so and I will take it from there. (Both using and reporting as needed new feature).
Thanks,
MCM
Comment