exe file question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?S2lk?=

    exe file question

    Hi

    Can I attach data at the end or middle of exe file , is there some good tool
    or sample ?

    Can I delete exe file by its process , will it be locked , is it possible to
    write some function in process to remove the running exe itself and its
    folder after process end ?
  • Pavel A.

    #2
    Re: exe file question

    Wrong newsgroups.
    If the data you want to attach is resources, there's win32 API to do this.

    Regards,
    --PA

    Kid wrote:
    Hi
    >
    Can I attach data at the end or middle of exe file , is there some good tool
    or sample ?
    >
    Can I delete exe file by its process , will it be locked , is it possible to
    write some function in process to remove the running exe itself and its
    folder after process end ?

    Comment

    • Joseph M. Newcomer

      #3
      Re: exe file question

      Define "data". You can use BeginUpdateReso urce/EndUpdateResour ce/UpdateResource.

      There are a number of methods of deleting executables that are running, and some folks in
      this newsgroup have answered this; you might also try a google search of the archives.
      joe

      On Sun, 16 Nov 2008 23:01:01 -0800, Kid <Kid@discussion s.microsoft.com wrote:
      >Hi
      >
      >Can I attach data at the end or middle of exe file , is there some good tool
      >or sample ?
      >
      >Can I delete exe file by its process , will it be locked , is it possible to
      >write some function in process to remove the running exe itself and its
      >folder after process end ?
      Joseph M. Newcomer [MVP]
      email: newcomer@flound er.com
      Web: http://www.flounder.com
      MVP Tips: http://www.flounder.com/mvp_tips.htm

      Comment

      • David Ching

        #4
        Re: exe file question

        "Kid" <Kid@discussion s.microsoft.com wrote in message
        news:9376BF75-AB94-4630-9F36-142FD86B4B05@mi crosoft.com...
        Hi
        >
        Can I attach data at the end or middle of exe file , is there some good
        tool
        or sample ?
        >
        See the UpdateResource( ) API.

        Can I delete exe file by its process , will it be locked , is it possible
        to
        write some function in process to remove the running exe itself and its
        folder after process end ?
        See DeleteExecutabl eBF written by Jeffrey Richter:


        -- David

        Comment

        Working...