Run only one instance of your application: Difference between revisions

m
source tag
No edit summary
m (source tag)
Line 21: Line 21:


And in a package that gets hit on startup:
And in a package that gets hit on startup:
<source>
<source lang="vdf">
// Constants
// Constants
Define ERROR_INVALID_HANDLE        for 6    //  taken from error.h of VS7
Define ERROR_INVALID_HANDLE        for 6    //  taken from error.h of VS7
Line 62: Line 62:


Usage in SRC:
Usage in SRC:
<source>
<source lang="vdf">
  Use myPanel,pkg
  Use myPanel,pkg
  Object Main is a myPanel
  Object Main is a myPanel
Line 68: Line 68:


Source myPanel.pkg
Source myPanel.pkg
<source>
<source lang="vdf">
  ////////////////////////////////////////////
  ////////////////////////////////////////////
  //
  //
1,134

edits