Check whether a file is xcoded or not

yoachan

Member
Hi all
I wanted to know whether a .p file is xcode-d or not. For I wanted my program to only allow execution for xcoded external source.

E.g. I have a file A.p that calls B.p. how do I know (from A.p) that B.p is already xcode-d or not.

Thanks in advanced.

My Regards

YoChan
 
maybe ,you can get 2 bytes From the beginning of this file
if xcode then 2 bytes = 0x13 0x59


Not 2 bytes, but only one and check for byte 0x13 or 0x11 (old version of XCode)
 
Thanks for your replies.

How can I do this 'get byte' and how can I check it? I really don't have any idea...
as a note i'm using xcode from OpenEdge 10.1A.

Thanks in advanced.
My regard.
 
Back
Top