delphi Why can t I find the TLHelp32 unit

Updated on collection 2024-04-01
8 answers
  1. Anonymous users2024-02-07

    A snapshot of the model branch talk block of the target process of the creation of the Qing construction.

    handle md_handle;

    md_handle = createtoolhelp32snapshot(th32cs_snapmodule, dwpropid);

    if (!md_handle){

    printf("createtoolhelp32snapshot failed ");

    return false;

    moduleentry32 md;

    sizeof(md);

    while (ex){

    printf("sz module %s"Fierce envy, ;

  2. Anonymous users2024-02-06

    In C++ Builder 2010 you need to add an idhttp control, tidmultipartformdatastream *poststream; will be effective, and there will be no errors.

    It's also possible that this is the case with xe5.

    The rest is for reference, the ** on the 1st floor is OK!! Thank you 1st floor.

  3. Anonymous users2024-02-05

    The cross-platform tidmultipartformdatastream is not yet ready.

  4. Anonymous users2024-02-04

    See below**:

    Delphi to force a process to end.

    afilename is on the line, such as.

    first uses tlhelp32;

  5. Anonymous users2024-02-03

    For example, the process you want to inject is.

    First of all, determine whether the process exists, and the method is as follows:

    Add the tlhelp32 unit to uses.

    function : string): boolean;Determine whether a process exists.

    constprocess_terminate=$0001;

    varcontinueloop: bool;

    fsnapshothandle: thandle;

    fprocessentry32: tprocessentry32;

    beginresult :=false;

    fsnapshothandle :=createtoolhelp32snapshot(th32cs_snapprocess,0);

    sizeof(fprocessentry32);

    continueloop :=process32first(fsnapshothandle,fprocessentry32);

    while integer(continueloop) <0 do begin

    if ((uppercase(extractfilename( uppercase(exefilename))

    or (uppercase( =uppercase(exefilename)))then

    result :=true;

    continueloop :=process32next(fsnapshothandle,fprocessentry32);

    end;end;

    call method: procedure : tobject); button on the event.

    beginif checktask('')=true then to determine whether it exists.

    showmessage('The QQ process exists! 'If there is a prompt.

    (Of course, here you can change it to the ** you want to execute: load the dll.) Depending on your needs).

    end;

  6. Anonymous users2024-02-02

    Traverse the process! If yes, just inject it!

  7. Anonymous users2024-02-01

    Some processes don't have a form, so they don't necessarily get it.

    c has a similar function, which looks at the source ** and looks like this:

    Use EnumWindows to enumerate all desktop forms, then use GetWindowThreadProcessId to get the corresponding PID of the forms, and then compare.

  8. Anonymous users2024-01-31

    After opening delphi, the default is a new project, click save to start a prompt you to save the project file and unit file, each unit file can correspond to the form, you can also create a formless unit file, if you want to create a corresponding form, you can directly click the new form button, if you want to create a unit file without a form, with this file->new->unit

Related questions
11 answers2024-04-01

It's a must, and it's not omnipotent.

22 answers2024-04-01

<> the problem encountered by job seekers now is that the salary and treatment said during the interview are not the same as the salary when the salary is paid. This is the case in many companies now, so this is also the reason why companies can't recruit people. Problems with the company's HR department: >>>More

20 answers2024-04-01

It is indeed difficult for college students to find a job now because many companies now require experience, especially if you are studying software development, the requirements for academic qualifications are not so high, only experience. It's not to blame you, the school basically teaches everything for computer majors but only teaches the surface, the actual programming ability is lacking, and ah, the school textbooks are a few years ago, and they can't keep up with the needs of society at all. In general, you have two options now, one is to find a job in a company that you think you can slowly gain experience in the job for a few years, but the salary is very low; The other is that you can find a training institution to train, and now the formal training institutions are provided by projects, so that you basically have experience when you graduate and can find a good job. >>>More

6 answers2024-04-01

Have you ever done HR yourself?

If you haven't done it before, start with the basics and experience it first. So where to go, a good unit, definitely don't want newcomers, they have to have work experience, then recommend you to go here, it will definitely not be rejected, that is, the insurance company, of course, if you think it is a shame to do insurance, just when I didn't say, but there if you want to exercise yourself, learn HR work experience, absolutely good place, such as going to the job fair headhunter, this is all depending on their own ability, you can definitely exercise yourself, I hope it can help you, you can go to be an administrative assistant, or a sales assistant, come on. >>>More

23 answers2024-04-01

Don't worry, don't be too envious of othersMaybe you are the idol in their hearts, be confident! Be honest and trustworthy, what you say must count, be a man with a big heart, you also said that you would rather be hurt than others be hurt, sometimes it is not that you are good to others in your heart and have no malice, but you also have to show it, don't keep it in your heart, your advantages must be shown, otherwise people who know you very well know what kind of person you are, but what about people who are not familiar with you? Talk to others more and talk about the unhappiness in your heart.