-
August 12th, 2009, 11:18 PM
#1
C++ Polymorphism
What affects will polymorphism have on my application? Can i use it so my program CRC changes each time on runtime?
I think I remember reading somewhere a long time ago about it but I forget.
-
August 13th, 2009, 02:08 AM
#2
Re: C++ Polymorphism
What are you talking about? Is this a guessing game?
-
August 13th, 2009, 02:13 AM
#3
Re: C++ Polymorphism
Can i use it so my program CRC changes each time on runtime?
No. Those 2 things are totally unrelated. Polymorphism is a coding technique and the CRC of your program is just a calculation.
-
August 13th, 2009, 02:53 AM
#4
Re: C++ Polymorphism
Alright, well I thought I read that a long time ago.
Anyways, sorry for the dumb thread.
But I am curious how one may change the crc of their program so each time you launch its different.
I know the crc is based on the file, some sort of calculation of it, but without recompiling and adding code, how can I change the crc in the pgram at launch time?
-
August 13th, 2009, 03:38 AM
#5
Re: C++ Polymorphism
What are you doing ? The crc of your program is totally not relevant for running it. Also, if the data doesn't change the crc check will also not change.
-
August 13th, 2009, 02:04 PM
#6
Re: C++ Polymorphism
Originally Posted by Skizmo
What are you doing ? The crc of your program is totally not relevant for running it. Also, if the data doesn't change the crc check will also not change.
I need the crc to change on each launch, ive seen it done before. I know the data needs to change, but I cant figure how without just recompiling it with adding some code..
But i definitely know its possible..
-
August 13th, 2009, 03:14 PM
#7
Re: C++ Polymorphism
I have this feeling that you are thinking about polymorphic code in the context of a polymorphic virus.
-
August 13th, 2009, 03:35 PM
#8
Re: C++ Polymorphism
what, lol.
Im not a very good programmer, and Im most definetly not making a virus.
I need the crc to change because for my program which I sell, each copy must be unique to each customer. So I distribute 1 copy, and when they launch it the crc is changed.
-
August 14th, 2009, 02:49 AM
#9
Re: C++ Polymorphism
Why don't you put your customer name into your program? That would definitely change the ultimate exe's CRC.
Best regards,
Igor
-
August 14th, 2009, 10:53 PM
#10
Re: C++ Polymorphism
I know, but I mean without recompiling. Like I send off 1 copy to ALL, and then everyone who runs it it changes the CRC when they either start it or exit.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|