Results 1 to 2 of 2

Thread: large dlls!!! small amount of code

  1. #1

    Thread Starter
    Hyperactive Member Cmdr0Sunburn's Avatar
    Join Date
    May 2001
    Location
    g0t r00t?
    Posts
    461

    large dlls!!! small amount of code

    i make a dll with
    int PStrReplace(char*,char*,char*,char*);




    int PStrReplace(char* lpString,char* lpReplace,char* lpReplacewith,char* lpbuffer)
    {
    int RDTS_CCOUNTER;

    __asm {
    rdtsc;
    mov RDTS_CCOUNTER,eax;
    }
    return 0;
    }


    and its 200k!!!!!!!!! and i debug it it has all loads of carp i dont need or put in there, it imports at least 50 apis i dont use and never referenced, why???/ and it has a bigilion 00000000000000s at the end, gezee, how can i make it small????//
    I know a lot oF Vb, expert in C++, and i think in assembly.
    MSVC++6.NET
    vb6
    masm
    Windowz Xp
    I find my self using this a lot in C++

    __asm {
    }

  2. #2
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Hmm...are you using Visual C++? If you are, try changing the build settings from "Debug" to "Release".
    Alcohol & calculus don't mix.
    Never drink & derive.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width