Embed Application

Bill Baxter dnewsgroup at billbaxter.com
Wed May 30 12:32:19 PDT 2007


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


More information about the Digitalmars-d-learn mailing list