Newbie question about authoritation process + cracking

Newbie question about authoritation process + cracking

Hi all There's documentation about the authoritation process? I haven't clear the flow of the process. For example in some documentation I found a "Headless Client": which is the role of this component? It's called during ADP_IsAuthorized()? Another question. C application using this code for authoritation: if (( ret_code = ADP_IsAuthorized( myApplicationId )) == ADP_AUTHORIZED ) printf( "Hello World" ); else printf( "Not authorized to run" ); The "correct" code for running the application is ADP_AUTHORIZED (from adpcore.h: ADP_AUTHORIZED = 5) So, if a cracker disassemble the executable and change the if (( ret_code = ADP_IsAuthorized( myApplicationId )) == ADP_AUTHORIZED ) in if ( ret_code == ADP_AUTHORIZED ) my application is cracked? Many thanks Max
1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.