# DirectX Sample Framework - GUI - How to use with existing Application and Device ?

This topic is 4617 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello and good evening, firstly thanks to the operators and users of this forum for this great discussion platform. Ive already solved some problems in the past by reading some posts here. Now I have one question about the latest DirectX Sample Framework for which I found no answer yet. I have an existing DirectX device and also a existing application Window which I want to use for the GUI system of the sample framework (I only want to use the GUI system of the sample framwork and no other crap !). How can I do this ? I did not find any tutorial about that yet (only a tutorial about creating a application with the sample framework at Msdn) ! Thanks in advance for any tip and any line of source !! :=) By the way i have to add that Im developing my Application with Borland Delphi, but I also know C and can translate the source without any problem (in DirectX it`s nearly the same). Greetings, Thomas