Re: Starting .exe "single threaded"

From: John Harrison (john_andronicus_at_hotmail.com)
Date: 10/03/04


Date: Sun, 3 Oct 2004 14:22:36 +0100


"Martin Ink" <martin@dkonsult.se> wrote in message
news:3b39b1ab.0410030418.3205e61d@posting.google.com...
>I have a program linked to an .exe and this program is started from an
> other program.
> I would like to control the execution of the program so that the
> program only runs 'single threaded'. I don't want simultaneously
> session of my program to be run.
> My program must be an .exe.
> Is there a way to control this in a simple way ??
>
> Rgds

There is no support in standard C++ for threading or restricting execution
to a single instance (which is what I think you really mean by single
threaded). Try a windows programming group like
news:comp.os.ms-windows.programmer.win32 instead, you are off topic here.

john



Relevant Pages

  • Starting .exe "single threaded"
    ... I would like to control the execution of the program so that the ... My program must be an .exe. ... Rgds ...
    (comp.lang.cpp)
  • RealNetworks RealGames StubbyUtil.ShellCtl.1 ActiveX Control (InstallerDlg.dll v2.6.0.445) Multiple
    ... RealNetworks RealGames StubbyUtil.ShellCtl.1 ActiveX Control ... Multiple Remote Commands Execution ... CreateShortcut-> allows to create arbitrary executable files inside the automatic ... ProductName: InstallerDlg Module ...
    (Bugtraq)
  • Re: Debugging Challenge - no source available
    ... transparent backgrounds - I previously noticed some bizarre behavior when I ... tried to set a control's background to a transparent bitmap (the transparent ... I've decided to derive my own control from the label control I'm ... >> In both cases, the debugger catches execution at the same point, just ...
    (microsoft.public.dotnet.general)
  • Re: how to turn off NX bit in assembly?
    ... code using the faults to stop execution in an additional controlled ... Instead of unmapping and flush a page upon a page fault and loading another ... one could terminate the program at that point. ... they could interrupt on flow control. ...
    (alt.lang.asm)
  • Re: how to turn off NX bit in assembly?
    ... code using the faults to stop execution in an additional controlled ... one could terminate the program at that point. ... probably look at the debug registers to see what control of code they ... the ACPI doesn't distinguish apps ...
    (alt.lang.asm)