Thread: Hi

Results 1 to 4 of 4
  1. #1
    Good2015's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    407
    My Mood
    Relaxed

    Hi

    Hello I want to know if we can write a dll from another dll thank you?

  2. #2
    grannycrazy's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Beetlejuice
    Posts
    286
    Reputation
    10
    Thanks
    55
    My Mood
    Angelic
    Do you mean create a dll from another dll or call a dll from another dll?



  3. #3
    Good2015's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    407
    My Mood
    Relaxed
    create a dll from another dll . sorry for my bad english I use Google translate

  4. #4
    ZER0MEM0RY's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Location
    \\\\.\\PhysicalDrive0
    Posts
    94
    Reputation
    10
    Thanks
    4,219
    My Mood
    Cold
    In your 1st dll: store the second dll to it as a byte array like so: Byte[] rawDll = {0x5c, 0x4d,....};
    then use: File.WriteAllBytes(path, rawDll);

    After that you could load it to memory.