Launching 16-Bit apps from 32-Bit app? 
Author Message
 Launching 16-Bit apps from 32-Bit app?

Hi,

I have a program, written in Visual Basic 5.0, that launches other
applications.  These other applications can be 16-bit or 32-bit.  I need
to be able to detect when the launched application has been
exited/shut-down.  I have not been able to figure out a way to do this
that works for both 16 and 32-bit apps.  I used to use Shell() and
GetModuleUsage() in a 16-bit program, but that doesn't work in my 32-bit
program.  I can use CreateProcess() and WaitForSingleObject() in my
32-bit program, but it doesn't seem to work if it is launching a 16-bit
application.

I ran across an article in the Visual Basic Programmer's Journal that
said I could use calls to TOOLHELP.DLL to do this.  I cannot find the
Visual Basic Declaration statements for the Functions and Types that I
need.  Does anyone know the proper VB syntax for the following
functions?

        TaskFirst()     <- Function Declaration
        TaskNext()      <- Function Declaration
        TaskEntry       <- Type Declaration

Does anyone know of another way to do this?

Please reply via E-Mail because I don't get out to the newsgroups much
these days.

Thanks,

Jason Picker



Sun, 30 Jan 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. launching 16 bit app from 32 bit

2. Need help calling 16-bit app from 32-bit app

3. Executing a 16 bit app from a 32 bit app

4. corruption of 16 bit db when used by both 16 and 32 bit apps

5. 32 bit app / 16 bit DB

6. Desperate for help Converting 16 bit app to 32 bit

7. 16 bit app running in 32 bit world

8. DDE between 16 bit and 32 bit apps

9. Calling 16 bit DLL from 32 bit app

10. Converting a VB4.0 16 Bit app to VB5 32 bit

11. Connect 16-bit VB app to 32-bit Access 97 DB

12. 16 bit DSN in 32 bit app

 

 
Powered by phpBB® Forum Software