Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #79450
| From | Boris Dorestand <bdorestand@example.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | how to compile the bulk copy program |
| Date | 2021-05-07 19:07 -0300 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <86sg2y42pz.fsf@example.com> (permalink) |
I'm trying to compile Pavel's bulk copy program https://github.com/zodiacon/Win10SysProgBookSamples/tree/master/Chapter11/BulkCopy Not a C++ programmer, nor a Windows person. I wonder if the context is on-topic. I also don't know which group would be more appropriate. With the WTL latest version obtained from https://wtl.sourceforge.io/ I get some compiler errors. I then tried to use the previous version of WTL, which dates back to 2015. I get other error messages. I suppose my problem is having either the wrong compiler or the wrong headers. Any directions you point me to will be useful. Thank you. (/) WTL 10, year 2020 ``c:\sys\emacs\usr\win\tmp\Win10SysProgBookSamples\Chapter11\BulkCopy>cl MainDlg.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29914 for x86 Copyright (C) Microsoft Corporation. All rights reserved. MainDlg.cpp MainDlg.cpp(33): error C2664: 'int WTL::CListViewCtrlT<ATL::CWindow>::InsertColumn(int,LPCTSTR,int,int,int,int,int)': cannot convert argument 2 from 'const wchar_t [7]' to 'LPCTSTR' MainDlg.cpp(33): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast`` [...] (/) WTL 9.1, year 2015 ``c:\sys\emacs\usr\win\tmp\Win10SysProgBookSamples\Chapter11\BulkCopy>cl MainDlg.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29914 for x86 Copyright (C) Microsoft Corporation. All rights reserved. MainDlg.cpp \sys\ms\WTL91_5321_Final\include\atlctrls.h(5101): error C2039: 'CString': is not a member of 'WTL' \sys\ms\WTL91_5321_Final\include\atlctrls.h(83): note: see declaration of 'WTL' [...]
Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread
how to compile the bulk copy program Boris Dorestand <bdorestand@example.com> - 2021-05-07 19:07 -0300
Re: how to compile the bulk copy program red floyd <no.spam.here@its.invalid> - 2021-05-07 18:02 -0700
[OT] Re: how to compile the bulk copy program Paavo Helde <myfirstname@osa.pri.ee> - 2021-05-08 09:48 +0300
Re: [OT] Re: how to compile the bulk copy program Boris Dorestand <bdorestand@example.com> - 2021-05-08 07:46 -0300
csiph-web