Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quote Originally Posted by Mr.Magicman View Post


    You are realy realy dumb
    so dumb fo real.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  2. #17
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    Quote Originally Posted by whatup777 View Post
    so dumb fo real.
    Bedintruder

  3. #18
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    I understand what he mean.

    Read the file, store it in a Char* or TCHAR*

    then

    DrawString or somthing
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  4. #19
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by topblast View Post
    I understand what he mean.

    Read the file, store it in a Char* or TCHAR*

    then

    DrawString or somthing
    NOT USE A POINTER!!! (char*)

    if in ur file are not enough letters, the otherbytes must be placed. so the other strings in ur .dll will be removed with nothing
    cause that use

    char text[numberofbytes];

    blabla..

    file.getline(text,numberofbytes);


    Exaple:

    char *text;

    file.getline(text,20)

    //and in ur file only 16 letters

    GetModuleHandle("blabla.exe");

    so it is

    GetModuleHandle(" la.exe");
    Last edited by kotentopf; 10-03-2010 at 11:41 AM.
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  5. #20
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by kotentopf View Post
    NOT USE A POINTER!!! (char*)

    if in ur file are not enough letters, the otherbytes must be placed. so the other strings in ur .dll will be removed with nothing
    cause that use

    char text[numberofbytes];

    blabla..

    file.getline(text,numberofbytes);
    I SAID (CHAR*, and not a CHAR[1024]);

    Last time i tried CHAR* it was not limited and it worked
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  6. #21
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    yeah u will see everytime u see that everything is not working

    i had this problem and i fixxed it, cause that

    and if u use a pointer, its useless or do u need unlimited text? i not need more than 200 letters in a string so do not use all of ur RAM
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  7. #22
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    Code:
    HANDLE hFile = CreateFile("path", GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTES_NORMAL, 0);
    if (hFile != INVALID_HANDLE_VALUE)
    {
        DWORD Size = GetFileSize(hFile, 0);
        char* FileData = new char[Size + 1];
        DWORD BytesRead;
        ReadFile(hFile, FileData, Size, &BytesRead, 0);
        FileData[BytesRead] = '\0';
        ShowText(FileData);
        delete[] FileData;
        CloseHandle(hFile);
    }

  8. #23
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by mmbob View Post
    Code:
    HANDLE hFile = CreateFile("path", GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTES_NORMAL, 0);
    if (hFile != INVALID_HANDLE_VALUE)
    {
        DWORD Size = GetFileSize(hFile, 0);
        char* FileData = new char[Size + 1];
        DWORD BytesRead;
        ReadFile(hFile, FileData, Size, &BytesRead, 0);
        FileData[BytesRead] = '\0';
        ShowText(FileData);
        delete[] FileData;
        CloseHandle(hFile);
    }
    You should set the attribute to FILE_ATTRIBUTE_HIDDEN, so it makes it hidden :P
    Dont ban me

  9. #24
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Draw the contents of a file. Do I need to explain it any more? <.<

  10. #25
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    OP is stupid .

    Say's he's a VIP coder

  11. #26
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Dude I'm not the best VIP Coder.
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  12. #27
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by seeplusplus View Post
    Dude I'm not the best VIP Coder.
    Lol .

  13. #28
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Stephen View Post


    Lol .
    Lol indeed.

  14. #29
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    It's a joke. OMG. Listen do you guys want me to change that?
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  15. #30
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by seeplusplus View Post
    It's a joke. OMG. Listen do you guys want me to change that?
    To change what?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help] [Help]How to convert Mods From DTX
    By idohack in forum Combat Arms Mod Tutorials
    Replies: 6
    Last Post: 02-21-2011, 04:28 PM
  2. Help how to add text to a mod.
    By cranow12 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 2
    Last Post: 09-25-2010, 01:56 AM
  3. Replies: 5
    Last Post: 05-30-2010, 10:40 AM
  4. help does any one no how to get nx from maple story
    By Mauled in forum Combat Arms Discussions
    Replies: 11
    Last Post: 10-16-2009, 04:20 PM
  5. how do i make text from a render?
    By -ParallaX in forum Art & Graphic Design
    Replies: 6
    Last Post: 08-10-2009, 10:06 AM