www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Embed Application

reply okibi <okibi ratedo.com> writes:
Hey,

I was wondering how I would go about putting an application inside of a D
program. For example, if I created a window with gtkD, how could I allow a
program written in C++ to run inside of that window?

Any ideas would be GREATLY appreciated!

Thanks!
May 30 2007
parent reply okibi <okibi ratedo.com> writes:
okibi Wrote:

 Hey,
 
 I was wondering how I would go about putting an application inside of a D
program. For example, if I created a window with gtkD, how could I allow a
program written in C++ to run inside of that window?
 
 Any ideas would be GREATLY appreciated!
 
 Thanks!
Is this an incredibly stupid question or does no one want to help me out?
May 30 2007
next sibling parent Regan Heath <regan netmail.co.nz> writes:
okibi Wrote:
 okibi Wrote:
 
 Hey,
 
 I was wondering how I would go about putting an application inside of a D
program. For example, if I created a window with gtkD, how could I allow a
program written in C++ to run inside of that window?
 
 Any ideas would be GREATLY appreciated!
 
 Thanks!
Is this an incredibly stupid question or does no one want to help me out?
I'd love to help but I have no idea how to even start thinking about how one might do this. Regan
May 30 2007
prev sibling parent reply Jari-Matti =?ISO-8859-1?Q?M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
okibi wrote:

 okibi Wrote:
 
 Hey,
 
 I was wondering how I would go about putting an application inside of a D
 program. For example, if I created a window with gtkD, how could I allow
 a program written in C++ to run inside of that window?
 
 Any ideas would be GREATLY appreciated!
 
 Thanks!
Is this an incredibly stupid question or does no one want to help me out?
No, there are no stupid questions. I hope the FAQ helps you: http://www.digitalmars.com/d/faq.html#omf http://www.digitalmars.com/d/faq.html#cpp_interface http://www.digitalmars.com/d/faq.html#call-cpp-code
May 30 2007
parent reply okibi <okibi ratedo.com> writes:
Jari-Matti Mäkelä Wrote:

 okibi wrote:
 
 okibi Wrote:
 
 Hey,
 
 I was wondering how I would go about putting an application inside of a D
 program. For example, if I created a window with gtkD, how could I allow
 a program written in C++ to run inside of that window?
 
 Any ideas would be GREATLY appreciated!
 
 Thanks!
Is this an incredibly stupid question or does no one want to help me out?
No, there are no stupid questions. I hope the FAQ helps you: http://www.digitalmars.com/d/faq.html#omf http://www.digitalmars.com/d/faq.html#cpp_interface http://www.digitalmars.com/d/faq.html#call-cpp-code
Thanks for the info! I know people are willing to help, I was just getting frustrated with it as I'm not entirely sure how to accomplish this. If I figure out something, I'll post it. Thanks!
May 30 2007
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
okibi wrote:
 Jari-Matti Mäkelä Wrote:
 
 okibi wrote:

 okibi Wrote:

 Hey,

 I was wondering how I would go about putting an application inside of a D
 program. For example, if I created a window with gtkD, how could I allow
 a program written in C++ to run inside of that window?

 Any ideas would be GREATLY appreciated!

 Thanks!
Is this an incredibly stupid question or does no one want to help me out?
No, there are no stupid questions. I hope the FAQ helps you: http://www.digitalmars.com/d/faq.html#omf http://www.digitalmars.com/d/faq.html#cpp_interface http://www.digitalmars.com/d/faq.html#call-cpp-code
Thanks for the info! I know people are willing to help, I was just getting frustrated with it as I'm not entirely sure how to accomplish this. If I figure out something, I'll post it. Thanks!
The type of thing you're talking about is what COM is for. You can use COM for instance to embed Internet Explorer into an app. D has some support for COM, but I don't know anything about it because I avoid non-portable Windows-specific things. --bb
May 30 2007