10-23-2003
Just a guess, but if you are trying to verify the version of an executable you have supplied then make sure you use some sort of source control for each source file e.g. RCS
Then include an identifier string. For RCS you might use:
static char ident="$Header$";
RCS will replace the $Header$ part with actual information on the source file. When compiled this information will be included to the executable.
With RCS you could then use the ident command to verify the version of the executable.
A serial number/key could be encoded in a similar way for a specific compilation for a client or the version number of the source could be reserved specifically for that compilation for a client.
You might try something a little bit more elaborate. Like reading the value from an encrypted file.
Is this what you mean?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
how to run windows .exe file in Linux
and vice the versa (3 Replies)
Discussion started by: rajashekaran
3 Replies
2. SuSE
does exe files works withe suse
am new n linux system
and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies
3. Linux
Hai,
is there any way to run an .exe file in unix environment . i have read that WINE HQ supports this concept but its very inconsistent and upto the user risk . but i tried WINE but iam not able to configure it can any one help me in this matter
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
4. Programming
Hi
Is it possible to find all the information like its 'ProductName', 'ProductVersion, ''InternalName' , 'FileVersion' etc about a windows excutable file,( i.e. *.exe file ) on Unix/Linux.
thanks
sumsin (6 Replies)
Discussion started by: sumsin
6 Replies
5. UNIX for Dummies Questions & Answers
how to open .exe file in freebsd system.My work is to run a growth.exe(created by growth.c turbo c 3.0 file).how to run that exe file in freebsd system?Thanks in advance help me (8 Replies)
Discussion started by: kumarangopi
8 Replies
6. Programming
how we can run the exe when the system starts. (2 Replies)
Discussion started by: phani_sree
2 Replies
7. Programming
Is it possible to extract c program,from its executable file(.exe)?
i mean we dont have program but its exe file only which runs,can we retrieve the program?
if yes how?
if no why? (2 Replies)
Discussion started by: unknown9
2 Replies
8. Programming
All,
I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program.
Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies
9. Programming
hello everyone,
could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming.
tnx (4 Replies)
Discussion started by: micy
4 Replies
10. UNIX for Beginners Questions & Answers
Hi, totally new to linux base using windows when started learning and using computers.
but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies