Results 1 to 8 of 8
  1. #1
    zooSz's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0

    .DLL file get settings from .INI file

    Can anyone help me?

    Is it possible for a .dll file to get its settings/variable values from an external .ini file? Its kind of hard to explain :S

    Okay, I have a dll that I want to inject into a game (WarRock).. And just before it injects I want it to gather information from the .ini file and put it into the .dll file, so its like a default hack settings file.

    Any ideas? Or am I talking rubbish? :P

  2. #2
    Kiruku's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Aresden
    Posts
    80
    Reputation
    10
    Thanks
    203
    My Mood
    Relaxed
    You can do this like on a normal.exe file, only problem u get is that the App Path will be the path of the game into which u injected it and not the folder of the dll, so the settings need to be in the game folder.

  3. #3
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,716
    Reputation
    1755
    Thanks
    1,543
    simply use fgets()
    Last edited by Gab; 04-01-2011 at 04:33 PM.

  4. #4
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    MSDN to da rescue.

  5. The Following User Says Thank You to NOOB For This Useful Post:

    Hell_Demon (04-02-2011)

  6. #5
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by ᴺᴼᴼᴮ View Post
    MSDN to da rescue.
    This nigga knows what he's talking about.

  7. The Following User Says Thank You to ғᴜᴋᴏᴊʀ For This Useful Post:

    Hell_Demon (04-02-2011)

  8. #6
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by ᴺᴼᴼᴮ View Post
    MSDN to da rescue.
    That NOOB dont know shit

  9. #7
    wtfiwantthatname's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    260
    Reputation
    10
    Thanks
    39
    My Mood
    Bored
    Quote Originally Posted by whit View Post
    That NOOB dont know shit
    The MSDN can be about as helpful as Hep C sometimes.
    "I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov

  10. #8
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by wtfiwantthatname View Post
    The MSDN can be about as helpful as Hep C sometimes.
    You obvisouly didnt get my post..So let me Explain..

    His Name is "NOOB"...

    And i said That "NOOB" dont know shit....

    Definition of Trolling
    Urban Dictionary: trolling