Results 1 to 2 of 2

Thread: ShellExecuteEx

  1. #1

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    ShellExecuteEx

    Code:
    	SHELLEXECUTEINFO infoAsm;
    	infoAsm.lpDirectory = ".\\dirabc";
    	infoAsm.lpFile="old.exe monAsm.txt";
    	
    
    
    	if(ShellExecuteEx(&infoAsm)==0)
    		cout << "Tasm error" << endl;
    Why it doesn't work?

  2. #2

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    I used : ShellExecute and it work but I have a problem, my .exe is a console and when I open it I see it for 1 second and after it close automaticly, how can I stop that?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width