Etienne BAUDOUX

Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Etienne BAUDOUX

Forum sur les projets de Etienne BAUDOUX

-55%
Le deal à ne pas rater :
Coffret d’outils – STANLEY – STMT0-74101 – 38 pièces – ...
21.99 € 49.04 €
Voir le deal

+10
AlphaBravo
fandeonepiece2
Orthographix_power
GalaxySoftware
Admin
polien
Szman
JHPC-Software
lereparateurdepc
Blackorion35
14 participants

    Mantrix Edition Red Serveur - Operating System Projet

    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Mer 22 Jan 2014 - 18:40

    polien a écrit:bonjour,

    fandeonepiece2: n'oublie pas de te mettre à l'assembleur: s'est essentiel pour un cherche-tout comme toi Wink
    Oui en effet l'assembleur (du moins les bases) sont obligatoire Smile
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Mer 22 Jan 2014 - 18:59

    bonjour,
    je commence a maîtriser les bases du C
    quand je maîtriserai très bien le C je passerai à l'assembleur
    cordialement
    lereparateurdepc
    lereparateurdepc



    Masculin Nombre de messages : 5621
    Age : 31
    Localisation : Calvados
    Emploi/loisirs : Electrotechnicien / électricité, HAUTE TENSION, électronique, informatique, automatisme , Arduino, bref le BRICOLAGE , ...
    Humeur : toujours cool
    Date d'inscription : 31/01/2010

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par lereparateurdepc Mer 22 Jan 2014 - 20:16

    re,

    Et bah bon courage Smile

    En tout cas, je constate depuis pas mal de temps que tu en veux et je trouve ça super.
    contenu Smile mais prend le temps quand même Smile Smile Smile

    Cordialement,
    Le réparateur de PC
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Mer 22 Jan 2014 - 22:14

    lereparateurdepc a écrit:re,

    Et bah bon courage Smile

    En tout cas, je constate depuis pas mal de temps que tu en veux et je trouve ça super.
    contenu :)mais prend le temps quand même SmileSmileSmile

    Cordialement,
    Le réparateur de PC
    Oui surtout pas ce presser sinon tu va tout mélanger crois moi amusé
    Exemple j'ai mis 2 ans à maitriser tout le VB.NET. 4 ans pour le C/C++ que je maîtirse encore à peine et 2 ans d'assembleur... Et bien je ne connais que 50% de tout ça et sa ce mélange un peut dans la tête xD
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Jeu 23 Jan 2014 - 6:15

    bonjour,
    j'ai mis environ 2 semaines pour maîtriser les bases du VB.NET.
    pour le moment en C je sais :
    _ déclarer une variable de type "integrer" ou de type "char" simple ou tableau
    _ afficher un message dans la console
    _ afficher la valeur d'une variable dans un message
    _ afficher une valeur d'une variable de type tableau dans un message
    _ modifier la valeur d'une variable tableau ou normal

    cordialement
    friko678
    friko678
    Nouveau
    Nouveau


    Masculin Nombre de messages : 8
    Age : 25
    Localisation : internet & tor
    Emploi/loisirs : codage
    Humeur : =D
    Date d'inscription : 22/01/2014

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par friko678 Jeu 23 Jan 2014 - 12:36

    Bonjour, j'ai longtemps hésité à poster un message, je trouve que ce projet est vraiment novateur, malgré certains mots barbares je pense avoir compris l'essentiel, cependant j'ai du mal à comprendre la notion de "kernel virtuel".

    J'ai quelque notions en programmation, j'ai réussis a creer un calculateur de PGCD avec softwarezator, vraiment top ce logiciel !

    J'adore un logiciel "
    Bluestacks" je ne sais pas si il est possible de l'integer à mantrix, je pourrais enfin avoir un système d'exploitation sur clef usb, sans laisser de trace sur un PC !

    Cool ! Merci !
    Szman
    Szman



    Masculin Nombre de messages : 1257
    Age : 24
    Localisation : 76230 Bois-Guillaume
    Emploi/loisirs : Code, musique, sport
    Humeur : Toujours heureux évidemment!
    Date d'inscription : 22/10/2011

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Szman Jeu 23 Jan 2014 - 17:10

    Re,

    @friko678: je pense pas que ça soit possible :/ Pour la raison simple: les droits d'auteurs. Et puis je crois que Blackorion35 aura besoin des sources du logiciel Bluestacks (que j'utilisais avant aussi Smile ) pour pouvoir l'intégrer à Mantrix, car, je ne sais pas si tu l'a testé, il y a des modifications par rapport à l'interface Windows (par exemple la barre des taches, la barre en haut des fenêtres, etc...) amusé

    Cordialement,
    Softewarzatorman

    P.S: pas forcément sur clef USB, en fait il est assez lourd, et nécessite une installation avant utilisation Smile
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Jeu 23 Jan 2014 - 18:14

    bonjour,

    une astuce :
    installe mantrix
    va dans C:\Programmes(peut être "Programmes(x86)")\AlgoStepCompany\
    et tu copie le dossier "MantrixERS" sur ta clé USB
    depuis n'importe quel ordinateur en double cliquant sur Mantrix.exe (Dans le dossier MantrixERS) tu pourra lancer Mantrix

    cordialement
    lereparateurdepc
    lereparateurdepc



    Masculin Nombre de messages : 5621
    Age : 31
    Localisation : Calvados
    Emploi/loisirs : Electrotechnicien / électricité, HAUTE TENSION, électronique, informatique, automatisme , Arduino, bref le BRICOLAGE , ...
    Humeur : toujours cool
    Date d'inscription : 31/01/2010

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par lereparateurdepc Jeu 23 Jan 2014 - 19:11

    re,

    C'est un peut de la bricole Mr Bricolage Smile
    Mais si ça dépanne .......

    Cordialement,
    Le réparateur de PC
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Jeu 23 Jan 2014 - 21:27

    friko678 a écrit:Bonjour, j'ai longtemps hésité à poster un message, je trouve que ce projet est vraiment novateur, malgré certains mots barbares je pense avoir compris l'essentiel, cependant j'ai du mal à comprendre la notion de "kernel virtuel".

    J'ai quelque notions en programmation, j'ai réussis a creer un calculateur de PGCD avec softwarezator, vraiment top ce logiciel !

    J'adore un logiciel "
    Bluestacks" je ne sais pas si il est possible de l'integer à mantrix, je pourrais enfin avoir un système d'exploitation sur clef usb, sans laisser de trace sur un PC !

    Cool ! Merci !
    Bonjour ! Déjà Bienvenue à toi Very Happy Et merci de ce commentaire Smile ! Sa fait plaisir de voir que des développeurs s’intéresse à ce projet que je fournirais bien publique avec code source (gratuit ! toujours tout gratuit chez moi amusé) dans l'avenir Wink 
    Quand à Bluestacks ; je peut l'intégré mais en externe (à condition que Mantrix reste virtuel ou en semi-natif). Enfin je peut toujours essayer amusé
    En tout cas bravo pour le calculateur PGCD fait avec SZ Oo pourrait-on voir un screenshots de ce que ça donne Very Happy stp ?

    Sinon j'ai une grande nouvelle pour tous !! Very Happy Après des centaines d'essai pour trouver comment rendre une application d'origine .NET native à 100% (utilisable sous les bases de n'importe quel OS) je viens de trouver UNE solution.... FONCTIONNELLE !

    J'ai utiliser un programme (encore en alpha) développé par roylawliet Qui permet d'utiliser une astuce tout simplement grandiose (j'ai modifier tout ça après amusé) : 
    1 - Il utilise le langage IL (c'est à dire ce qui peut correspondre à l'équivalent de l'ASM) : en gros une appli VB.NET (ou C#.NET dans son cas) est, grâce à FrameWork, transformé en langage IL, proche de l'ASM, donc du langage machine, ce qui permet de recréer l'appli en...C/C++ natif sans perdre un seul objet ou une seule librairies du Framework 4.0 et 4.5 ! Very Happy 
    Le plus génial c'est que je suis en train de créer un plugin pour un logiciel qui pourra servir à COMPILER le langage ASM en langage C/C++ natif ET assembleur... Ce qui permettra de tricher sur le .NET et qui permettra aussi de créer une application .exe Windows native (fonctionnant sans .NET) et compatible Linux ! Et donc par définition Android ! Et bien sûr même MAC OSX ! Very Happy 
    Et comme Unix System Torvald est GRATUIT et LIBRE cela permettra de faire fonctionner Mantrix, toujours sur une base CPCDOS, nativement mélangeant du coups... MandrevCore Kernel + CPCDOS Kernel + Unix Kernel...  sunny  king 

    Donc récap (en vert déjà réussi / en orange en cours de dev ou test / en rouge ça bug ou pas encore fait amusé) : 

    1 - On fait l'appli en VB.NET avec SZ 2012
    2 - Exportation sous VS 2010
    2b - Transformation du projet VS 2010 VB.NET en C#.NET (utiliser Telerik JustDecompile pour ça !)
    3 - Ouverture de IL-Compilator
    4 - Transformation du code source C#.NET (en gros votre projet ou Mantrix) avec IL-Compilator en code source IL (langage machine)
    5 - Extraction des plugins SZ et .NET : transformation également en code source IL [80% => bug sur le .NET 4.0 un peut]
    6 - Transformation de l'IL en C/C++ natif [testé avec une appli VB.NET devenu IL en mode Console : 90% ok]
    7 - Intégration du .NET et plugins SZ en code source IL en liaison avec le projet actuel soit Mantrix [0% => Je ne sais pas encore faire pour dire au code IL de ce lié à tel librairie... pire que l'ASM ce truc !]
    8 - Compilation avec un logiciel prenant en charge tout les OS (Code::Blocks ? ou un autre prenant en charge le natif C/C++)
    9 - On choisi la base de l'OS capable de le lire (Windows, Unix ou MAC OSX)
    10 - Profitez de votre appli d'origine VB.NET nativement sur n'importe quel OS de votre choix ! Very Happy 

    SEUL BEMOLE : La transformation copie les bases de Windows si elles sont utilisés (genre iexplorer.exe pour Internet Explorer) et plein de fichier .drv ou .dll contenus dans "System32" ; sans comptez le .NET Framework 4.0 ou 4.5 : ce qui fait que votre appli ne fera plus genre 3Mo mais 400Mo  What a Face 
    Et pour une fois cette procédure est 100% légal Very Happy Car le .NET est déjà transformer et non décompilé ou copier !! Very Happy 


    Si des gens sont intéressé je continue les essaies amusé
    PS : l'obscufaction (cryptage de l'appli avec SZ 2012) ne FONCTIONNE PAS en version IL : sa fera un très belle écran de la mort xD

    Et si vous me croyez pas (que je réussirai) voici des screenshots d'un test console Very Happy ! Le seul qu'a marché xD

    Avec SZ 2012 Pro : création d'une console qui dit "bonjour Veler Software !" : 

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 00112

    Code source VB.NET : 

    Code:
    Imports System
    Imports System.Diagnostics

    Namespace test
        Public Class Class1
            <DebuggerNonUserCode>
            Public Sub New()
                MyBase.New()
            End Sub

            Public Sub Main()
                Console.Title = "test"
                Console.WriteLine("Bonjour Veler Software !")
                Console.ReadKey(False)
            End Sub
        End Class
    End Namespace

    Ensuite... Transformation en C#.NET avec Telerik : 

    Code:
    using System;
    using System.Diagnostics;

    namespace test
    {
        public class Class1
        {
            [DebuggerNonUserCode]
            public Class1()
            {
            }

            public void Main()
            {
                Console.Title = "test";
                Console.WriteLine("Bonjour Veler Software !");
                Console.ReadKey(false);
            }
        }
    }

    Ensuite je regarde le lien d'importation : 

    using System;
    using System.Diagnostics;



    donc j'extrait la DLL "System" et "System.Diagnostics".
    Bien sur je prend aussi "mscorelib" (obligé pour les 'Objets' et les appels)
    Je la place dans le même projet sous Telerik.

    Ensuite je transforme tout d'un coups en langage machine IL : 

    Code:
    .class public auto ansi test.Class1
        extends [mscorlib]System.Object
    {
        .method public specialname rtspecialname instance void .ctor () cil managed
        {
            .custom instance void [mscorlib]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = (
                01 00 00 00
            )
            IL_0000: ldarg.0
            IL_0001: call instance void [mscorlib]System.Object::.ctor()
            IL_0006: ret
        }

        .method public instance void Main () cil managed
        {
            IL_0000: ldstr "test"
            IL_0005: call void [mscorlib]System.Console::set_Title(string)
            IL_000a: ldstr "Bonjour Veler Software !"
            IL_000f: call void [mscorlib]System.Console::WriteLine(string)
            IL_0014: ldc.i4.0
            IL_0015: call valuetype [mscorlib]System.ConsoleKeyInfo [mscorlib]System.Console::ReadKey(bool)
            IL_001a: pop
            IL_001b: ret
        }
    }
    La Reflexion (LD) est activé sous Telerik

    Petit extrait de la DLL "System" .NET 4.0 en langage IL : 

    Code:
    .class private auto ansi beforefieldinit Microsoft.Win32.Win32Native
        extends System.Object
    {
        .custom instance void System.Security.SuppressUnmanagedCodeSecurityAttribute::.ctor() = (
            01 00 00 00
        )
        .custom instance void System.Security.SecurityCriticalAttribute::.ctor() = (
            01 00 00 00
        )
        .field assembly static literal int32 KEY_QUERY_VALUE = int32(1)

        .field assembly static literal int32 KEY_SET_VALUE = int32(2)

        .field assembly static literal int32 KEY_CREATE_SUB_KEY = int32(4)

        .field assembly static literal int32 KEY_ENUMERATE_SUB_KEYS = int32(8)

        .field assembly static literal int32 KEY_NOTIFY = int32(16)

        .field assembly static literal int32 KEY_CREATE_LINK = int32(32)

        .field assembly static literal int32 KEY_READ = int32(131097)

        .field assembly static literal int32 KEY_WRITE = int32(131078)

        .field assembly static literal int32 KEY_WOW64_64KEY = int32(256)

        .field assembly static literal int32 KEY_WOW64_32KEY = int32(512)

        .field assembly static literal int32 REG_OPTION_NON_VOLATILE = int32(0)

        .field assembly static literal int32 REG_OPTION_VOLATILE = int32(1)

        .field assembly static literal int32 REG_OPTION_CREATE_LINK = int32(2)

        .field assembly static literal int32 REG_OPTION_BACKUP_RESTORE = int32(4)

        .field assembly static literal int32 REG_NONE = int32(0)

        .field assembly static literal int32 REG_SZ = int32(1)

        .field assembly static literal int32 REG_EXPAND_SZ = int32(2)

        .field assembly static literal int32 REG_BINARY = int32(3)

        .field assembly static literal int32 REG_DWORD = int32(4)

        .field assembly static literal int32 REG_DWORD_LITTLE_ENDIAN = int32(4)

        .field assembly static literal int32 REG_DWORD_BIG_ENDIAN = int32(5)

        .field assembly static literal int32 REG_LINK = int32(6)

        .field assembly static literal int32 REG_MULTI_SZ = int32(7)

        .field assembly static literal int32 REG_RESOURCE_LIST = int32(8)

        .field assembly static literal int32 REG_FULL_RESOURCE_DESCRIPTOR = int32(9)

        .field assembly static literal int32 REG_RESOURCE_REQUIREMENTS_LIST = int32(10)

        .field assembly static literal int32 REG_QWORD = int32(11)

        .field assembly static literal int32 HWND_BROADCAST = int32(65535)

        .field assembly static literal int32 WM_SETTINGCHANGE = int32(26)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_BLOCK_SIZE = uint32(16)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_SAME_PROCESS = uint32(0)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_CROSS_PROCESS = uint32(1)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_SAME_LOGON = uint32(2)

        .field assembly static literal int32 SECURITY_ANONYMOUS = int32(0)

        .field assembly static literal int32 SECURITY_SQOS_PRESENT = int32(1048576)

        .field assembly static literal string MICROSOFT_KERBEROS_NAME = "Kerberos"

        .field assembly static literal uint32 ANONYMOUS_LOGON_LUID = uint32(998)

        .field assembly static literal int32 SECURITY_ANONYMOUS_LOGON_RID = int32(7)

        .field assembly static literal int32 SECURITY_AUTHENTICATED_USER_RID = int32(11)

        .field assembly static literal int32 SECURITY_LOCAL_SYSTEM_RID = int32(18)

        .field assembly static literal int32 SECURITY_BUILTIN_DOMAIN_RID = int32(32)

        .field assembly static literal uint32 SE_PRIVILEGE_DISABLED = uint32(0)

        .field assembly static literal uint32 SE_PRIVILEGE_ENABLED_BY_DEFAULT = uint32(1)

        .field assembly static literal uint32 SE_PRIVILEGE_ENABLED = uint32(2)

        .field assembly static literal uint32 SE_PRIVILEGE_USED_FOR_ACCESS = uint32(2147483648)

        .field assembly static literal uint32 SE_GROUP_MANDATORY = uint32(1)

        .field assembly static literal uint32 SE_GROUP_ENABLED_BY_DEFAULT = uint32(2)

        .field assembly static literal uint32 SE_GROUP_ENABLED = uint32(4)

        .field assembly static literal uint32 SE_GROUP_OWNER = uint32(8)

        .field assembly static literal uint32 SE_GROUP_USE_FOR_DENY_ONLY = uint32(16)

        .field assembly static literal uint32 SE_GROUP_LOGON_ID = uint32(3221225472)

        .field assembly static literal uint32 SE_GROUP_RESOURCE = uint32(536870912)

        .field assembly static literal uint32 DUPLICATE_CLOSE_SOURCE = uint32(1)

        .field assembly static literal uint32 DUPLICATE_SAME_ACCESS = uint32(2)

        .field assembly static literal uint32 DUPLICATE_SAME_ATTRIBUTES = uint32(4)

        .field assembly static literal int32 TIME_ZONE_ID_INVALID = int32(-1)

        .field assembly static literal int32 TIME_ZONE_ID_UNKNOWN = int32(0)

        .field assembly static literal int32 TIME_ZONE_ID_STANDARD = int32(1)

        .field assembly static literal int32 TIME_ZONE_ID_DAYLIGHT = int32(2)

        .field assembly static literal int32 MAX_PATH = int32(260)

        .field assembly static literal int32 MUI_LANGUAGE_ID = int32(4)

        .field assembly static literal int32 MUI_LANGUAGE_NAME = int32(8)

        .field assembly static literal int32 MUI_PREFERRED_UI_LANGUAGES = int32(16)

        .field assembly static literal int32 MUI_INSTALLED_LANGUAGES = int32(32)

        .field assembly static literal int32 MUI_ALL_LANGUAGES = int32(64)

        .field assembly static literal int32 MUI_LANG_NEUTRAL_PE_FILE = int32(256)

        .field assembly static literal int32 MUI_NON_LANG_NEUTRAL_FILE = int32(512)

        .field assembly static literal int32 LOAD_LIBRARY_AS_DATAFILE = int32(2)

        .field assembly static literal int32 LOAD_STRING_MAX_LENGTH = int32(500)

        .field assembly static literal int32 READ_CONTROL = int32(131072)

        .field assembly static literal int32 SYNCHRONIZE = int32(1048576)

        .field assembly static literal int32 STANDARD_RIGHTS_READ = int32(131072)

        .field assembly static literal int32 STANDARD_RIGHTS_WRITE = int32(131072)

        .field assembly static literal int32 SEMAPHORE_MODIFY_STATE = int32(2)

        .field assembly static literal int32 EVENT_MODIFY_STATE = int32(2)

        .field assembly static literal int32 MUTEX_MODIFY_STATE = int32(1)

        .field assembly static literal int32 MUTEX_ALL_ACCESS = int32(2031617)

        .field assembly static literal int32 LMEM_FIXED = int32(0)

        .field assembly static literal int32 LMEM_ZEROINIT = int32(64)

        .field assembly static literal int32 LPTR = int32(64)

        .field assembly static literal string KERNEL32 = "kernel32.dll"

        .field assembly static literal string USER32 = "user32.dll"

        .field assembly static literal string ADVAPI32 = "advapi32.dll"

        .field assembly static literal string OLE32 = "ole32.dll"

        .field assembly static literal string OLEAUT32 = "oleaut32.dll"

        .field assembly static literal string SHFOLDER = "shfolder.dll"

        .field assembly static literal string SHIM = "mscoree.dll"

        .field assembly static literal string CRYPT32 = "crypt32.dll"

        .field assembly static literal string SECUR32 = "secur32.dll"

        .field assembly static literal string MSCORWKS = "clr.dll"

        .field assembly static literal string LSTRLENA = "lstrlenA"

        .field assembly static literal string LSTRLENW = "lstrlenW"

        .field assembly static literal string MOVEMEMORY = "RtlMoveMemory"

        .field assembly static literal string ZEROMEMORY = "RtlZeroMemory"

        .field assembly static literal int32 SEM_FAILCRITICALERRORS = int32(1)

        .field assembly static literal int32 FIND_STARTSWITH = int32(1048576)

        .field assembly static literal int32 FIND_ENDSWITH = int32(2097152)

        .field assembly static literal int32 FIND_FROMSTART = int32(4194304)

        .field assembly static literal int32 FIND_FROMEND = int32(8388608)

        .field assembly static literal int32 STD_INPUT_HANDLE = int32(-10)

        .field assembly static literal int32 STD_OUTPUT_HANDLE = int32(-11)

        .field assembly static literal int32 STD_ERROR_HANDLE = int32(-12)

        .field assembly static literal int32 CTRL_C_EVENT = int32(0)

        .field assembly static literal int32 CTRL_BREAK_EVENT = int32(1)

        .field assembly static literal int32 CTRL_CLOSE_EVENT = int32(2)

        .field assembly static literal int32 CTRL_LOGOFF_EVENT = int32(5)

        .field assembly static literal int32 CTRL_SHUTDOWN_EVENT = int32(6)

        .field assembly static literal int16 KEY_EVENT = int16(1)

        .field assembly static literal int32 FILE_TYPE_DISK = int32(1)

        .field assembly static literal int32 FILE_TYPE_CHAR = int32(2)

        .field assembly static literal int32 FILE_TYPE_PIPE = int32(3)

        .field assembly static literal int32 REPLACEFILE_WRITE_THROUGH = int32(1)

        .field assembly static literal int32 REPLACEFILE_IGNORE_MERGE_ERRORS = int32(2)

        .field private static literal int32 FORMAT_MESSAGE_IGNORE_INSERTS = int32(512)

        .field private static literal int32 FORMAT_MESSAGE_FROM_SYSTEM = int32(4096)

        .field private static literal int32 FORMAT_MESSAGE_ARGUMENT_ARRAY = int32(8192)

        .field assembly static literal int32 FILE_ATTRIBUTE_READONLY = int32(1)

        .field assembly static literal int32 FILE_ATTRIBUTE_DIRECTORY = int32(16)

        .field assembly static literal int32 FILE_ATTRIBUTE_REPARSE_POINT = int32(1024)

        .field assembly static literal int32 IO_REPARSE_TAG_MOUNT_POINT = int32(-1610612733)

        .field assembly static literal int32 PAGE_READWRITE = int32(4)

        .field assembly static literal int32 MEM_COMMIT = int32(4096)

        .field assembly static literal int32 MEM_RESERVE = int32(8192)

        .field assembly static literal int32 MEM_RELEASE = int32(32768)

        .field assembly static literal int32 MEM_FREE = int32(65536)

        .field assembly static literal int32 ERROR_SUCCESS = int32(0)

        .field assembly static literal int32 ERROR_INVALID_FUNCTION = int32(1)

        .field assembly static literal int32 ERROR_FILE_NOT_FOUND = int32(2)

        .field assembly static literal int32 ERROR_PATH_NOT_FOUND = int32(3)

        .field assembly static literal int32 ERROR_ACCESS_DENIED = int32(5)

        .field assembly static literal int32 ERROR_INVALID_HANDLE = int32(6)

        .field assembly static literal int32 ERROR_NOT_ENOUGH_MEMORY = int32(8)

        .field assembly static literal int32 ERROR_INVALID_DATA = int32(13)

        .field assembly static literal int32 ERROR_INVALID_DRIVE = int32(15)

        .field assembly static literal int32 ERROR_NO_MORE_FILES = int32(18)

        .field assembly static literal int32 ERROR_NOT_READY = int32(21)

        .field assembly static literal int32 ERROR_BAD_LENGTH = int32(24)

        .field assembly static literal int32 ERROR_SHARING_VIOLATION = int32(32)

        .field assembly static literal int32 ERROR_NOT_SUPPORTED = int32(50)

        .field assembly static literal int32 ERROR_FILE_EXISTS = int32(80)

        .field assembly static literal int32 ERROR_INVALID_PARAMETER = int32(87)

        .field assembly static literal int32 ERROR_CALL_NOT_IMPLEMENTED = int32(120)

        .field assembly static literal int32 ERROR_INSUFFICIENT_BUFFER = int32(122)

        .field assembly static literal int32 ERROR_INVALID_NAME = int32(123)

        .field assembly static literal int32 ERROR_BAD_PATHNAME = int32(161)

        .field assembly static literal int32 ERROR_ALREADY_EXISTS = int32(183)

        .field assembly static literal int32 ERROR_ENVVAR_NOT_FOUND = int32(203)

        .field assembly static literal int32 ERROR_FILENAME_EXCED_RANGE = int32(206)

        .field assembly static literal int32 ERROR_NO_DATA = int32(232)

        .field assembly static literal int32 ERROR_PIPE_NOT_CONNECTED = int32(233)

        .field assembly static literal int32 ERROR_MORE_DATA = int32(234)

        .field assembly static literal int32 ERROR_DIRECTORY = int32(267)

        .field assembly static literal int32 ERROR_OPERATION_ABORTED = int32(995)

        .field assembly static literal int32 ERROR_NO_TOKEN = int32(1008)

        .field assembly static literal int32 ERROR_DLL_INIT_FAILED = int32(1114)

        .field assembly static literal int32 ERROR_NON_ACCOUNT_SID = int32(1257)

        .field assembly static literal int32 ERROR_NOT_ALL_ASSIGNED = int32(1300)

        .field assembly static literal int32 ERROR_UNKNOWN_REVISION = int32(1305)

        .field assembly static literal int32 ERROR_INVALID_OWNER = int32(1307)

        .field assembly static literal int32 ERROR_INVALID_PRIMARY_GROUP = int32(1308)

        .field assembly static literal int32 ERROR_NO_SUCH_PRIVILEGE = int32(1313)

        .field assembly static literal int32 ERROR_PRIVILEGE_NOT_HELD = int32(1314)

        .field assembly static literal int32 ERROR_NONE_MAPPED = int32(1332)

        .field assembly static literal int32 ERROR_INVALID_ACL = int32(1336)

        .field assembly static literal int32 ERROR_INVALID_SID = int32(1337)

        .field assembly static literal int32 ERROR_INVALID_SECURITY_DESCR = int32(1338)

        .field assembly static literal int32 ERROR_BAD_IMPERSONATION_LEVEL = int32(1346)

        .field assembly static literal int32 ERROR_CANT_OPEN_ANONYMOUS = int32(1347)

        .field assembly static literal int32 ERROR_NO_SECURITY_ON_OBJECT = int32(1350)

        .field assembly static literal int32 ERROR_TRUSTED_RELATIONSHIP_FAILURE = int32(1789)

        .field assembly static literal uint32 STATUS_SUCCESS = uint32(0)

        .field assembly static literal uint32 STATUS_SOME_NOT_MAPPED = uint32(263)

        .field assembly static literal uint32 STATUS_NO_MEMORY = uint32(3221225495)

        .field assembly static literal uint32 STATUS_OBJECT_NAME_NOT_FOUND = uint32(3221225524)

        .field assembly static literal uint32 STATUS_NONE_MAPPED = uint32(3221225587)

        .field assembly static literal uint32 STATUS_INSUFFICIENT_RESOURCES = uint32(3221225626)

        .field assembly static literal uint32 STATUS_ACCESS_DENIED = uint32(3221225506)

        .field assembly static literal int32 INVALID_FILE_SIZE = int32(-1)

        .field assembly static literal int32 STATUS_ACCOUNT_RESTRICTION = int32(-1073741714)

        .field assembly static literal int32 LCID_SUPPORTED = int32(2)

        .field assembly static literal int32 ENABLE_PROCESSED_INPUT = int32(1)

        .field assembly static literal int32 ENABLE_LINE_INPUT = int32(2)

        .field assembly static literal int32 ENABLE_ECHO_INPUT = int32(4)

        .field assembly static literal int32 VER_PLATFORM_WIN32s = int32(0)

        .field assembly static literal int32 VER_PLATFORM_WIN32_WINDOWS = int32(1)

        .field assembly static literal int32 VER_PLATFORM_WIN32_NT = int32(2)

        .field assembly static literal int32 VER_PLATFORM_WINCE = int32(3)

        .field assembly static literal int32 VER_PLATFORM_UNIX = int32(10)

        .field assembly static literal int32 VER_PLATFORM_MACOSX = int32(11)

        .field assembly static literal int32 SHGFP_TYPE_CURRENT = int32(0)

        .field assembly static literal int32 UOI_FLAGS = int32(1)

        .field assembly static literal int32 WSF_VISIBLE = int32(1)

        .field assembly static literal int32 CSIDL_FLAG_CREATE = int32(32768)

        .field assembly static literal int32 CSIDL_FLAG_DONT_VERIFY = int32(16384)

        .field assembly static literal int32 CSIDL_ADMINTOOLS = int32(48)

        .field assembly static literal int32 CSIDL_CDBURN_AREA = int32(59)

        .field assembly static literal int32 CSIDL_COMMON_ADMINTOOLS = int32(47)

        .field assembly static literal int32 CSIDL_COMMON_DOCUMENTS = int32(46)

        .field assembly static literal int32 CSIDL_COMMON_MUSIC = int32(53)

        .field assembly static literal int32 CSIDL_COMMON_OEM_LINKS = int32(58)

        .field assembly static literal int32 CSIDL_COMMON_PICTURES = int32(54)

        .field assembly static literal int32 CSIDL_COMMON_STARTMENU = int32(22)

        .field assembly static literal int32 CSIDL_COMMON_PROGRAMS = int32(23)

        .field assembly static literal int32 CSIDL_COMMON_STARTUP = int32(24)

        .field assembly static literal int32 CSIDL_COMMON_DESKTOPDIRECTORY = int32(25)

        .field assembly static literal int32 CSIDL_COMMON_TEMPLATES = int32(45)

        .field assembly static literal int32 CSIDL_COMMON_VIDEO = int32(55)

        .field assembly static literal int32 CSIDL_FONTS = int32(20)

        .field assembly static literal int32 CSIDL_MYVIDEO = int32(14)

        .field assembly static literal int32 CSIDL_NETHOOD = int32(19)

        .field assembly static literal int32 CSIDL_PRINTHOOD = int32(27)

        .field assembly static literal int32 CSIDL_PROFILE = int32(40)

        .field assembly static literal int32 CSIDL_PROGRAM_FILES_COMMONX86 = int32(44)

        .field assembly static literal int32 CSIDL_PROGRAM_FILESX86 = int32(42)

        .field assembly static literal int32 CSIDL_RESOURCES = int32(56)

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetCurrentDirectory (
                string path
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") lasterr winapi) bool SetEndOfFile (
                class Microsoft.Win32.SafeHandles.SafeFileHandle hFile
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetEnvironmentVariable (
                string lpName,
                string lpValue
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") winapi) int32 SetErrorMode (
                int32 newMode
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") lasterr winapi) bool SetEvent (
                class Microsoft.Win32.SafeHandles.SafeWaitHandle handle
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetFileAttributes (
                string name,
                int32 attr
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static int64 SetFilePointer (
                class Microsoft.Win32.SafeHandles.SafeFileHandle handle,
                int64 offset,
                valuetype System.IO.SeekOrigin origin,
                [out] int32& hr
            ) cil managed
        {
            .custom instance void System.Security.SecurityCriticalAttribute::.ctor() = (
                01 00 00 00
            )
            .locals init (
                [0] int32 V_0,
                [1] int32 V_1,
                [2] int32 V_2
            )

            IL_0000: ldarg.3
            IL_0001: ldc.i4.0
            IL_0002: stind.i4
            IL_0003: ldarg.1
            IL_0004: conv.i4
            IL_0005: stloc.0
            IL_0006: ldarg.1
            IL_0007: ldc.i4.s 32
            IL_0009: shr
            IL_000a: conv.i4
            IL_000b: stloc.1
            IL_000c: ldarg.0
            IL_000d: ldloc.0
            IL_000e: ldloca.s V_1
            IL_0010: conv.u
            IL_0011: ldarg.2
            IL_0012: call int32 Microsoft.Win32.Win32Native::SetFilePointerWin32(class Microsoft.Win32.SafeHandles.SafeFileHandle,  int32,  int32*,  int32)
            IL_0017: stloc.0
            IL_0018: ldloc.0
            IL_0019: ldc.i4.m1
            IL_001a: bne.un.s IL_002b

            IL_001c: ldarg.3
            IL_001d: call int32 System.Runtime.InteropServices.Marshal::GetLastWin32Error()
            IL_0022: dup
            IL_0023: stloc.2
            IL_0024: stind.i4
            IL_0025: ldloc.2
            IL_0026: brfalse.s IL_002b

            IL_0028: ldc.i4.m1
            IL_0029: conv.i8
            IL_002a: ret

            IL_002b: ldloc.1
            IL_002c: conv.u8
            IL_002d: ldc.i4.s 32
            IL_002f: shl
            IL_0030: ldloc.0
            IL_0031: conv.u8
            IL_0032: or
            IL_0033: ret
        }

        .method private hidebysig static pinvokeimpl("kernel32.dll") as "SetFilePointer" lasterr winapi) int32 SetFilePointerWin32 (
                class Microsoft.Win32.SafeHandles.SafeFileHandle handle,
                int32 lo,
                int32* hi,
                int32 origin
            ) cil managed preservesig
    CE N'EST QU'UN PETIT PETIT TOUUUT PETIT EXTRAIT  pale 


    Sous IL-Compilator je vais importer le projet entier.
    Ensuite j'utilise IL-Compilator pour transformer tout ça en C/C++ natif : 

    Et voilà le résultat de la console en C/C++ natif : 

    Code:
    #include "Class1.h"

    using namespace System;

    namespace test
    {

       void Class1::Main()
       {
          //Cette fonction sera exécuté au démarrage du logiciel
          //avec une console Windows. Vous ne devez ni renommer
          //ni supprimer cette fonction, sans quoi le projet ne
          //pourra plus être généré correctement.
          //
          //This function will be executed on startup
          //with a Windows console. You should not rename
          //or remove this feature, otherwise the project
          //longer be generated correctly.
          Console->Title = L"test";
          std::cout << std::wstring(L"Bonjour Veler Software !") << std::endl;
          Console::ReadKey(false);
       }
    }

    Code:
    #pragma once

    #include <string>
    #include <iostream>

    using namespace System;

    namespace test
    {
       class Class1
       {

          //Fonction Main
       public:
          void Main();
       };

    }

    Et même Veler Plugin y est passé comme prévu ! Wink 
    Code IL du vidage de la console (Designer) : 
    OUI : Si vous souhaitez du NATIF à 100% VOUS devrez utiliser les plugins générales utilisés lors de la création de l'appli ! Me demander PAS pourquoi : J'EN SAIS RIEN  Embarassed  Twisted Evil  Razz  Rolling Eyes  Rolling Eyes  Rolling Eyes  Rolling Eyes  cyclops  mais ça fonctionnera pas sans... mystère... Si quelqu'un à la réponse mp moi  Laughing 

    Code:
    .class public auto ansi VelerSoftware.GeneralPlugin.Vider_Console
        extends [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action
    {
        .custom instance void [System]System.ComponentModel.DesignerAttribute::.ctor(class [mscorlib]System.Type) = (
            01 00 32 56 65 6c 65 72 53 6f 66 74 77 61 72 65
            2e 47 65 6e 65 72 61 6c 50 6c 75 67 69 6e 2e 56
            69 64 65 72 5f 43 6f 6e 73 6f 6c 65 5f 44 65 73
            69 67 6e 65 72 00 00
        )
        .method public specialname rtspecialname instance void .ctor () cil managed
        {
            .locals init (
                [0] class VelerSoftware.GeneralPlugin.Vider_Console V_0
            )

            IL_0000: ldarg.0
            IL_0001: call instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::.ctor()
            IL_0006: call class [mscorlib]System.Threading.Thread [mscorlib]System.Threading.Thread::get_CurrentThread()
            IL_000b: ldsfld class [mscorlib]System.Globalization.CultureInfo [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Other::CurrentCulture
            IL_0010: callvirt instance void [mscorlib]System.Threading.Thread::set_CurrentUICulture(class [mscorlib]System.Globalization.CultureInfo)
            IL_0015: ldstr "VelerSoftware.GeneralPlugin.Vider_Console"
            IL_001a: ldtoken VelerSoftware.GeneralPlugin.Vider_Console
            IL_001f: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
            IL_0024: callvirt instance class [mscorlib]System.Reflection.Assembly [mscorlib]System.Type::get_Assembly()
            IL_0029: newobj instance void [mscorlib]System.Resources.ResourceManager::.ctor(string,  class [mscorlib]System.Reflection.Assembly)
            IL_002e: stsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0033: ldarg.0
            IL_0034: stloc.0
            IL_0035: ldloc.0
            IL_0036: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_003b: ldstr "DisplayName"
            IL_0040: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_0045: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_DisplayName(string)
            IL_004a: ldloc.0
            IL_004b: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0050: ldstr "Description"
            IL_0055: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_005a: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_Description(string)
            IL_005f: ldloc.0
            IL_0060: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0065: ldstr "Category"
            IL_006a: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_006f: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_Category(string)
            IL_0074: ldloc.0
            IL_0075: call class [System.Drawing]System.Drawing.Bitmap VelerSoftware.GeneralPlugin.My.Resources.Resources::get_vider_console()
            IL_007a: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_ToolBoxImage(class [System.Drawing]System.Drawing.Image)
            IL_007f: ldloc.0
            IL_0080: ldc.i4.0
            IL_0081: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_CompatibleClass(bool)
            IL_0086: ldloc.0
            IL_0087: ldc.i4.1
            IL_0088: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_CompatibleFonctions(bool)
            IL_008d: ldloc.0
            IL_008e: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0093: ldstr "Help_File"
            IL_0098: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_009d: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_FileHelp(string)
            IL_00a2: ldloc.0
            IL_00a3: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00a8: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00ad: ldstr "Dictionary1"
            IL_00b2: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00b7: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00bc: ldloc.0
            IL_00bd: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00c2: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00c7: ldstr "Dictionary2"
            IL_00cc: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00d1: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00d6: ldloc.0
            IL_00d7: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00dc: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00e1: ldstr "Dictionary3"
            IL_00e6: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00eb: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00f0: ldnull
            IL_00f1: stloc.0
            IL_00f2: ret
        }

        .method public strict virtual instance class [System]System.CodeDom.CodeObject GetVBCode (
                bool FromFunction
            ) cil managed
        {
            .locals init (
                [0] class [System]System.CodeDom.CodeObject V_0
            )

            IL_0000: ldarg.0
            IL_0001: callvirt instance bool [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_UseCustomVBCode()
            IL_0006: brfalse.s IL_000f

            IL_0008: ldarg.0
            IL_0009: callvirt instance class [System]System.CodeDom.CodeObject [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_CustomVBCode()
            IL_000e: ret

            IL_000f: ldarg.1
            IL_0010: brfalse.s IL_0032

            IL_0012: ldstr "System.Console"
            IL_0017: newobj instance void [System]System.CodeDom.CodeTypeReferenceExpression::.ctor(string)
            IL_001c: ldstr "Clear"
            IL_0021: newobj instance void [System]System.CodeDom.CodeMethodReferenceExpression::.ctor(class [System]System.CodeDom.CodeExpression,  string)
            IL_0026: ldc.i4.0
            IL_0027: newarr [System]System.CodeDom.CodeExpression
            IL_002c: newobj instance void [System]System.CodeDom.CodeMethodInvokeExpression::.ctor(class [System]System.CodeDom.CodeMethodReferenceExpression,  class [System]System.CodeDom.CodeExpression[])
            IL_0031: ret

            IL_0032: ldnull
            IL_0033: ret
        }

        .method public strict virtual instance bool Main () cil managed
        {
            .locals init (
                [0] bool V_0
            )

            IL_0000: ldc.i4.1
            IL_0001: ret
        }

        .method public strict virtual instance bool Modify () cil managed
        {
            .locals init (
                [0] bool V_0
            )

            IL_0000: ldc.i4.0
            IL_0001: ret
        }

        .method public strict virtual instance bool ResolveError (
                class [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur ErrorToResole,
                class [mscorlib]System.EventArgs e
            ) cil managed
        {
            .locals init (
                [0] int32 V_0,
                [1] int32 V_1,
                [2] bool V_2,
                [3] bool V_3
            )

            IL_0000: ldc.i4.0
            IL_0001: stloc.1
            IL_0002: ldc.i4.0
            IL_0003: stloc.0
            IL_0004: call class [mscorlib]System.Threading.Thread [mscorlib]System.Threading.Thread::get_CurrentThread()
            IL_0009: ldsfld class [mscorlib]System.Globalization.CultureInfo [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Other::CurrentCulture
            IL_000e: callvirt instance void [mscorlib]System.Threading.Thread::set_CurrentUICulture(class [mscorlib]System.Globalization.CultureInfo)
            IL_0013: ldstr "VelerSoftware.GeneralPlugin.Vider_Console"
            IL_0018: ldtoken VelerSoftware.GeneralPlugin.Vider_Console
            IL_001d: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
            IL_0022: callvirt instance class [mscorlib]System.Reflection.Assembly [mscorlib]System.Type::get_Assembly()
            IL_0027: newobj instance void [mscorlib]System.Resources.ResourceManager::.ctor(string,  class [mscorlib]System.Reflection.Assembly)
            IL_002c: stsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0031: ldarg.1
            IL_0032: callvirt instance valuetype [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur/ErrorType [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur::get_Type()
            IL_0037: ldc.i4.0
            IL_0038: bne.un.s IL_003c

            IL_003a: ldc.i4.0
            IL_003b: ret

            IL_003c: ldloc.3
            IL_003d: ret
        }
    }

    Et son code C++ natif une fois transformé : 

    Code:
    //.h file code:

    namespace VelerSoftware
    {
       namespace GeneralPlugin
       {
          class Vider_Console_Designer : public ActivityDesigner
          {
          public:
             Vider_Console_Designer();
          };
       }
    }

    //.cpp file code:

    namespace VelerSoftware
    {
       namespace GeneralPlugin
       {

          Vider_Console_Designer::Vider_Console_Designer() : ActivityDesigner()
          {
             this->InitializeComponent();
          }
       }
    }

    Et voilà Very Happy Reste à trouver le bon logiciel pour compiler ça en natif amusé
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Jeu 23 Jan 2014 - 22:11

    Petit oubli (je vais pas éditer mon gros message du dessus... sa passe plus en nombres de lignes xD) : 
    Vous devrez disposer du SDK Windows (gratuit) pour utiliser IL-Compiler (appelé aussi ILAsm sur la toile)
    http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe (si toujours valide)
    lereparateurdepc
    lereparateurdepc



    Masculin Nombre de messages : 5621
    Age : 31
    Localisation : Calvados
    Emploi/loisirs : Electrotechnicien / électricité, HAUTE TENSION, électronique, informatique, automatisme , Arduino, bref le BRICOLAGE , ...
    Humeur : toujours cool
    Date d'inscription : 31/01/2010

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par lereparateurdepc Ven 24 Jan 2014 - 5:46

    Re,

    ça en fait du boulot.....

    Pour le PGCD bah faut déjà que je m'en rappelle....

    Cordialement,
    Le réparateur de PC
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Ven 24 Jan 2014 - 6:56

    tout simplement  affraid
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Ven 24 Jan 2014 - 23:20

    fandeonepiece2 a écrit:tout simplement  affraid
    Non t'inquiète c'est assez simple en réalité Smile 
    Toi faire projet SZ 2012 puis Exportation VS 2010. Ensuite download le logiciel Telerik : on transforme le projet en C#.NET.
    On utilise IL pour créer un projet compilable. Depuis les bases IL que ta du coups tu transforme ça en C/C++ natif.
    Tu trouve le bon logiciel capable de transformer tout ça en .exe ou autre selon l'OS grâce à Windows SDK (et pas "D.S.K" haha...... Razz ........ ok je sort  geek )
    Et enfin tu la test sur un Windows sans .NET 4.0 et hop ça marche x)
    Seul bémole comme j'ai dit c'est que seul les applis Console fonctionne pour l'heure Sad
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Ven 24 Jan 2014 - 23:58

    bonjour,
    c'est déjà pas mal
    cordialement
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Sam 25 Jan 2014 - 11:40

    Oui mais bon :/ J essayerai de trouver un moyen de faire ça pour les applications Windows Form.
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Sam 25 Jan 2014 - 18:51

    bonjour,
    peut tu mettre un lien pour télécharger chaque logiciel
    pour le SDK windows et Telerik c'est déjà OK
    ou puis je trouver IL COMPILATOR ?
    cordialement
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Sam 25 Jan 2014 - 22:40

    Il Compilator c'est ILAsm fournis avec le SDK de Windows
    Sinon il existe d'autres méthodes de l'avoir ^^ mais c'est mieux de passer par le SDK Windows.
    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Sam 25 Jan 2014 - 23:32

    Blackorion35 a écrit:[quote=[...]]

    Et si vous me croyez pas (que je réussirai) voici des screenshots d'un test console Very Happy ! Le seul qu'a marché xD

    Avec SZ 2012 Pro : création d'une console qui dit "bonjour Veler Software !" : FAIT

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 00112

    Code source VB.NET : FAIT

    Code:
    Imports System
    Imports System.Diagnostics

    Namespace test
        Public Class Class1
            <DebuggerNonUserCode>
            Public Sub New()
                MyBase.New()
            End Sub

            Public Sub Main()
                Console.Title = "test"
                Console.WriteLine("Bonjour Veler Software !")
                Console.ReadKey(False)
            End Sub
        End Class
    End Namespace

    Ensuite... Transformation en C#.NET avec Telerik : FAIT

    Code:
    using System;
    using System.Diagnostics;

    namespace test
    {
        public class Class1
        {
            [DebuggerNonUserCode]
            public Class1()
            {
            }

            public void Main()
            {
                Console.Title = "test";
                Console.WriteLine("Bonjour Veler Software !");
                Console.ReadKey(false);
            }
        }
    }

    Ensuite je regarde le lien d'importation : 

    using System;
    using System.Diagnostics;



    donc j'extrait la DLL "System" et "System.Diagnostics".
    Bien sur je prend aussi "mscorelib" (obligé pour les 'Objets' et les appels)
    Je la place dans le même projet sous Telerik.Comment ?

    Ensuite je transforme tout d'un coups en langage machine IL : Je sais le faire

    Code:
    .class public auto ansi test.Class1
        extends [mscorlib]System.Object
    {
        .method public specialname rtspecialname instance void .ctor () cil managed
        {
            .custom instance void [mscorlib]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = (
                01 00 00 00
            )
            IL_0000: ldarg.0
            IL_0001: call instance void [mscorlib]System.Object::.ctor()
            IL_0006: ret
        }

        .method public instance void Main () cil managed
        {
            IL_0000: ldstr "test"
            IL_0005: call void [mscorlib]System.Console::set_Title(string)
            IL_000a: ldstr "Bonjour Veler Software !"
            IL_000f: call void [mscorlib]System.Console::WriteLine(string)
            IL_0014: ldc.i4.0
            IL_0015: call valuetype [mscorlib]System.ConsoleKeyInfo [mscorlib]System.Console::ReadKey(bool)
            IL_001a: pop
            IL_001b: ret
        }
    }
    La Reflexion (LD) est activé sous Telerik

    Petit extrait de la DLL "System" .NET 4.0 en langage IL : 

    Code:
    .class private auto ansi beforefieldinit Microsoft.Win32.Win32Native
        extends System.Object
    {
        .custom instance void System.Security.SuppressUnmanagedCodeSecurityAttribute::.ctor() = (
            01 00 00 00
        )
        .custom instance void System.Security.SecurityCriticalAttribute::.ctor() = (
            01 00 00 00
        )
        .field assembly static literal int32 KEY_QUERY_VALUE = int32(1)

        .field assembly static literal int32 KEY_SET_VALUE = int32(2)

        .field assembly static literal int32 KEY_CREATE_SUB_KEY = int32(4)

        .field assembly static literal int32 KEY_ENUMERATE_SUB_KEYS = int32(8)

        .field assembly static literal int32 KEY_NOTIFY = int32(16)

        .field assembly static literal int32 KEY_CREATE_LINK = int32(32)

        .field assembly static literal int32 KEY_READ = int32(131097)

        .field assembly static literal int32 KEY_WRITE = int32(131078)

        .field assembly static literal int32 KEY_WOW64_64KEY = int32(256)

        .field assembly static literal int32 KEY_WOW64_32KEY = int32(512)

        .field assembly static literal int32 REG_OPTION_NON_VOLATILE = int32(0)

        .field assembly static literal int32 REG_OPTION_VOLATILE = int32(1)

        .field assembly static literal int32 REG_OPTION_CREATE_LINK = int32(2)

        .field assembly static literal int32 REG_OPTION_BACKUP_RESTORE = int32(4)

        .field assembly static literal int32 REG_NONE = int32(0)

        .field assembly static literal int32 REG_SZ = int32(1)

        .field assembly static literal int32 REG_EXPAND_SZ = int32(2)

        .field assembly static literal int32 REG_BINARY = int32(3)

        .field assembly static literal int32 REG_DWORD = int32(4)

        .field assembly static literal int32 REG_DWORD_LITTLE_ENDIAN = int32(4)

        .field assembly static literal int32 REG_DWORD_BIG_ENDIAN = int32(5)

        .field assembly static literal int32 REG_LINK = int32(6)

        .field assembly static literal int32 REG_MULTI_SZ = int32(7)

        .field assembly static literal int32 REG_RESOURCE_LIST = int32(8)

        .field assembly static literal int32 REG_FULL_RESOURCE_DESCRIPTOR = int32(9)

        .field assembly static literal int32 REG_RESOURCE_REQUIREMENTS_LIST = int32(10)

        .field assembly static literal int32 REG_QWORD = int32(11)

        .field assembly static literal int32 HWND_BROADCAST = int32(65535)

        .field assembly static literal int32 WM_SETTINGCHANGE = int32(26)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_BLOCK_SIZE = uint32(16)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_SAME_PROCESS = uint32(0)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_CROSS_PROCESS = uint32(1)

        .field assembly static literal uint32 CRYPTPROTECTMEMORY_SAME_LOGON = uint32(2)

        .field assembly static literal int32 SECURITY_ANONYMOUS = int32(0)

        .field assembly static literal int32 SECURITY_SQOS_PRESENT = int32(1048576)

        .field assembly static literal string MICROSOFT_KERBEROS_NAME = "Kerberos"

        .field assembly static literal uint32 ANONYMOUS_LOGON_LUID = uint32(998)

        .field assembly static literal int32 SECURITY_ANONYMOUS_LOGON_RID = int32(7)

        .field assembly static literal int32 SECURITY_AUTHENTICATED_USER_RID = int32(11)

        .field assembly static literal int32 SECURITY_LOCAL_SYSTEM_RID = int32(18)

        .field assembly static literal int32 SECURITY_BUILTIN_DOMAIN_RID = int32(32)

        .field assembly static literal uint32 SE_PRIVILEGE_DISABLED = uint32(0)

        .field assembly static literal uint32 SE_PRIVILEGE_ENABLED_BY_DEFAULT = uint32(1)

        .field assembly static literal uint32 SE_PRIVILEGE_ENABLED = uint32(2)

        .field assembly static literal uint32 SE_PRIVILEGE_USED_FOR_ACCESS = uint32(2147483648)

        .field assembly static literal uint32 SE_GROUP_MANDATORY = uint32(1)

        .field assembly static literal uint32 SE_GROUP_ENABLED_BY_DEFAULT = uint32(2)

        .field assembly static literal uint32 SE_GROUP_ENABLED = uint32(4)

        .field assembly static literal uint32 SE_GROUP_OWNER = uint32(8)

        .field assembly static literal uint32 SE_GROUP_USE_FOR_DENY_ONLY = uint32(16)

        .field assembly static literal uint32 SE_GROUP_LOGON_ID = uint32(3221225472)

        .field assembly static literal uint32 SE_GROUP_RESOURCE = uint32(536870912)

        .field assembly static literal uint32 DUPLICATE_CLOSE_SOURCE = uint32(1)

        .field assembly static literal uint32 DUPLICATE_SAME_ACCESS = uint32(2)

        .field assembly static literal uint32 DUPLICATE_SAME_ATTRIBUTES = uint32(4)

        .field assembly static literal int32 TIME_ZONE_ID_INVALID = int32(-1)

        .field assembly static literal int32 TIME_ZONE_ID_UNKNOWN = int32(0)

        .field assembly static literal int32 TIME_ZONE_ID_STANDARD = int32(1)

        .field assembly static literal int32 TIME_ZONE_ID_DAYLIGHT = int32(2)

        .field assembly static literal int32 MAX_PATH = int32(260)

        .field assembly static literal int32 MUI_LANGUAGE_ID = int32(4)

        .field assembly static literal int32 MUI_LANGUAGE_NAME = int32(8)

        .field assembly static literal int32 MUI_PREFERRED_UI_LANGUAGES = int32(16)

        .field assembly static literal int32 MUI_INSTALLED_LANGUAGES = int32(32)

        .field assembly static literal int32 MUI_ALL_LANGUAGES = int32(64)

        .field assembly static literal int32 MUI_LANG_NEUTRAL_PE_FILE = int32(256)

        .field assembly static literal int32 MUI_NON_LANG_NEUTRAL_FILE = int32(512)

        .field assembly static literal int32 LOAD_LIBRARY_AS_DATAFILE = int32(2)

        .field assembly static literal int32 LOAD_STRING_MAX_LENGTH = int32(500)

        .field assembly static literal int32 READ_CONTROL = int32(131072)

        .field assembly static literal int32 SYNCHRONIZE = int32(1048576)

        .field assembly static literal int32 STANDARD_RIGHTS_READ = int32(131072)

        .field assembly static literal int32 STANDARD_RIGHTS_WRITE = int32(131072)

        .field assembly static literal int32 SEMAPHORE_MODIFY_STATE = int32(2)

        .field assembly static literal int32 EVENT_MODIFY_STATE = int32(2)

        .field assembly static literal int32 MUTEX_MODIFY_STATE = int32(1)

        .field assembly static literal int32 MUTEX_ALL_ACCESS = int32(2031617)

        .field assembly static literal int32 LMEM_FIXED = int32(0)

        .field assembly static literal int32 LMEM_ZEROINIT = int32(64)

        .field assembly static literal int32 LPTR = int32(64)

        .field assembly static literal string KERNEL32 = "kernel32.dll"

        .field assembly static literal string USER32 = "user32.dll"

        .field assembly static literal string ADVAPI32 = "advapi32.dll"

        .field assembly static literal string OLE32 = "ole32.dll"

        .field assembly static literal string OLEAUT32 = "oleaut32.dll"

        .field assembly static literal string SHFOLDER = "shfolder.dll"

        .field assembly static literal string SHIM = "mscoree.dll"

        .field assembly static literal string CRYPT32 = "crypt32.dll"

        .field assembly static literal string SECUR32 = "secur32.dll"

        .field assembly static literal string MSCORWKS = "clr.dll"

        .field assembly static literal string LSTRLENA = "lstrlenA"

        .field assembly static literal string LSTRLENW = "lstrlenW"

        .field assembly static literal string MOVEMEMORY = "RtlMoveMemory"

        .field assembly static literal string ZEROMEMORY = "RtlZeroMemory"

        .field assembly static literal int32 SEM_FAILCRITICALERRORS = int32(1)

        .field assembly static literal int32 FIND_STARTSWITH = int32(1048576)

        .field assembly static literal int32 FIND_ENDSWITH = int32(2097152)

        .field assembly static literal int32 FIND_FROMSTART = int32(4194304)

        .field assembly static literal int32 FIND_FROMEND = int32(8388608)

        .field assembly static literal int32 STD_INPUT_HANDLE = int32(-10)

        .field assembly static literal int32 STD_OUTPUT_HANDLE = int32(-11)

        .field assembly static literal int32 STD_ERROR_HANDLE = int32(-12)

        .field assembly static literal int32 CTRL_C_EVENT = int32(0)

        .field assembly static literal int32 CTRL_BREAK_EVENT = int32(1)

        .field assembly static literal int32 CTRL_CLOSE_EVENT = int32(2)

        .field assembly static literal int32 CTRL_LOGOFF_EVENT = int32(5)

        .field assembly static literal int32 CTRL_SHUTDOWN_EVENT = int32(6)

        .field assembly static literal int16 KEY_EVENT = int16(1)

        .field assembly static literal int32 FILE_TYPE_DISK = int32(1)

        .field assembly static literal int32 FILE_TYPE_CHAR = int32(2)

        .field assembly static literal int32 FILE_TYPE_PIPE = int32(3)

        .field assembly static literal int32 REPLACEFILE_WRITE_THROUGH = int32(1)

        .field assembly static literal int32 REPLACEFILE_IGNORE_MERGE_ERRORS = int32(2)

        .field private static literal int32 FORMAT_MESSAGE_IGNORE_INSERTS = int32(512)

        .field private static literal int32 FORMAT_MESSAGE_FROM_SYSTEM = int32(4096)

        .field private static literal int32 FORMAT_MESSAGE_ARGUMENT_ARRAY = int32(8192)

        .field assembly static literal int32 FILE_ATTRIBUTE_READONLY = int32(1)

        .field assembly static literal int32 FILE_ATTRIBUTE_DIRECTORY = int32(16)

        .field assembly static literal int32 FILE_ATTRIBUTE_REPARSE_POINT = int32(1024)

        .field assembly static literal int32 IO_REPARSE_TAG_MOUNT_POINT = int32(-1610612733)

        .field assembly static literal int32 PAGE_READWRITE = int32(4)

        .field assembly static literal int32 MEM_COMMIT = int32(4096)

        .field assembly static literal int32 MEM_RESERVE = int32(8192)

        .field assembly static literal int32 MEM_RELEASE = int32(32768)

        .field assembly static literal int32 MEM_FREE = int32(65536)

        .field assembly static literal int32 ERROR_SUCCESS = int32(0)

        .field assembly static literal int32 ERROR_INVALID_FUNCTION = int32(1)

        .field assembly static literal int32 ERROR_FILE_NOT_FOUND = int32(2)

        .field assembly static literal int32 ERROR_PATH_NOT_FOUND = int32(3)

        .field assembly static literal int32 ERROR_ACCESS_DENIED = int32(5)

        .field assembly static literal int32 ERROR_INVALID_HANDLE = int32(6)

        .field assembly static literal int32 ERROR_NOT_ENOUGH_MEMORY = int32(8)

        .field assembly static literal int32 ERROR_INVALID_DATA = int32(13)

        .field assembly static literal int32 ERROR_INVALID_DRIVE = int32(15)

        .field assembly static literal int32 ERROR_NO_MORE_FILES = int32(18)

        .field assembly static literal int32 ERROR_NOT_READY = int32(21)

        .field assembly static literal int32 ERROR_BAD_LENGTH = int32(24)

        .field assembly static literal int32 ERROR_SHARING_VIOLATION = int32(32)

        .field assembly static literal int32 ERROR_NOT_SUPPORTED = int32(50)

        .field assembly static literal int32 ERROR_FILE_EXISTS = int32(80)

        .field assembly static literal int32 ERROR_INVALID_PARAMETER = int32(87)

        .field assembly static literal int32 ERROR_CALL_NOT_IMPLEMENTED = int32(120)

        .field assembly static literal int32 ERROR_INSUFFICIENT_BUFFER = int32(122)

        .field assembly static literal int32 ERROR_INVALID_NAME = int32(123)

        .field assembly static literal int32 ERROR_BAD_PATHNAME = int32(161)

        .field assembly static literal int32 ERROR_ALREADY_EXISTS = int32(183)

        .field assembly static literal int32 ERROR_ENVVAR_NOT_FOUND = int32(203)

        .field assembly static literal int32 ERROR_FILENAME_EXCED_RANGE = int32(206)

        .field assembly static literal int32 ERROR_NO_DATA = int32(232)

        .field assembly static literal int32 ERROR_PIPE_NOT_CONNECTED = int32(233)

        .field assembly static literal int32 ERROR_MORE_DATA = int32(234)

        .field assembly static literal int32 ERROR_DIRECTORY = int32(267)

        .field assembly static literal int32 ERROR_OPERATION_ABORTED = int32(995)

        .field assembly static literal int32 ERROR_NO_TOKEN = int32(1008)

        .field assembly static literal int32 ERROR_DLL_INIT_FAILED = int32(1114)

        .field assembly static literal int32 ERROR_NON_ACCOUNT_SID = int32(1257)

        .field assembly static literal int32 ERROR_NOT_ALL_ASSIGNED = int32(1300)

        .field assembly static literal int32 ERROR_UNKNOWN_REVISION = int32(1305)

        .field assembly static literal int32 ERROR_INVALID_OWNER = int32(1307)

        .field assembly static literal int32 ERROR_INVALID_PRIMARY_GROUP = int32(1308)

        .field assembly static literal int32 ERROR_NO_SUCH_PRIVILEGE = int32(1313)

        .field assembly static literal int32 ERROR_PRIVILEGE_NOT_HELD = int32(1314)

        .field assembly static literal int32 ERROR_NONE_MAPPED = int32(1332)

        .field assembly static literal int32 ERROR_INVALID_ACL = int32(1336)

        .field assembly static literal int32 ERROR_INVALID_SID = int32(1337)

        .field assembly static literal int32 ERROR_INVALID_SECURITY_DESCR = int32(1338)

        .field assembly static literal int32 ERROR_BAD_IMPERSONATION_LEVEL = int32(1346)

        .field assembly static literal int32 ERROR_CANT_OPEN_ANONYMOUS = int32(1347)

        .field assembly static literal int32 ERROR_NO_SECURITY_ON_OBJECT = int32(1350)

        .field assembly static literal int32 ERROR_TRUSTED_RELATIONSHIP_FAILURE = int32(1789)

        .field assembly static literal uint32 STATUS_SUCCESS = uint32(0)

        .field assembly static literal uint32 STATUS_SOME_NOT_MAPPED = uint32(263)

        .field assembly static literal uint32 STATUS_NO_MEMORY = uint32(3221225495)

        .field assembly static literal uint32 STATUS_OBJECT_NAME_NOT_FOUND = uint32(3221225524)

        .field assembly static literal uint32 STATUS_NONE_MAPPED = uint32(3221225587)

        .field assembly static literal uint32 STATUS_INSUFFICIENT_RESOURCES = uint32(3221225626)

        .field assembly static literal uint32 STATUS_ACCESS_DENIED = uint32(3221225506)

        .field assembly static literal int32 INVALID_FILE_SIZE = int32(-1)

        .field assembly static literal int32 STATUS_ACCOUNT_RESTRICTION = int32(-1073741714)

        .field assembly static literal int32 LCID_SUPPORTED = int32(2)

        .field assembly static literal int32 ENABLE_PROCESSED_INPUT = int32(1)

        .field assembly static literal int32 ENABLE_LINE_INPUT = int32(2)

        .field assembly static literal int32 ENABLE_ECHO_INPUT = int32(4)

        .field assembly static literal int32 VER_PLATFORM_WIN32s = int32(0)

        .field assembly static literal int32 VER_PLATFORM_WIN32_WINDOWS = int32(1)

        .field assembly static literal int32 VER_PLATFORM_WIN32_NT = int32(2)

        .field assembly static literal int32 VER_PLATFORM_WINCE = int32(3)

        .field assembly static literal int32 VER_PLATFORM_UNIX = int32(10)

        .field assembly static literal int32 VER_PLATFORM_MACOSX = int32(11)

        .field assembly static literal int32 SHGFP_TYPE_CURRENT = int32(0)

        .field assembly static literal int32 UOI_FLAGS = int32(1)

        .field assembly static literal int32 WSF_VISIBLE = int32(1)

        .field assembly static literal int32 CSIDL_FLAG_CREATE = int32(32768)

        .field assembly static literal int32 CSIDL_FLAG_DONT_VERIFY = int32(16384)

        .field assembly static literal int32 CSIDL_ADMINTOOLS = int32(48)

        .field assembly static literal int32 CSIDL_CDBURN_AREA = int32(59)

        .field assembly static literal int32 CSIDL_COMMON_ADMINTOOLS = int32(47)

        .field assembly static literal int32 CSIDL_COMMON_DOCUMENTS = int32(46)

        .field assembly static literal int32 CSIDL_COMMON_MUSIC = int32(53)

        .field assembly static literal int32 CSIDL_COMMON_OEM_LINKS = int32(58)

        .field assembly static literal int32 CSIDL_COMMON_PICTURES = int32(54)

        .field assembly static literal int32 CSIDL_COMMON_STARTMENU = int32(22)

        .field assembly static literal int32 CSIDL_COMMON_PROGRAMS = int32(23)

        .field assembly static literal int32 CSIDL_COMMON_STARTUP = int32(24)

        .field assembly static literal int32 CSIDL_COMMON_DESKTOPDIRECTORY = int32(25)

        .field assembly static literal int32 CSIDL_COMMON_TEMPLATES = int32(45)

        .field assembly static literal int32 CSIDL_COMMON_VIDEO = int32(55)

        .field assembly static literal int32 CSIDL_FONTS = int32(20)

        .field assembly static literal int32 CSIDL_MYVIDEO = int32(14)

        .field assembly static literal int32 CSIDL_NETHOOD = int32(19)

        .field assembly static literal int32 CSIDL_PRINTHOOD = int32(27)

        .field assembly static literal int32 CSIDL_PROFILE = int32(40)

        .field assembly static literal int32 CSIDL_PROGRAM_FILES_COMMONX86 = int32(44)

        .field assembly static literal int32 CSIDL_PROGRAM_FILESX86 = int32(42)

        .field assembly static literal int32 CSIDL_RESOURCES = int32(56)

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetCurrentDirectory (
                string path
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") lasterr winapi) bool SetEndOfFile (
                class Microsoft.Win32.SafeHandles.SafeFileHandle hFile
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetEnvironmentVariable (
                string lpName,
                string lpValue
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") winapi) int32 SetErrorMode (
                int32 newMode
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") lasterr winapi) bool SetEvent (
                class Microsoft.Win32.SafeHandles.SafeWaitHandle handle
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static pinvokeimpl("kernel32.dll") autochar lasterr winapi) bool SetFileAttributes (
                string name,
                int32 attr
            ) cil managed preservesig
        {
        }

        .method assembly hidebysig static int64 SetFilePointer (
                class Microsoft.Win32.SafeHandles.SafeFileHandle handle,
                int64 offset,
                valuetype System.IO.SeekOrigin origin,
                [out] int32& hr
            ) cil managed
        {
            .custom instance void System.Security.SecurityCriticalAttribute::.ctor() = (
                01 00 00 00
            )
            .locals init (
                [0] int32 V_0,
                [1] int32 V_1,
                [2] int32 V_2
            )

            IL_0000: ldarg.3
            IL_0001: ldc.i4.0
            IL_0002: stind.i4
            IL_0003: ldarg.1
            IL_0004: conv.i4
            IL_0005: stloc.0
            IL_0006: ldarg.1
            IL_0007: ldc.i4.s 32
            IL_0009: shr
            IL_000a: conv.i4
            IL_000b: stloc.1
            IL_000c: ldarg.0
            IL_000d: ldloc.0
            IL_000e: ldloca.s V_1
            IL_0010: conv.u
            IL_0011: ldarg.2
            IL_0012: call int32 Microsoft.Win32.Win32Native::SetFilePointerWin32(class Microsoft.Win32.SafeHandles.SafeFileHandle,  int32,  int32*,  int32)
            IL_0017: stloc.0
            IL_0018: ldloc.0
            IL_0019: ldc.i4.m1
            IL_001a: bne.un.s IL_002b

            IL_001c: ldarg.3
            IL_001d: call int32 System.Runtime.InteropServices.Marshal::GetLastWin32Error()
            IL_0022: dup
            IL_0023: stloc.2
            IL_0024: stind.i4
            IL_0025: ldloc.2
            IL_0026: brfalse.s IL_002b

            IL_0028: ldc.i4.m1
            IL_0029: conv.i8
            IL_002a: ret

            IL_002b: ldloc.1
            IL_002c: conv.u8
            IL_002d: ldc.i4.s 32
            IL_002f: shl
            IL_0030: ldloc.0
            IL_0031: conv.u8
            IL_0032: or
            IL_0033: ret
        }

        .method private hidebysig static pinvokeimpl("kernel32.dll") as "SetFilePointer" lasterr winapi) int32 SetFilePointerWin32 (
                class Microsoft.Win32.SafeHandles.SafeFileHandle handle,
                int32 lo,
                int32* hi,
                int32 origin
            ) cil managed preservesig
    CE N'EST QU'UN PETIT PETIT TOUUUT PETIT EXTRAIT  pale 


    Sous IL-Compilator je vais importer le projet entier.Comment ?
    Ensuite j'utilise IL-Compilator pour transformer tout ça en C/C++ natif : Je vais chercher comment faire

    Et voilà le résultat de la console en C/C++ natif : 

    Code:
    #include "Class1.h"

    using namespace System;

    namespace test
    {

       void Class1::Main()
       {
          //Cette fonction sera exécuté au démarrage du logiciel
          //avec une console Windows. Vous ne devez ni renommer
          //ni supprimer cette fonction, sans quoi le projet ne
          //pourra plus être généré correctement.
          //
          //This function will be executed on startup
          //with a Windows console. You should not rename
          //or remove this feature, otherwise the project
          //longer be generated correctly.
          Console->Title = L"test";
          std::cout << std::wstring(L"Bonjour Veler Software !") << std::endl;
          Console::ReadKey(false);
       }
    }

    Code:
    #pragma once

    #include <string>
    #include <iostream>

    using namespace System;

    namespace test
    {
       class Class1
       {

          //Fonction Main
       public:
          void Main();
       };

    }

    Et même Veler Plugin y est passé comme prévu ! Wink 
    Code IL du vidage de la console (Designer) : 
    OUI : Si vous souhaitez du NATIF à 100% VOUS devrez utiliser les plugins générales utilisés lors de la création de l'appli ! Me demander PAS pourquoi : J'EN SAIS RIEN  Embarassed  Twisted Evil  Razz  Rolling Eyes  Rolling Eyes  Rolling Eyes  Rolling Eyes  cyclops  mais ça fonctionnera pas sans... mystère... Si quelqu'un à la réponse mp moi  Laughing 

    Code:
    .class public auto ansi VelerSoftware.GeneralPlugin.Vider_Console
        extends [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action
    {
        .custom instance void [System]System.ComponentModel.DesignerAttribute::.ctor(class [mscorlib]System.Type) = (
            01 00 32 56 65 6c 65 72 53 6f 66 74 77 61 72 65
            2e 47 65 6e 65 72 61 6c 50 6c 75 67 69 6e 2e 56
            69 64 65 72 5f 43 6f 6e 73 6f 6c 65 5f 44 65 73
            69 67 6e 65 72 00 00
        )
        .method public specialname rtspecialname instance void .ctor () cil managed
        {
            .locals init (
                [0] class VelerSoftware.GeneralPlugin.Vider_Console V_0
            )

            IL_0000: ldarg.0
            IL_0001: call instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::.ctor()
            IL_0006: call class [mscorlib]System.Threading.Thread [mscorlib]System.Threading.Thread::get_CurrentThread()
            IL_000b: ldsfld class [mscorlib]System.Globalization.CultureInfo [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Other::CurrentCulture
            IL_0010: callvirt instance void [mscorlib]System.Threading.Thread::set_CurrentUICulture(class [mscorlib]System.Globalization.CultureInfo)
            IL_0015: ldstr "VelerSoftware.GeneralPlugin.Vider_Console"
            IL_001a: ldtoken VelerSoftware.GeneralPlugin.Vider_Console
            IL_001f: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
            IL_0024: callvirt instance class [mscorlib]System.Reflection.Assembly [mscorlib]System.Type::get_Assembly()
            IL_0029: newobj instance void [mscorlib]System.Resources.ResourceManager::.ctor(string,  class [mscorlib]System.Reflection.Assembly)
            IL_002e: stsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0033: ldarg.0
            IL_0034: stloc.0
            IL_0035: ldloc.0
            IL_0036: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_003b: ldstr "DisplayName"
            IL_0040: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_0045: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_DisplayName(string)
            IL_004a: ldloc.0
            IL_004b: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0050: ldstr "Description"
            IL_0055: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_005a: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_Description(string)
            IL_005f: ldloc.0
            IL_0060: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0065: ldstr "Category"
            IL_006a: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_006f: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_Category(string)
            IL_0074: ldloc.0
            IL_0075: call class [System.Drawing]System.Drawing.Bitmap VelerSoftware.GeneralPlugin.My.Resources.Resources::get_vider_console()
            IL_007a: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_ToolBoxImage(class [System.Drawing]System.Drawing.Image)
            IL_007f: ldloc.0
            IL_0080: ldc.i4.0
            IL_0081: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_CompatibleClass(bool)
            IL_0086: ldloc.0
            IL_0087: ldc.i4.1
            IL_0088: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_CompatibleFonctions(bool)
            IL_008d: ldloc.0
            IL_008e: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0093: ldstr "Help_File"
            IL_0098: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_009d: callvirt instance void [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::set_FileHelp(string)
            IL_00a2: ldloc.0
            IL_00a3: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00a8: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00ad: ldstr "Dictionary1"
            IL_00b2: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00b7: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00bc: ldloc.0
            IL_00bd: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00c2: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00c7: ldstr "Dictionary2"
            IL_00cc: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00d1: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00d6: ldloc.0
            IL_00d7: callvirt instance class [mscorlib]System.Collections.Generic.List`1<string> [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_Voice_Recognition_Dictionary()
            IL_00dc: ldsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_00e1: ldstr "Dictionary3"
            IL_00e6: callvirt instance string [mscorlib]System.Resources.ResourceManager::GetString(string)
            IL_00eb: callvirt instance void class [mscorlib]System.Collections.Generic.List`1<string>::Add(!0)
            IL_00f0: ldnull
            IL_00f1: stloc.0
            IL_00f2: ret
        }

        .method public strict virtual instance class [System]System.CodeDom.CodeObject GetVBCode (
                bool FromFunction
            ) cil managed
        {
            .locals init (
                [0] class [System]System.CodeDom.CodeObject V_0
            )

            IL_0000: ldarg.0
            IL_0001: callvirt instance bool [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_UseCustomVBCode()
            IL_0006: brfalse.s IL_000f

            IL_0008: ldarg.0
            IL_0009: callvirt instance class [System]System.CodeDom.CodeObject [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Action::get_CustomVBCode()
            IL_000e: ret

            IL_000f: ldarg.1
            IL_0010: brfalse.s IL_0032

            IL_0012: ldstr "System.Console"
            IL_0017: newobj instance void [System]System.CodeDom.CodeTypeReferenceExpression::.ctor(string)
            IL_001c: ldstr "Clear"
            IL_0021: newobj instance void [System]System.CodeDom.CodeMethodReferenceExpression::.ctor(class [System]System.CodeDom.CodeExpression,  string)
            IL_0026: ldc.i4.0
            IL_0027: newarr [System]System.CodeDom.CodeExpression
            IL_002c: newobj instance void [System]System.CodeDom.CodeMethodInvokeExpression::.ctor(class [System]System.CodeDom.CodeMethodReferenceExpression,  class [System]System.CodeDom.CodeExpression[])
            IL_0031: ret

            IL_0032: ldnull
            IL_0033: ret
        }

        .method public strict virtual instance bool Main () cil managed
        {
            .locals init (
                [0] bool V_0
            )

            IL_0000: ldc.i4.1
            IL_0001: ret
        }

        .method public strict virtual instance bool Modify () cil managed
        {
            .locals init (
                [0] bool V_0
            )

            IL_0000: ldc.i4.0
            IL_0001: ret
        }

        .method public strict virtual instance bool ResolveError (
                class [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur ErrorToResole,
                class [mscorlib]System.EventArgs e
            ) cil managed
        {
            .locals init (
                [0] int32 V_0,
                [1] int32 V_1,
                [2] bool V_2,
                [3] bool V_3
            )

            IL_0000: ldc.i4.0
            IL_0001: stloc.1
            IL_0002: ldc.i4.0
            IL_0003: stloc.0
            IL_0004: call class [mscorlib]System.Threading.Thread [mscorlib]System.Threading.Thread::get_CurrentThread()
            IL_0009: ldsfld class [mscorlib]System.Globalization.CultureInfo [VelerSoftware.Plugins3]VelerSoftware.Plugins3.Other::CurrentCulture
            IL_000e: callvirt instance void [mscorlib]System.Threading.Thread::set_CurrentUICulture(class [mscorlib]System.Globalization.CultureInfo)
            IL_0013: ldstr "VelerSoftware.GeneralPlugin.Vider_Console"
            IL_0018: ldtoken VelerSoftware.GeneralPlugin.Vider_Console
            IL_001d: call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
            IL_0022: callvirt instance class [mscorlib]System.Reflection.Assembly [mscorlib]System.Type::get_Assembly()
            IL_0027: newobj instance void [mscorlib]System.Resources.ResourceManager::.ctor(string,  class [mscorlib]System.Reflection.Assembly)
            IL_002c: stsfld class [mscorlib]System.Resources.ResourceManager VelerSoftware.GeneralPlugin.Variables::RM
            IL_0031: ldarg.1
            IL_0032: callvirt instance valuetype [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur/ErrorType [VelerSoftware.SZVB]VelerSoftware.SZVB.Projet.Erreur::get_Type()
            IL_0037: ldc.i4.0
            IL_0038: bne.un.s IL_003c

            IL_003a: ldc.i4.0
            IL_003b: ret

            IL_003c: ldloc.3
            IL_003d: ret
        }
    }

    Et son code C++ natif une fois transformé : 

    Code:
    //.h file code:

    namespace VelerSoftware
    {
       namespace GeneralPlugin
       {
          class Vider_Console_Designer : public ActivityDesigner
          {
          public:
             Vider_Console_Designer();
          };
       }
    }

    //.cpp file code:

    namespace VelerSoftware
    {
       namespace GeneralPlugin
       {

          Vider_Console_Designer::Vider_Console_Designer() : ActivityDesigner()
          {
             this->InitializeComponent();
          }
       }
    }

    Et voilà Very Happy Reste à trouver le bon logiciel pour compiler ça en natif amusé[/quote]

    bonjour,

    peut tu répondre au question posées en gras 

    cordialement
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Dim 26 Jan 2014 - 10:45

    Bonjour,


    Bon j'aime pas trop dire ça... mais mise au point.


    Déjà : 

    Fandeonepiece2 a écrit:
    bonjour,

    peut tu répondre au question posées en gras s'il te plaît ?

    cordialement



    Le "Cordialement" n'est pas une vrai formule de politesse : c'est un formule de sortie qui clos un débat, une question posée proprement ou une disctution.
    La façon dont est tournée ta phrase ressemble plus à un ordre qu'autre chose. Même si je sais que ce n'est pas ton attention.

    Sinon pour répondre : 

    Fandeonepiece2, ne veux tu pas chercher un peut de ton côté ? Sur comment fonctionne ceci et cela ? Si je te dit tout le principe sa n'a plus aucun intérêt ! Tu n'apprendra pas ! Et tu ira surement te venter d'une appli d'origine .NET recréer nativement alors que  tu n'aura presque rien compris sur l'assemblage du IL entre les projets et objets...
    Comme je l'ai dit mon but est de passer une Windows Form en natif et il est hors de question que je devoile tout temps que ça ne fonctionne pas à 100%... Mon but est de rendre une appli .NET native sans .NET le tout facilement (ou pas :/) et je compte bien montrer que j'ai été (quand même c'est normal)  le premier a avoir trouvé ça ! de zéro ! tout seul !  Mad  Un minimum de reconnaissance pour mon travail serait bien et ceci que si j'y arrive... Je vais donc pas donner l'astuce complète pour des tests tout de suite alors que j'ai mis des mois et des mois à trouver une solution plus ou moins fonctionnelle.
    Pour ce qui est des logiciels qui me sont utiles pour ça : 
    - Telerik JustDecompile (version pro payante) : Transforme un projet VB.NET en C#.NET et aperçu langage IL.
    - SDK Windows 7 x64 (version gratuite) : fait absolument tout (compilation IL, certification et surtout compilation selon le bon processeur)
    - Code::Blocks (C++ CLI ou natif) : pour le C++ natif qui vient de l'origine du projet IL
    - ILAsm (IL-Decompiler) : Décompiler (lire en faite) et enregistrer un projet en langage IL ; peut aussi le compiler
    - Un plugin personnel Telerik : qui me sert à sauver un projet complet en langage IL (plugin ESSENTIEL qui va charger et décompiler en projet IL ou C++ natif le .NET ou les bases de librairies obligatoires requises pour lancer l'appli nativement : plugin que j'ai mis quand même 3 petit mois à mon temps libre à réussir à coder ; que je ne peut fournir pour l'instant)
    - C# to C++ converter (pro) : convertir un projet entier en C++ natif (ou CLI mais le but c'est natif donc osef du CLI  Twisted Evil )

    J'ai dépensé (en fric) pour ces logiciels, licences et recherches, plus de 1300 euros...
    Donc faudra attendre un peut avant que je face un tutoriel complet sur le fonctionnement du C++ natif depuis une paplis VB ou C#.NET : si je dévoile tout mon travail avant des résultats 100% OK c'est comme si l'argent et mon temps passé était jeté par la fenetre...

    Etant maître de l'idée et du projet pour l'instant je ne peut donc pas fournir le truc complet car je le réserve en premier pour Mantrix ERS : et ce n'est pas négociable. Une fois que Mantrix ERS sera natif ou fonctionnel sans .NET alors là oui je fournirais l'astuce complète. Normal.

    Après si tu a 1300 euros à mettre dans la même série de logiciel que moi tu peut ; te restera à créer ton propre plugin de zéro pour Telerik qui va pouvoir extraire et créer des projets de toutes les DLL du .NET 4.0 légalement (sans toucher au code quoi) pour les intégrés au projet natif cible.

    Après je trouve que tu va trop vite et puis je sais pas si ta vu mais je parle de Semi-Natif ici : ce qui veux dire que je reste sous SZ 2012 pour Mantrix ERS : ce qui veux dire aussi que je PEUT rester sur ce forum dédié à SZ... Si je ne parle pas trop de natif c'est pour ne pas me faire virer : un conseil ; reste donc sous SZ 2012. Tu peut parler de semi-natif à la limite pour Droid mais arrête de demander à tout va : comment rendre natif ? comment faire la transformation VB ou C# ? comment apprendre l'ASM ? etc...
    Ce forum n'est pas dédié à ça : je t'ai répondu, moi et d'autres membres, mais maintenant on va revenir sur des projets en lien un minimum avec SZ 2012 (y compris moi) et j’espère que tu va réduire l'allure  Rolling Eyes C'est pas un vrai reproche t'inquiète pas mais tu fonce trop...
    Si le VB.NET t’intéresse pas car tu est trop limiter et si tu veux apprendre le C/C++ CLI ou natif et l'ASM faudra te trouver un autre forum  Neutral désolé c'est vrai.
    Ici on est limiter à SZ 2012. Je me permet de parler de natif pour Mantrix ERS car c'est quand même l'objectif même de celui-ci à la fin MAIS il est toujours développé sous SZ 2012 jusqu'à ce qu'un jour je soit trop trop restreint (comme les variations d'objets ou les librairies et drivers externes à incorporer dans l'OS) qui me fera "quitter" SZ 2012 pour Mantrix : et je serait moi aussi obliger de quitter le forum (uniquement pour Mantrix je parle amusé).

    Donc restons sur SZ.
    Je boss de mon côté sur le natif un peut.
    Je reste sur le semi-natif lié toujours à SZ.

    Et prend ton temps : tu va trop vite, c'est bien et pas bien : tu loupera des étapes essentiels sinon Wink 

    Bon sur cette petite mise au point retournons à nos moutons.
     merci amusé
    lereparateurdepc
    lereparateurdepc



    Masculin Nombre de messages : 5621
    Age : 31
    Localisation : Calvados
    Emploi/loisirs : Electrotechnicien / électricité, HAUTE TENSION, électronique, informatique, automatisme , Arduino, bref le BRICOLAGE , ...
    Humeur : toujours cool
    Date d'inscription : 31/01/2010

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par lereparateurdepc Dim 26 Jan 2014 - 10:56

    re,

    +1 blackorion35. J'ai eu le même problème sur un autre forum.
    On me demandais les source de mon programme sans même savoir de quoi il retournais.
    J'ai refusé et bim je me suis fait "jeté". J'y ai passé pas mal de temps entre les recherches de doc,
    les essais, décodage des 2 octets en binaire et enfin réalisation du soft PC avec la création de mes trames perso.
    J'ai fini par balancer les codes sur un coup de tête même si il ne leurs servira pas ...

    Que l'on évoque ou que l'on s'attarde sur VB/C# sur ce forum bon ok mais évitons les autre langages.

    PS: GRRRRR PHP de m****

    Cordialement,
    Le réparateur de PC
    Blackorion35
    Blackorion35
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 2612
    Age : 33
    Localisation : Rouen
    Emploi/loisirs : Technicien Informatique DEC / Associé Directeur Convergence
    Humeur : C'est quand les prochaines vacs... ?
    Date d'inscription : 19/03/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Blackorion35 Dim 26 Jan 2014 - 11:04

    lereparateurdepc a écrit:re,

    +1 blackorion35. J'ai eu le même problème sur un autre forum.
    On me demandais les source de mon programme sans même savoir de quoi il retournais.
    J'ai refusé et bim je me suis fait "jeté". J'y ai passé pas mal de temps entre les recherches de doc,
    les essais, décodage des 2 octets en binaire et enfin réalisation du soft PC avec la création de mes trames perso.
    J'ai fini par balancer les codes sur un coup de tête même si il ne leurs servira pas ...

    Que l'on évoque ou que l'on s'attarde sur VB/C# sur ce forum bon ok mais évitons les autre langages.

    PS: GRRRRR PHP de m****

    Cordialement,
    Le réparateur de PC
    Hello Smile 
    Oui absolument d'accord amusé je peut comprendre que le C++ natif et l'ASM est très intéressant mais bon même moi j'ai BEAUCOUP BEAUCOUP de mal et tant que tout est pas ok je publie rien (en plus c'est pas le bon forum pour ça même si c'est intéressant (ou pas lol) pour certains amusé
    Quand à ton programme oui j'avais lu ça aussi amusé En tout cas j'ai beaucoup de respect pour ce que tu a fait car tu vois décoder 2 octets en binaire pour relié ton projet par exemple à une carte externe et des diodes... je ne sais pas faire ! amusé et faire ça avec SZ chapeau :p
    Mais c'est pas pour ça que je vais demander tes sources amusé même si c'est vrai que c'est tentant ça reste ton projet et t'en ai maître : si tu veux pas t'est pas obliger de fournir une source amusé
    En pus j'ai promis déjà de fournir Mantrix en code source gratuitement... alors bon amusé un jour ou l'autre vous serez tous comment fonctionnera le semi-natif ou le virtuel et bien sûr même le natif un jour amusé
    lereparateurdepc
    lereparateurdepc



    Masculin Nombre de messages : 5621
    Age : 31
    Localisation : Calvados
    Emploi/loisirs : Electrotechnicien / électricité, HAUTE TENSION, électronique, informatique, automatisme , Arduino, bref le BRICOLAGE , ...
    Humeur : toujours cool
    Date d'inscription : 31/01/2010

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par lereparateurdepc Dim 26 Jan 2014 - 11:12

    re,

    Pas avec SZ. En fait, SZ ne gère pas le dessin graphique (oval pour moi).
    Le reste oui, j'aurais pu le faire avec SZ, pas aussi "simplement", mais on y arrive Smile
    J'aurais été obligé de faire une image de fond pour chaque combinaison ou plus simplement, pas de retour.

    Bon courage pour Mantrix moi, je crois que je vais laisser tomber quelque temps le PHP et sa foutu commande mail().

    Cordialement,
    Le réparateur de PC
    polien
    polien



    Masculin Nombre de messages : 3002
    Age : 27
    Localisation : Bouches du Rhones
    Emploi/loisirs : velo, informatique, électronique, robotique, modélisme feroviaire
    Humeur : Je commence tout mais ne finit rien :P
    Date d'inscription : 19/05/2011

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par polien Dim 26 Jan 2014 - 11:14

    Bonjour,

    @Blackorion35: +1  bien que tes posts n'aient pas toujours un rapport avec SZ2012, s'est toujours super enrichissant (et puis parfois tu poste une organisation/méthodologie qui n'est pas incompatible à appliquer à SZ2012) donc continue à poster même des choses sur le coté natif Wink

    @fandeonepiece2: as tu une idée sur le fonctionnement d'un ordinateur? est ce que les mots registres, mémoire vive, chipset sont des mots dont tu connait toutes les significations informatiques? (pourquoi utilise t'on des pointeurs? comment les fonctions que l'on programme sont executés?)... On a tous rêvé de faire des choses grandioses pour montrer que nous somme les premiers à avoirs conçu un OS en vb.net que l'on a rendu natif (par exemple...), seulement, comme je te l'ai souvent martelé, STOP !  S'est super de progresser, d'être curieux et d'innover mais il ne faut pas se lancer comme ça dans l'inconnu en ayant aucune base approfondie. Reste dans un domaine qui est de ton niveau.

    @lereparateurdepc: Ceux qui te demandent les sources, ce sont juste des incompétents qui cherchent à s'enrichir sur ton propre travail (ou qui on la flemme de chercher de leur cotés et qui préfèrent que quelqu'un leur fasse tout) Wink


    fandeonepiece2
    fandeonepiece2
    Je suis là tous les jours
    Je suis là tous les jours


    Masculin Nombre de messages : 1804
    Age : 23
    Localisation : chez moi
    Emploi/loisirs : Programmation H24
    Humeur : massacrante... si je n'ai pas ma dose journalière de programmation
    Date d'inscription : 14/09/2013

    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par fandeonepiece2 Dim 26 Jan 2014 - 11:28

    bonjour,
    @Blackorion35 je serais un peu plus poli la prochaine fois.
    ce que je comprenais pas c'est comment tu importait le code IL, mais maintenant j'ai compris
    je n'ai jamais parlé de l'ASM, c'est polien qui en parlait

    @Polien
    je sais comment fonctionne un ordinateur, peut être pas parfaitement mais au moins les bases,
    registre : dossier Cool  ou un genre de dossier virtuel contenant plein d'autre dossiers virtuel qui contiennent plein de paramètres du système d'exploitation (par exemple : le paramètre "shell" dans l'éditeur de registre de Windows(REGEDIT je crois) sers a déterminer quel .exe lancer au démarrage d'une session. par défaut : explorer.exe)
    Mémoire vive : RAM. c'est un endroit ou sont stockées toutes les variables utilisée par l'OS et les programmes en cours.
    chipset : c'est le processeur, c'est lui qui fait tous les calculs.
    pointeur : c'est un lien vers l'emplacement d'une variable dans la RAM, qui permet d'avoir a évitér de recréer une variable avec la même valeur afin d'économiser de la RAM et d'augmenter la vitesse d’exécution du programme

    cordialement

    Contenu sponsorisé


    Mantrix Edition Red Serveur - Operating System Projet - Page 25 Empty Re: Mantrix Edition Red Serveur - Operating System Projet

    Message par Contenu sponsorisé


      La date/heure actuelle est Ven 17 Mai 2024 - 5:47