Sponsored Content
Top Forums Programming how To edit exe to insert a serial no wich can be usd by runing exe Post 42170 by mbb on Thursday 23rd of October 2003 08:26:18 AM
Old 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

.exe file

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

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

How to run .exe

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

exe info

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

.exe files

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

running exe

how we can run the exe when the system starts. (2 Replies)
Discussion started by: phani_sree
2 Replies

7. Programming

exe

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

How to build .exe from c

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

exe

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

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

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
ident(1)																  ident(1)

NAME
ident - identify files SYNOPSIS
ident [-q] [file...] DESCRIPTION
ident searches for all occurrences of the pattern $keyword:...$ in the named files or, if no file name appears, the standard input. These patterns are normally inserted automatically by the RCS command co(1), but can also be inserted manually. The option -q suppresses the warning given if there are no patterns in a file. ident works on text files as well as object files and dumps. For example, if the C program in f.c contains char rcsid[] = "$Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $"; and f.c is compiled into f.o, then the command # ident f.c f.o will output f.c: $Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $ f.o: $Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $ IDENTIFICATION
Author: Walter F. Tichy. Revision Number: 1.1.6.4; Release Date: 1993/12/20. Copyright (C) 1982, 1988, 1989 by Walter F. Tichy. Copyright (C) 1990 by Paul Eggert. SEE ALSO
ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5) Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654. ident(1)
All times are GMT -4. The time now is 10:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy