Home » Community » Coffee corner » What next?
Re: What next? [message #45665 is a reply to message #45662] |
Sun, 20 December 2015 10:59   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Mindtraveller wrote on Sun, 20 December 2015 10:00I guess it is time we (U++ users) should help Mirek.
1. First of all, we must update comparison on U++ site adding more comparisons showing more cases of U++ usage vs Qt/wxWidgets. Comparisons must be 'honest' even if U++ shows little/no advantage in the particular scenario.
2. Second, we must start writing 'U++ red book' showing methodology and techniques of different aspects of U++ programming. Especially those which are very different from widely used ones.
This is something very different from U++ help. It is more a teaching book than a reference.
I believe this is something U++ needs a lot. U++ is very hard to learn mostly because the most of knowledge is scattered among this forum and is hard to find.
[/code]
Well, the idea always was that 'reference' contains all that knowledge in form of simple examples...
Mean
a) teaching book might take 'reference' as sort of outline for 'red book'
b) it would be worth to somehow gather all issues not covered there
[code]
3. Each U++ user should write 1-2-3 or more articles on different interesting aspects of U++, preferably one in it's own language and the second one in English. Topics include: new U++ features (for the recent year), Rainbow/Mac/Android compatibility, Core containers, etc.
This is really something we (users) may do without passing it on to Mirek.
It would be great. I am not so sure about other languages than English, it proved rather hard to maintain.
Anyway, for the best effect, I would propose publishing articles elsewhere first (codeproject?). It is simple to move it to our website later.
I believe that something like that would have the most impact of all.
The source of inspiration can easily be examples/reference...
|
|
|
Re: What next? [message #45666 is a reply to message #45663] |
Sun, 20 December 2015 11:21   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
One more thing we should possibly do is to analyze user's opinions on U++.
1. Search Internet for articles/reviews on U++. Then we make, say, google document on all these reviews containing links found.
2. Extract PROs and CONs from actual reviews we gathered.
3. Analyze CONs and PROs and make forum thread on possible ways to remove CONs and tell about PROs to more users.
And one more thing: the links on articles written should also be collected per user and in one place (say, google doc). So that we see some statistics.
[Updated on: Sun, 20 December 2015 11:30] Report message to a moderator
|
|
|
Re: What next? [message #45670 is a reply to message #45666] |
Sun, 20 December 2015 21:29   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
Mindtraveller wrote on Sun, 20 December 2015 11:21One more thing we should possibly do is to analyze user's opinions on U++.
1. Search Internet for articles/reviews on U++. Then we make, say, google document on all these reviews containing links found.
2. Extract PROs and CONs from actual reviews we gathered.
3. Analyze CONs and PROs and make forum thread on possible ways to remove CONs and tell about PROs to more users.
And one more thing: the links on articles written should also be collected per user and in one place (say, google doc). So that we see some statistics.
I tried to do "1." few months back, and I didn't found anything really interesting. I think there were like 1-3 blog-like short reviews. Maybe I didn't dig hard enough into search results, but I think it's more like the whole framework is almost invisible to the world (as it happens with SW ... like PHP Nette framework, top quality stuff, yet hardly used outside of CZ).
But if I ever saw some PROs, it usually followed my own list: lean and small codebase (and small download), download was easy to install and compile first example (now even easier with "portable" release).
After that CONs show usually fast: the learning curve kicks in (obviously, it's C++, even my own old source looks alien to me ), "mandatory" usage of TheIde, and while U++ is sort of condensed and delivering a lot over small space - it's not as wide as f.e. Qt, lacking thing here and there.
I'm now probably too long here to asses the *real* impact of those things. For me personally the biggest annoyance is debugger (and I rather learned to not need it most of the time), and to include 3rd party libraries in TheIde at source level (I maintain one project with Tesseract OCR lib, included as sources... takes me some 1-2h to update the files and project, as it's not simple "compile everything what's on disc"), and missing refactoring tools (none). Overall I'm quite happy with U++, unfortunately most of the work time I have to develop in other languages and IDEs (android studio :/ ).
Anyway, I think we should try to get some stories from newcomers, they will be probably quite different, and maybe unexpectedly complicated on things we don't see as any problem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: What next? [message #46035 is a reply to message #45746] |
Sun, 21 February 2016 17:21   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi,
I'm cooperating with an Italian electronic magazine, which is (among others) very focused on IOT / embedded development.
We're pushing an arduino-compatible board with some success, and we're planning to provide many android apps to control it.
So, when UPP will be ready for android development, I guess I can write a series of articles about UPP on that magazine,
along with some developed Androids apps.
The magazine is on-paper in Italy, has on-paper associates in Spain and in France, and has an on-line companion in english, so the visibility should be good.
Ciao
Max
|
|
|
|
|
|
|
Re: What next? [message #46520 is a reply to message #46517] |
Thu, 19 May 2016 17:17   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Hi,
I think, we can find all MSCxx installation paths, by enumeration of registry subkeys and values.
please, test the function below, and let us know if it success or fail to detect your.
on my win7 64, it show:
SDK found:
C:\Program Files (x86)\Windows Kits\10
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A
C:\Program Files (x86)\Windows Kits\8.0
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A
C:\Program Files (x86)\Windows Kits\8.1
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A
Visual Studio found:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\
C:\Program Files (x86)\Microsoft Visual Studio 12.0\
C:\Program Files (x86)\Microsoft Visual Studio 14.0\
the code:
#include <Core/Core.h>
using namespace Upp;
Vector<String> GetWinRegSubKeys(String reg_path, HKEY base_key = HKEY_LOCAL_MACHINE)
{
HKEY key = 0;
DWORD dwSize = 0;
DWORD count; // subkeys
Vector<String> v;
if(RegOpenKeyEx(base_key, reg_path, 0, KEY_READ, &key) != ERROR_SUCCESS)
return v;
StringBuffer buf(2048);
RegQueryInfoKey(key,NULL,NULL,NULL,&count,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
for(int i=0; i< count; i++){
dwSize = 2048;
RegEnumKeyEx(key,i,buf,&dwSize,NULL,NULL,NULL,NULL);
v.Add( String(buf.Begin(), dwSize)) ;
}
RegCloseKey(key);
return v;
}
Vector<String> GetWinRegValues(String reg_path, HKEY base_key = HKEY_LOCAL_MACHINE)
{
HKEY key = 0;
DWORD dwSize = 0;
DWORD count; // subkeys
Vector<String> v;
if(RegOpenKeyEx(base_key, reg_path, 0, KEY_READ, &key) != ERROR_SUCCESS)
return v;
StringBuffer buf(2048);
RegQueryInfoKey(key,NULL,NULL,NULL,NULL,NULL,NULL, &count,NULL,NULL,NULL,NULL);
for(int i=0; i< count; i++){
dwSize = 2048;
RegEnumValue(key, i, buf, &dwSize, NULL, NULL, NULL, NULL);
v.Add( String(buf.Begin(), dwSize)) ;
}
RegCloseKey(key);
return v;
}
String NormalizePathNN(const String& path)
{
return IsNull(path) ? path : NormalizePath(path);
}
void FindMSC()
{
Vector<String> v = GetWinRegSubKeys("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows", HKEY_LOCAL_MACHINE);
if(v.GetCount())
LOG("SDK found:");
else
LOG("no SDK found");
for(int i = 0; i < v.GetCount(); i++)
{
LOG(NormalizePathNN(GetWinRegString("InstallationFolder",
"SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\" + v[i],
HKEY_LOCAL_MACHINE)));
}
v = GetWinRegValues("SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7", HKEY_LOCAL_MACHINE);
if(v.GetCount())
LOG("Visual Studio found:");
else
LOG("No Visual Studio found");
for(int i = 0; i < v.GetCount(); i++)
{
LOG(GetWinRegString(v[i], "SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7", HKEY_LOCAL_MACHINE));
}
}
CONSOLE_APP_MAIN
{
FindMSC();
}
regards
omari.
|
|
|
Goto Forum:
Current Time: Sat Apr 26 18:25:08 CEST 2025
Total time taken to generate the page: 0.01067 seconds
|