Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSDE 2000 setup problem

Status
Not open for further replies.

smoothcoder

Programmer
Sep 24, 2002
19
RO
Hi there!
I'm trying to install MSDE 2000 on my computer. I have built a custom setup app named "MySetup". I launch MSDE setup from "MySetup" with a call to CreateProcess(...); I get the handle of the MSDE setup process and then wait for its completion via a call to WaitForSingleObject(handle, INFINITE):

The code looks like this:

......
CreateProcess(...);
WaitForSingleObject(handle, INFINITE);
MessageBox("MSDE setup complete!")
......

The MSDE Setup launches without any problem, BUT: after 7 or 8 seconds it seems to freeze, and the result is that I get two FROZEN processes ("MySetup" and MSDE Setup)!!

If I Ctrl+Alt+Del "MySetup", then the MSDE Setup process goes on successfully, but ONLY AFTER I quit "MySetup" app.

Did anyone have this problem??
Could you give me some suggestions??

Thanks in advance!



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top