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 IamaSherpa 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: *

  1. tuyen99

    Editing a Binary Resource in an Existing Executable

    Okay...I must've been having a blonde moment, because I totally screwed that up. The component I mentioned really DOES attach files into your main executable, but the catch is you have to do it at design time by double-clicking on the component and selecting the file you want to attach. And...
  2. tuyen99

    Editing a Binary Resource in an Existing Executable

    It's not in memory. The file gets physically attached to your main executable when you call DataLoadFromFile, and it remains there permanently. And then when you need to extract the file, you call the DataSaveToFile procedure and it extracts the file to your hard drive.
  3. tuyen99

    Editing a Binary Resource in an Existing Executable

    Sorry about the late reply. The last couple of days have been crazy for me. Okay, so back to your problem. The easiest solution (by far) is this: procedure TForm1.Button1Click(Sender: TObject); begin // store the target file inside your main application...
  4. tuyen99

    Editing a Binary Resource in an Existing Executable

    Okay, fair enough.. It's late at night where I am, so I'm off to bed in a few minutes, but I'll post something for you tomorrow. It's actually not that difficult, but when you're trying to do it for the very first time, it can seem daunting.
  5. tuyen99

    Editing a Binary Resource in an Existing Executable

    Why is it so important that your main executable contain the packaged file? Your problem could be solved so easily if you simply distributed the packaged file as a secondary file, and have the main program call it when necessary.
  6. tuyen99

    Response.Content for large string of data.

    If it makes you feel any better, you're both wrong about string lengths :P In Delphi, the maximum string length is restricted by the 2 GB stack limit. That means that no string type can ever exceed 2 GB (31-bit). For AnsiString, the maximum length is 31-bit (2 billion characters because each...
  7. tuyen99

    Delphi2007 - TIdTCPClient/Server - Error during transmission of data

    I know your post is 3 weeks old already, but in case you didn't solve the problem yet, the reason for your problem is because you aren't handling the Client.WriteInteger command at the server. So basically you're writing two things to the server (the integer and the stream), but the server is...

Part and Inventory Search

Back
Top