Authors name...
Authors name...
Everytime I scan my computer on virusses Hitman Pro says my projects are virusses because the Authors Name is missing.
Where and how can I add my authors name in projects in Microsoft Visual C++ express 2010?
Where and how can I add my authors name in projects in Microsoft Visual C++ express 2010?
Re: Authors name...
Hmm... seems to be a difficult question?
- joelyboy94
- Posts: 67
- Joined: October 11th, 2012, 7:34 pm
Re: Authors name...
Can you not create an exception of sorts on your virus protection software which allows your projects to run?
Re: Authors name...
I can still run the projects, but if I do a scan it detects that my project has no author's name and considers it as virus.
Re: Authors name...
didn't post earlier heh, so here goes
you just add it to the VERSIONINFO resource in the .rc file (or edit the .res file to include it lol)
example in .rc of a project i code:
you just add it to the VERSIONINFO resource in the .rc file (or edit the .res file to include it lol)
example in .rc of a project i code:
Code: Select all
VS_VERSION_INFO VERSIONINFO
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0" <-- 0409 english, 04b0 unicode (just look up the values in MS dev center)
BEGIN
VALUE "CompanyName", "pchat-irc.com" <-- author name lol
VALUE "FileDescription", "PChat IRC Client"
VALUE "InternalName", "PChat.exe"
VALUE "LegalCopyright", "Copyright (C) 2009-2011 PChat Team"
VALUE "OriginalFilename", "PChat.exe"
VALUE "ProductName", "PChat"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200 <-- 0x409 same as above, 1252 ansi (but i had 1200 in this project rc that i made lol)
END
END
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Authors name...
Thank you Luis, but there is one problem: In the project is no resource file, just like the framework from chili.
Maybe I overlook something but right-clicking or double-clicking on the resource-map does not bring it on screen.
Or should I do this outside the Visual Studio Express? ( I do NOT have the bought version, just the express-version, maybe that has to do with it ).
Maybe I overlook something but right-clicking or double-clicking on the resource-map does not bring it on screen.
Or should I do this outside the Visual Studio Express? ( I do NOT have the bought version, just the express-version, maybe that has to do with it ).
Re: Authors name...
well the chili framework doesn't come with a .rc file, but it does have a .res file, so you can resedit that to include the versioninfo stuff
or you can just create a .rc file and link it to the project
or you can just create a .rc file and link it to the project
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat --
Re: Authors name...
You mean by resedit, change it with the resedit prog? Tried it and it can change the version, but not the author, as far as I can see. I moved in your version info.
Is that some kind of meta-language?
Is that some kind of meta-language?
Re: Authors name...
Hi,
I use Avast virus checker, and you can go into the settings and get it to ignore a folder. So what I do is make it ignore the folder where I compile to. No problems at all.
I use Avast virus checker, and you can go into the settings and get it to ignore a folder. So what I do is make it ignore the folder where I compile to. No problems at all.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Authors name...
True, and I know most virusscanners can do that, but the reason I want the author's name and version number in the resource file is in case I write a commercial application. In that case you don't want to see that a client thinks he bought something with a virus. Is bad for my name as programmer, even if it is no virus.Asimov wrote:Hi,
I use Avast virus checker, and you can go into the settings and get it to ignore a folder. So what I do is make it ignore the folder where I compile to. No problems at all.