| Subject: Problem getting a DLL working ! |
| Group: microsoft.public.windows.developer.winfx.general |
| Date: 11/13/2006 5:44:02 AM |
| From: "HokutoNoKen" [Email Address Protection] |
Hi all, We have a project consisting of two projects. The first is the main application and the second is an dll. The dlls purpose is to handle dialogs. The dll project consist of an dialog.cpp and a window (window.cs, window.xaml). When we change the proporties on the window such as size, height ect the effects doesn't show up when we create the window from the main program. All properties are "gone". If we add a new window (File->New File) to the main project the that window acts normal and you can set size, height, when you later make a call to it like this: Widow2 myWindow = new Window2(); It will show up with the size and so, like you have choosen for example in the designer view in VS 2005. If we try this: TestWindow myTestWindow = new TesWindow(); (This window is created in the DLL and size, height have been set in the Interactive Designer) The dll window lacks the InitializeComponent that you can find the files that you have created in the main application. And thats the problem ! Please help! |
| Back |