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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Trope
  • Order by date
  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...
  16. Trope

    Terminating a process - newbie help

    I want to terminate a process (a running exe file) if a particular window is open (namely a disassembler named Olly). I have had no luck. I tried FindWindow and that works, but it seems like I cannot terminate the program using the window handle that is returned. Anybody figure out how to do...
  17. Trope

    newbie ? - &gt; cin - compare letter &quot;A&quot; to &quot;F&quot;

    Terrific information, thanks to both of you.
  18. Trope

    newbie ? - &gt; cin - compare letter &quot;A&quot; to &quot;F&quot;

    I am a newbie... trying to make this simple program accept a character input A-F. If not A-F give a message and get another character. This is not working, does anyone see my mistake? #include <iostream> #include <string> #include <cstdlib> using namespace std; int main() { // Init user...
  19. Trope

    Newbie Help - CrackMe Help

    Code I need help with is below. I have always been interested in learning how to better protect my software. I am studying ASM in order to better understand how reverse engineers (as they like to call themselves) break in to my code. The learning curve is steep - but onward I march. I have...
  20. Trope

    Retrieve new record ID using Access

    I've searched high and low for an answer to this: How can I insert a record in ASP.NET using an Access database, and retrieve the new records ID? Are we back to the old ways of having to use SELECT MAX or did .net finally give us a better solution? Any help would sure be appreciated. John

Part and Inventory Search

Back
Top