Solved

RegisterServiceProcess

Posted on 1997-09-02
6
253 Views
Last Modified: 2013-11-20
oes anyone know which file I have to include to get the
definition for RegisterServiceProcess()? this is an MFC
function listed in the help files, but it neglects to specify where the definition is.

Lucidity
0
Comment
Question by:Lucidity
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 4

Accepted Solution

by:
davmarc earned 20 total points
ID: 1305495
It is not included in any header file in fact.
You have to explicitly copy the prototype from the documentation and dinamically call the function with a GetProcAddress() in module KERNEL32.DLL

Davide Marcato.
0
 

Author Comment

by:Lucidity
ID: 1305496
will something like this work ?

MyFunc =  GetProcAddress(RegisterServiceProcess(blah,blah);

after I have loaded the DLL?
0
 
LVL 4

Expert Comment

by:davmarc
ID: 1305497
Yeah, it should work.

BTW, I wonder why you gave me a C for a correct answer...

Davide Marcato.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Lucidity
ID: 1305498
Sorry,

I thought that I could change it later if you continued to help.
I should have given you a B. Does that affect the points you receive?
0
 
LVL 4

Expert Comment

by:davmarc
ID: 1305499
Yes, I get Qpoints*2 instead of Qpoints*3.

Davide Marcato.
0
 

Author Comment

by:Lucidity
ID: 1305500
terribly sorry about that, will give you an A in the future.


Lucidity
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
format the code in java 6 109
matchUp  challenge 6 76
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 115
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 1,276
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question