Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > WinFX General

Vista - Problem getting a DLL working !

 
 
Old 11-13-2006   #1 (permalink)
HokutoNoKen


 
 

Problem getting a DLL working !

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!



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Drive renaming problem/DVD not working Vista hardware & devices
Problem With Games Working Vista General
Problem with sound only working after Sleep Vista hardware & devices
Problem reports and solutions not working. Vista performance & maintenance
Problem getting 2x2 speakers working Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46