I’ve created the main window (support close only ๐ ), and added codes to make sure there is always only one instance running (CreateMutex), as running multiple instances of P2P programs will be just a mess to me, hard to understand.
The problem for now is, the PPCam application always has a command window, I have no idea where it comes from, have to check around.
Also, I need to find documentation that explains “use type”, I’m trying my best to avoid using “use <package>” as I want to explicitly specify what the owner package is, because I’m still learning the language now thus better to know where come all those definitions.
I will check in the source code once I solve the command window problem, it is a must.
3 Responses to “PPCam progress”
Sorry, the comment form is closed at this time.
I forgot to mention – it is a standalone application, or be more precisely, statically linked, so copy over to a Windows box it will just run, no installation, no DLL, no configuration, no registry.
Found the solution to eliminate command window, just add:
pragma Linker_options(“-mwindows”);
within the main procedure, it will look like a pure Windows application.
I’m going to check in tonight.
“use type” is to make the code readable, so that we don’t have to prefix package name, etc to the operator.