Write a small Function in C to return Program File Handle

Končano Objavljeno pred 5 letoma/leti Plačilo ob prevzemu
Končano Plačilo ob prevzemu

We have a case that a program runs on a computer more than once

Let’s call one program Program_A and the other Program_B (both are the same exe and we have the SourceCode)

What we want to do:

When we open Program_B we would like it should check if Program_A is running.

If Program_A is running we want it should maximize Program_A and kill itself.

Both programs have the same class name

In order to do this, we would need a C function that would return us the file handle of Program_A

I’m suggesting writing a C function OtherProgramFileHandle(ProgramClass, hwnd_of_Program_B) --> Returning hwnd_of_Program_A

This should work on all windows from Windows 7 and up.

This is what we use to compile

C:\Borland\BCC72\[login to view URL] -c -O2 -OS -d -5 -6 -a8

This is what we use to link

C:\Borland\BCC72\[login to view URL] -Gn -M -m -s -Tpe -x –aa

The solution you write needs to work in our program

Include the word blueMagic in your offer

This is a simple function dont bid above 20.

C programiranje Namizje Windows

ID projekta: #18502052

Več o projektu

6 predlogov Oddaljen projekt Aktiven pred 5 letoma/leti

Dodeljeno:

wangbeizou

Hello, sir Thanks for your job posting! I read your job description carefully and I have confidence to do it. I am a C++ Developer with +6 years experience and your project is very interesting for me. Then I will c Več

$20 USD v 1 dnevu
(107 mnenj)
6.0

6 freelancerjev ponuja v povprečju za $33 na tem delu

iridescent2x15

Hi I am software engineer and have done many programming projects. You can share more details with me. Thank you

$100 USD v 7 dneh
(44 ocen)
5.9
vedant2910

Hey, I have a major in Computer Science. I have done various projects in C. I will complete the whole project in the given deadline. Looking forward to working with you

$20 USD v 1 dnevu
(9 ocen)
3.5
roshanasim

I hold a degree in Computer Engineering. I minored in Programming with a focus in c,c++, assembly. Whether independent or operating on a team my analytical approach to problem solving has been a plus. i have experie Več

$25 USD v 1 dnevu
(2 ocen)
2.7
vaibhavbh35

I will complete this project in minimum possible time possible as required by you and will try to meet the required specification.

$15 USD v 1 dnevu
(0 ocen)
0.0