|
Mere hirikimete konstantin
your kpad is much appreciated, please update the information which pops up when ? help is selected.
|
|
|
|
|
VirusTotal reports two trojans in the file linked to "Download demo project - 52 Kb"
The file is named "kPad_demo.zip"
It contains one file -- kPad.exe -- dated 8/6/2000 3:25 PM
VirusTotal finds no issues other than reporting two items:
- Trojan.Malware.300983.susgen
- Trojan.Patched.Win32.120911
Are these false positives?
|
|
|
|
|
Thanks for a fantastic app!
To get the source to build on WTL7.1 with Visual Studio.NET 2003, change the following lines to:
mainfrm.h(241): UISetCheck(ID_VIEW_TOOLBAR, (BOOL)m_bShowToolBar);
mainfrm.h(242): UISetCheck(ID_VIEW_FORMAT, (BOOL)m_bShowFormatBar);
mainfrm.h(243): UISetCheck(ID_VIEW_STATUS_BAR, (BOOL)m_bShowStatusBar);
mainfrm.h(466): UISetCheck(ID_VIEW_TOOLBAR, (BOOL)m_bShowToolBar);
mainfrm.h(478): UISetCheck(ID_VIEW_FORMAT, (BOOL)m_bShowFormatBar);
mainfrm.h(487): UISetCheck(ID_VIEW_STATUS_BAR, (BOOL)m_bShowStatusBar);
This will prevent an error occuring due to the ambiguous call to UISetCheck.
And remove:
stdafx.cpp(7): #include <atlimpl.cpp>
This will remove the atlimpl.cpp warning.
[edit]You could wrap this line in an #if to test if the version is less than 7.0, but I'm just plain lazy...
i.e.
#if (_ATL_VER < 0x0700)
#include <atlimpl.cpp>
#endif //(_ATL_VER < 0x0700)
Oh, and don't forget to add #define OEMRESOURCE to stdafx.h!
[/edit]
Hope that helps someone!
Matt
"If we knew what it was we were doing, it would not be called research, would it?"
- Albert Einstein
|
|
|
|
|
you just help me.thanks.
|
|
|
|
|
I got this error when compiling:
D:\project\2FindToolbar\utils.cpp(7) : fatal error C1083: Cannot open include file: 'T_SafeVector.h': No such file or directory
Thanks for your great work.
|
|
|
|
|
Hi
I get the same error. Did you resolve it?
thanks
nat
|
|
|
|
|
A great article !
A suggestion for further development is the OLE support.
See "SAMPLE: RichEdit.exe - Inserts OLE Object Capabilities" Q141549
http://download.microsoft.com/download/platformsdk/sample53/1/W95/EN-US/RichEdit.exe
I included the OLE classes into my own WTL project. Some adaptions and it works reasonably, but it's not perfectly yet.
|
|
|
|
|
WTL has any support like "CArray" or "deque"?
Thank you!
geanz@963.net
|
|
|
|
|
Yes, you can still use STL. ATL7/WTL7 CArray support is much imporved. Much less code bloat than STL. 3-4k per instance of a std::vector for example.
However, I had no problem using STL and WTL in my last project.
Tim Smith
"Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution."
Hoare - 1980 ACM Turing Award Lecture
|
|
|
|
|
I've seen KPAD work perfectly on Windows 2000, but I'm stuck with NT4.0 SP6 for at least another month or two. Compiling with VC 6 is no problem thanks to the latest SDK but I'm having a run-time error JUST on NT.
The error message says:
"The procdure entry point GdiGradientFill could not be located in the dynamic link library GDI32.dll"
I tried updateing GDI32.dll but it's locked by Windows and can not be accessed. I also tried adding GDI32.lib to the kpad project in hope of eliminating the need for the dll with no success.
Does anyone know of a way to get around this error?
|
|
|
|
|
私も同じ現象が出ています。誰か解決方法を教えて下さい。
|
|
|
|
|
Hi!
atlres.h file not in source code.
please send me atlres.h
thanks.
|
|
|
|
|
This is part of the WTL library wich you have to install.
|
|
|
|
|
|
I too got 31 errors which are exactly same as the ones already posted.
|
|
|
|
|
I get 14 errors while compiling the "MTPad", a WTL's sample project included in WTL3.1 package.
It seems that the definitions of "LPNMREBARCHEVRON" and "PRINTDLGEX" are missing.
The definition of "NMREBARCHEVRON" can be found in "commctrl.h"
I changed "LPNMREBARCHEVRON" to "NMREBARCHEVRON*" and included the "commctrl.h", but the errors were the same.
(The include path has been added to MSDEV, and the other three samples -- BmpView, GuidGen, MdiDocVw -- can be compiled and built successfully.)
Who can tell me where is the problem?
|
|
|
|
|
Me too get the 31 error messages, as stated in the previous article. I do have included WTL include directory, and trying some of the sample WTL programs it works fine. I incluede #DEFINE directive as suggested, but it still won't compile. I use WinME OS. Any suggestions?
beginner
|
|
|
|
|
Hi, when i try to compile kPad, I get 31 errors, I have installed sp5 and thw Wtl3.1 from that other article. the errosr i get are repeated in different files.
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2146: syntax error : missing ';' before identifier 'lpnm'
c:\program files\microsoft visual studio\vc98\include\atlframe.h(882) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atlframe.h(882) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2501: 'lpnm' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atlframe.h(882) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<tbase,twintraits>' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1161) : error C2504: 'IPrintDialogCallback' : base class undefined
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1360) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<t>' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2146: syntax error : missing ';' before identifier 'm_pdex'
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1360) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<t>' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2501: 'PRINTDLGEX' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1360) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<t>' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2501: 'm_pdex' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1360) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<t>' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1161) : error C2504: 'IPrintDialogCallback' : base class undefined
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1363) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class wtl::cprintdialogex="">' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2146: syntax error : missing ';' before identifier 'm_pdex'
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1363) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class wtl::cprintdialogex="">' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2501: 'PRINTDLGEX' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1363) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class wtl::cprintdialogex="">' being compiled
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1165) : error C2501: 'm_pdex' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atldlgs.h(1363) : see reference to class template instantiation 'WTL::CPrintDialogExImpl<class wtl::cprintdialogex="">' being compiled
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2146: syntax error : missing ';' before identifier 'lpnm'
c:\program files\microsoft visual studio\vc98\include\atlframe.h(887) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
c:\windows\profiles\nnamdi\desktop\things\thing\mainfrm.h(31) : see reference to class template instantiation 'WTL::CFrameWindowImpl<class cmainframe,class="" atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atlframe.h(887) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
c:\windows\profiles\nnamdi\desktop\things\thing\mainfrm.h(31) : see reference to class template instantiation 'WTL::CFrameWindowImpl<class cmainframe,class="" atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
c:\program files\microsoft visual studio\vc98\include\atlframe.h(275) : error C2501: 'lpnm' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\atlframe.h(887) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<class atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
c:\windows\profiles\nnamdi\desktop\things\thing\mainfrm.h(31) : see reference to class template instantiation 'WTL::CFrameWindowImpl<class cmainframe,class="" atl::cwindow,class="" atl::cwintraits<114229248,262400=""> >' being compiled
============================================================
Please Help!
|
|
|
|
|
It seems you use out-of-date Platform SDK.
Try to download latest SDK from MS site.
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
|
|
|
|
|
Thanks a lot. This sample, is by far thee best that I have ever seen anywhere on the net.
|
|
|
|
|
Sorry to bother you again, but i downloaded and installed the entire platform sdk (all 330 mb of it) and i still keep getting the same errors.
it seems that the problems are all in the files altdlgs.h and altframe.h. As i am new to alt and wtl, i do not know hot to fix this problem, did you alter your files in any way?
|
|
|
|
|
I think, now the cause in order of include files.
check your VC IDE Options->Directories->Include Files.
latest MS SDK must be first in list
Also, modify the stdafx.h file, add next line:
#define OEMRESOURCE
it will fix bug with incompatibility CmdBar.h and latest MS SDK.
|
|
|
|
|
What is the location of this sdk?
|
|
|
|
|
Definitely, somewhere on your hard disc if you downloaded and installed it.
|
|
|
|
|
What is the path like, i checked out the place it installs to, but there was not any includes (Program Files\Microsoft SDK), can you tell me what your settings say, and i will adapt the path to my own, see if that works
|
|
|
|