0

I need start up function that will make registry entries and make my .exe app start with the windows start up.Where can I find code for such function?

4
Contributors
7
Replies
8
Views
7 Years
Discussion Span
Last Post by suncica2222
1

Put it in the list of startup applications on installation.

Edited by Narue: n/a

0

like I said I want to make function that does it.

And one more question:

How I'm going to test this while compiling and debugging,it's going to make registry entry each time I run it and mess my registry completely?

0

like I said I want to make function that does it.

google is your friend

How I'm going to test this while compiling and debugging,it's going to make registry entry each time I run it and mess my registry completely?

That's indeed a possibility. Perhaps you can write an extra function in tour program for debugging purpose that deletes the created keys on program exit/start ?

0

That's indeed a possibility. Perhaps you can write an extra function in tour program for debugging purpose that deletes the created keys on program exit/start ?

Is this the only option?

1

You could test your program on a Virtual Machine. If it messes something, you should be able to just start up a new machine image. My IT consultant does it all the time. Don't ask me how.

Edited by Fbody: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.