www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - how to use latest platform sdk with dmc and wx26

reply Hakki Dogusan <dogusanh tr.net> writes:
Hi,


In hope to solve my "wxListCtrl doesn't show background color" problem
I tried to use psdk according to directions of Christof Meerwald.

- With the following changes:

- change stl_user_config.h


- commented related sections of missing.h in wx

- rebuild wx libs

- Now my test project compiles ok, but doesn't link:


link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 
/A:512 /RC   :release\resources.RES  adret.LNK
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(droptgt) 
  (1): Symbol Undefined _IID_IDropTarget
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(droptgt) 
  (8): Symbol Undefined _IID_IUnknown
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(dataobj) 
  (1232740): Symbol Undefined _IID_IDataObject
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(dataobj) 
  (1232736): Symbol Undefined _IID_IEnumFORMATETC
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _IID_IPersistFile
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _CLSID_ShellLink
Error: 
C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _IID_IShellLinkA
Errors: 7  Warnings: 0
Build failed


I can't find the required lib to solve the problem.

Can you help, please...


--
Regards,
Hakki Dogusan
Apr 26 2005
parent reply Ingvaldur Sigurjonsson <ingi telia.com> writes:
Hi,

Do a search for 'sdk' in the c++.windows.32-bits group and you'll find a 
discussion and alternative solutions to this problem.

Enclosed you find a .zip-file containing yet another solution. I think I 
found this solution on the net somewhere, maybe from the Wine project! I 
just used it to build a library with dmc.

Just build the library in a directory where you keep your converted MS 
SDK libraries, and link your WxWidgets/Windows applications with the 
library.

I hope I'm not violating any copyright rules, and if I do, it's not on 
purpose.

- ex animo
-- Ingi

Hakki Dogusan wrote:
 Hi,
 
 
 In hope to solve my "wxListCtrl doesn't show background color" problem
 I tried to use psdk according to directions of Christof Meerwald.
 
 - With the following changes:
 
 - change stl_user_config.h

 
 - commented related sections of missing.h in wx
 
 - rebuild wx libs
 
 - Now my test project compiles ok, but doesn't link:
 
 
 link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 
 /A:512 /RC   :release\resources.RES  adret.LNK
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(droptgt) 
  (1): Symbol Undefined _IID_IDropTarget
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(droptgt) 
  (8): Symbol Undefined _IID_IUnknown
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(dataobj) 
  (1232740): Symbol Undefined _IID_IDataObject
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(dataobj) 
  (1232736): Symbol Undefined _IID_IEnumFORMATETC
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _IID_IPersistFile
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _CLSID_ShellLink
 Error: 
 C:\A_C\adret\build\dm\..\..\..\..\WX26\LIB\DMC_LIB\wxmsw26.lib(filename) 
  (1232740): Symbol Undefined _IID_IShellLinkA
 Errors: 7  Warnings: 0
 Build failed
 
 
 I can't find the required lib to solve the problem.
 
 Can you help, please...
 
 
 -- 
 Regards,
 Hakki Dogusan
 
Apr 26 2005
parent Hakki Dogusan <dogusanh tr.net> writes:
Hi,


Ingvaldur Sigurjonsson wrote:
 Hi,
 
 Do a search for 'sdk' in the c++.windows.32-bits group and you'll find a 
 discussion and alternative solutions to this problem.
 
 Enclosed you find a .zip-file containing yet another solution. I think I 
 found this solution on the net somewhere, maybe from the Wine project! I 
 just used it to build a library with dmc.
 
 Just build the library in a directory where you keep your converted MS 
 SDK libraries, and link your WxWidgets/Windows applications with the 
 library.
 
 I hope I'm not violating any copyright rules, and if I do, it's not on 
 purpose.
 
 - ex animo
 -- Ingi
 
Thank you very much! My link and background color problems are solved now. -- Regards, Hakki Dogusan
Apr 27 2005