| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosStartSession |
25 Aug 95 23:24, Brandt Everett wrote to All:
BE> I am trying to start a new session from another one, and can't
BE> seem to get it to work. Don't have a clue really about this
BE> function or how to do what I want.
Here is one example for a PM application. You must fill in the
correct parameters for pszExecutable, pszTitle, ... yourself.
HAPP hApp;
PROGDETAILS prgDetails;
prgDetails.Length = sizeof (prgDetails);
prgDetails.progt.progc = PROG_PM;
prgDetails.progt.fbVisible = SHE_VISIBLE;
prgDetails.pszTitle = "Title of other application";
prgDetails.pszExecutable = "OTHERAPP.EXE";
prgDetails.pszParameters = "";
prgDetails.pszStartupDir = "";
prgDetails.pszIcon = "OTHERAPP.ICO";
prgDetails.pszEnvironment = "WORKPLACE\0\0";
prgDetails.swpInitial.fl = SWP_ACTIVATE;
prgDetails.swpInitial.cy = 0;
prgDetails.swpInitial.cx = 0;
prgDetails.swpInitial.y = 0;
prgDetails.swpInitial.x = 0;
prgDetails.swpInitial.hwndInsertBehind = HWND_TOP;
prgDetails.swpInitial.hwnd = hFrame;
prgDetails.swpInitial.ulReserved1 = 0;
prgDetails.swpInitial.ulReserved2 = 0;
hApp = WinStartApp ( hWindow,
&prgDetails,
NULL,
NULL,
SAF_STARTCHILDAPP );
Tschuess, Steffen
--- FastEcho 1.45+
* Origin: Sprach's und verschwand von der Bildflaeche (2:2433/1860)SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 2433/1860 1800 1200 225 2452/110 105/42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.