Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Trope

  1. Trope

    can anyone get these lines to work? changing a byte...

    Hi Mingus, Thanks for that example, I have studied it extensively. Is there any way I can talk you in to helping me with this? Here's what I got: ----------- code start -------------- #include <windows.h> #ifdef __BORLANDC__ #pragma argsused #endif int goodGuyMessage(){ MessageBox(NULL...
  2. Trope

    asm, _asm, or __asm can't be used!

    I am sorry, I misread the first post, I thought you mentioned it DID exist. In that case, here is what you have to do: It's a pain, but... Keep BuilderX - it rocks for a freebie... 1. Download and install the Builder 6 Evaluation full Edition. TASM WILL now be installed. There is no...
  3. Trope

    Online Totorial

    FunctionX seems to be down, anyone have a copy of this site locally? It sure is a terrific site, but the guy "has exceeded his bandwidth" again.
  4. Trope

    asm, _asm, or __asm can't be used!

    1. Register at Borland.com for a FREE BuilderX personal key 2. Download and install it 3. Download this patch, www.prodesignonline.com/newsite/tuts/tasmpatch.zip 4. Install the patch Now you are inline-asm ready! (this patch is released by Borland, it's on their site also somewhere) That...
  5. Trope

    can anyone get these lines to work? changing a byte...

    Ok, now it appears something is going wrong on my machine. I have VC++ Express and it's not compiling - not compiling in Builder 6 either. Could you send me the executable to webdevia@yahoo.com (rename extension to .txt) so I can debug it here. Thanks mingis. I appreciate your help. If you...
  6. Trope

    asm, _asm, or __asm can't be used!

    If you read the fine print - "..no inline assembly" with the freebie version.
  7. Trope

    self modify code , this example don't work

    So this code cannot work as written without serious modifications? damn... Trope
  8. Trope

    can anyone get these lines to work? changing a byte...

    Did this work for you?
  9. Trope

    can anyone get these lines to work? changing a byte...

    sure wont work for me, but it's supposed to. LPVOID address; // Get the address of the dword we need to change _asm mov dword ptr address,offset [myloop+3] // Ask windows for permission to modify the code result = VirtualProtect(address,4,PAGE_WRITECOPY,&oldprotect); // Modify it in...
  10. Trope

    self modify code , this example don't work

    Anyone know why I am getting an error? #include "iostream.h" #include "windows.h" char * function_addr; LPVOID addr; DWORD prev; __declspec(naked) int selfmodify() { __asm { mov dword ptr [addr],offset [modify_this + 1] //get the address of the code }...
  11. Trope

    Self Modifying Code - Newbie Question

    anxiously awaiting.... thanks
  12. Trope

    Self Modifying Code - Newbie Question

    I am writing a simple C++ application that allows the user to test the app IF they have a password. I would like to prevent the casual cracker from modifying the code to bypass this password check. Here is some psuedocode: if(!password){ // Quit program } and in assembly might result in...
  13. Trope

    Newbie ? - How do I get a sting's length?

    I changed text to Text ok still not working, now I am getting: unable to convert ansistring to char * I CANNOT believe I cant figure this out. Trope
  14. Trope

    Newbie ? - How do I get a sting's length?

    I am getting this error: 'text' is not a member of TEdit Any suggestions? Trope
  15. Trope

    Newbie ? - How do I get a sting's length?

    I have a TEdit contol named userName on my form. When a button is pressed I am brought here: void __fastcall TForm1::btnLoginClick(TObject *Sender) { } //--------------------------------------------------------- I have tried the following (after many searches Google and this forum ) // Get...

Part and Inventory Search

Back
Top