How does start menu in Win7 select the most useless new application i've installed?
Building ConEmu
Problems with ConEmu building from
https://github.com/Maximus5/ConEmu.git v14.01.06
in Visual Studio 2010
ConEmuC
unresolved external symbol __imp__wsprintfA - add additional dependency User32.libConEmuCD
Error 3 error LNK2001: unresolved external symbol __imp__CharUpperBuffW@8Error 4 error LNK2001: unresolved external symbol __imp__MapVirtualKeyW@8
Error 5 error LNK2001: unresolved external symbol __imp__VkKeyScanW@4
Error 6 error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4
Error 7 error LNK2001: unresolved external symbol __imp__IsRectEmpty@4
Error 8 error LNK2001: unresolved external symbol __imp__MonitorFromRect@8
Error 9 error LNK2001: unresolved external symbol __imp__GetMonitorInfoW@8
Error 10 error LNK2001: unresolved external symbol __imp__MonitorFromWindow@8
Error 11 error LNK2001: unresolved external symbol __imp__SystemParametersInfoW@16
etc.
Error 101 error LNK1120: 98 unresolved externals
add User32.lib to reduce number of warnings from 99 to 32
Error 3 error LNK2001: unresolved external symbol __imp__LogonUserW@24
Error 4 error LNK2001: unresolved external symbol __imp__RegCreateKeyExW@36
Error 5 error LNK2001: unresolved external symbol __imp__RegQueryValueExW@24
Error 6 error LNK2001: unresolved external symbol __imp__CreateCompatibleDC@4
add advapi32.lib to reduce number of warnings from 32 to 14
Error 3 error LNK2001: unresolved external symbol __imp__SHGetFolderPathW@20
Error 4 error LNK2001: unresolved external symbol __imp__ShellExecuteExW@4
Error 5 error LNK2001: unresolved external symbol __imp__ShellExecuteW@24
add gdi32.lib to reduce number of errors from 14 to 3.
add shell32.lib to reduce number of errors to 0
ConEmuHk
Error 3 error LNK2001: unresolved external symbol __imp__CharUpperBuffW@8
Error 4 error LNK2001: unresolved external symbol __imp__MapVirtualKeyW@8
Error 5 error LNK2001: unresolved external symbol __imp__VkKeyScanW@4
Error 6 error LNK2001: unresolved external symbol __imp__GetCursorPos@4
Error 7 error LNK2001: unresolved external symbol __imp__MapVirtualKeyExW@12
.....
Add User32.lib to reduce from 20 to 4:
Error 3 error LNK2001: unresolved external symbol __imp__RegOpenKeyExW@20
Error 4 error LNK2001: unresolved external symbol __imp__RegCloseKey@4
Error 5 error LNK2001: unresolved external symbol __imp__LogonUserW@24
Add advapi32.lib to fix all
Bonus:
links to Russian habrahabr:
http://habrahabr.ru/company/epam_systems/blog/204368/
Free software for screen video capture
CamStudio 2.7
works fine
Rylstim-Screen-Recorder
There were some troubles while recording ConEmu software
Portable version is availableHyperCam 2
http://www.hyperionics.com/hc/Works well
Migrating from SVN to Git and Mercurial
There is a lot of answers here:
http://stackoverflow.com/questions/79165/how-to-migrate-svn-with-history-to-a-new-git-repository
I found rather useful this one.
A guy made a script according to proposed instructions: https://github.com/onepremise/SGMS
This script will convert projects stored in SVN with the following format:
/trunk
/Project1
/Project2
/branches
/Project1
/Project2
/tags
/Project1
/Project2
This scheme is also popular and supported as well:
/Project1
/trunk
/branches
/tags
/Project2
/trunk
/branches
/tags
Each project will get synchronized over by project name:
Ex: ./migration https://svnurl.com/basepath project1
If you wish to convert the full repo over, use the following syntax:
Ex: ./migration https://svnurl.com/basepath .
I tested on the second structure type and it works. The question is only about saving merge structure. It seems it was lost. :( Branches are ok, but merged revisions are not marked as merged. In other words every revision has single parent
http://stackoverflow.com/questions/79165/how-to-migrate-svn-with-history-to-a-new-git-repository
I found rather useful this one.
A guy made a script according to proposed instructions: https://github.com/onepremise/SGMS
This script will convert projects stored in SVN with the following format:
/trunk
/Project1
/Project2
/branches
/Project1
/Project2
/tags
/Project1
/Project2
This scheme is also popular and supported as well:
/Project1
/trunk
/branches
/tags
/Project2
/trunk
/branches
/tags
Each project will get synchronized over by project name:
Ex: ./migration https://svnurl.com/basepath project1
If you wish to convert the full repo over, use the following syntax:
Ex: ./migration https://svnurl.com/basepath .
I tested on the second structure type and it works. The question is only about saving merge structure. It seems it was lost. :( Branches are ok, but merged revisions are not marked as merged. In other words every revision has single parent
Things about C++
- rules for resolving calls to overloaded functions:
- identify the function that's the best match for the call (name, parameters etc)
- checks accessibility for the best-match function.
Resolving function overloads (my)
Private inheritance
Example from Meyers "Effective C++"
Example of protecting method from redefinition in derived classes:
class Timer {
public:
explicit Timer(int tickFrequency);
virtual void onTick() const; // Called automatically for each tic,
// onTick() must be redefined to do things
...
};
class Widget: private Timer { // private inheritance
private:
virtual void onTick() const; // redefined to make job done
...
};
Now clients of Widget get interface untouched and required job is doneExample of protecting method from redefinition in derived classes:
class Widget {
private:
class WidgetTimer: public Timer {
public:
virtual void onTick() const;
...
};
WidgetTimer timer;
...
};
Classes derived from Widget unable to redefine onClick. Analogue of final in Java and sealed in C#
Subscribe to:
Posts (Atom)