From main() to WinMain() ...possible? How?

Hello everyone.

Forgive me if this has been answered before.

I am just wondering how inside my code, I can start a Windows application from an ordinary main. Say, I have a Win32 Console Application and within my code I want to shift to a non-console Win32 application. So how do I do it?

Comments

  • [b][red]This message was edited by dede at 2006-12-13 6:58:54[/red][/b][hr]
    you mean that you want to call a program from within your console or what????
    if yes, try
    [code]system("notepad.exe");[/code]
    Where system acts like cmd
    dede:-)



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion