Hi, I am a long time reader, it is my first post.
I am testing the program TESTTREE.PRG (from tree_r5.zip) showing trees in MDI-CHILD, dialogs and from resources and it works OK.
When I transferred the tree-from-resources routine into an other program and the resources into an other DLL it stopped working.
If I put "set resources to ´testtree.dll´" before the routine, it works OK
Any hints ?
TIA, Euclides
FW2.0 + BRW
Trees from Resources
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Trees from Resources
"set resources to ´testtree.dll´" is required.
EMG
EMG
Enrico, thanks for the answer.
I did "set resources to..." on the beginning of the main program.
I transferred the TESTTREE.DLL resources to the main program´s DLL via the option: Add to Project... on the BWS.
When running , the tree routine, opens the dialog, shows the bitmaps on the buttonbar, but does not show the tree.
So, to do a test, I inserted a new "set resources to testtree.dll" before the tree routine an a "set resources to main.dll" at the end of the tree routine and the tree routine worked well.
I think there is some difference between the two dlls, but cannot figure what.
Regards, Euclides
I did "set resources to..." on the beginning of the main program.
I transferred the TESTTREE.DLL resources to the main program´s DLL via the option: Add to Project... on the BWS.
When running , the tree routine, opens the dialog, shows the bitmaps on the buttonbar, but does not show the tree.
So, to do a test, I inserted a new "set resources to testtree.dll" before the tree routine an a "set resources to main.dll" at the end of the tree routine and the tree routine worked well.
I think there is some difference between the two dlls, but cannot figure what.
Regards, Euclides
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: