Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > WinFX General

Problem getting a DLL working !

 
 
Thread Tools Display Modes
Old 11-13-2006   #1 (permalink)
HokutoNoKen
Guest


 

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!


 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Internal Microphone (it isn't working) dotaquote Sound & Audio 8 07-17-2008 04:24 PM
Problem reports and solutions not working. wherenow Vista performance & maintenance 0 03-28-2008 06:15 AM
Problem reports and solutions has stopped working. wherenow Vista performance & maintenance 0 03-27-2008 07:01 AM
Windows Problem Reporting has stopped working. Rex Avery Vista performance & maintenance 5 12-05-2007 08:35 PM
Problem getting 2x2 speakers working sway Vista music pictures video 3 07-29-2007 12:36 AM








Vistax64.com 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 2005-2008

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 47 48 49 50