[IPython-user] embedding IPython in windows dll

Alexander Belchenko bialix@ukr....
Mon Mar 10 01:50:39 CDT 2008


mani sabri пишет:
> Dll doesn't crash or ... everything works fine but there is no shell! Can
> anybody help?

If your main program is Windows GUI you need to explicitly create console with Win32 API
(AllocConsole function) and then attach it to your program.

http://msdn2.microsoft.com/en-us/library/ms682010(VS.85).aspx



More information about the IPython-user mailing list