sur une page :
Code : Tout sélectionner
http://en.wikipedia.org/wiki/Amiga_Hunk
voici le code:AmigaOS adopted another method to recognize it is dealing with a valid executable. There is a particular sequence of bytes in the file header, yielding the hexadecimal value $000003f3. This sequence, which signifies an executable file and lets it be self-running, is called a magic cookie (from the magic cookies in Alice's Adventures in Wonderland by Lewis Carroll).[citation needed]
Code : Tout sélectionner
If ReadFile(0, "Workbench/c/lha")
Debug Hex(ReadLong(0))
endif
et je comprends pas pourquoi ?F3030000
j'ai aussi essayé avec
Code : Tout sélectionner
Debug Hex(ReadByte(0))
Debug Hex(ReadByte(0))
Debug Hex(ReadByte(0))
Debug Hex(ReadByte(0))
Est ce quelqu'un a l'explication... Pfffffff c'est pourtant la partie simple là (Apres j'ai besoin pour les icons amiga (".Info") de récupérer les metadatas (ToolsTypes)... si une âme charitable a envis de me donner un coup de main elle est la bienvenu0
0
3
FFFFFFF3

