I have made a program using C++ Windows Form Applications and I don't want my program to run more than once. What is the code for this?

Recommended Answers

All 5 Replies

google for "windows forms singleton" and you will find this thread

I tried both of them I still get erors where do we put the codes?

Is this for windows form application? NOT CONSOLE and character set = Use Unicode Character Set

Can you show us what you've tried so far? It'll be easier for us.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.