-
Fixed in 6.30.2.
2009-11-14 16:28:04 UTC in OWL Next: C++ Object Oriented Framework
-
Cannot reproduce the problem.
2009-11-14 16:23:25 UTC in OWL Next: C++ Object Oriented Framework
-
The fix will be included in 6.30.3.
2009-11-14 15:46:59 UTC in OWL Next: C++ Object Oriented Framework
-
Fixed in 6.30.2.
2009-11-14 15:40:51 UTC in OWL Next: C++ Object Oriented Framework
-
The fix will be included in 6.30.3.
2009-11-14 15:35:32 UTC in OWL Next: C++ Object Oriented Framework
-
Hello,
I began researching the Unicode streams problem, in Step 12 and 13 of the tutorial.
I found that when saving a file, it is saved as ANSI, but then, when reading it, the buffering mechanism in the private DocView class TFileBuf, which tries to read the file as Unicode.
I am not sure yet, how to fix this problem - should the file be read always as ANSI? Should the file be detected if...
2009-11-14 10:02:17 UTC in OWL Next: C++ Object Oriented Framework
-
TFileDocument still uses obsolete 16-bit compatibility calls like _lopen() to open files.
An issue with these calls is that they support only single-bye file names and not Unicode.
These calls should be replaced with the modern equivalents like CreateFile()
2009-11-13 20:54:29 UTC in OWL Next: C++ Object Oriented Framework
-
Hello,
I'll look at the problems. In the meanwhile, I corrected the tutorial link on the examples page and I will soon upload a new version, which will have VS2008 solution and pojects for the tutorial steps.
Jogy.
2009-11-09 13:38:31 UTC in OWL Next: C++ Object Oriented Framework
-
The code in TRegValue::Set() is as follows:
long ret = Key.SetValue(Name, type, data, dataSize);
if (ret == 0) {
DataType = type;
if (dataSize == DataSize) {
memcpy(Data, data, (int)DataSize); // resync w/ new data if same size
}
else {
DataSize = dataSize; // Otherwise retrieve on demand later
delete[] Data;
Data = 0;
}...
2009-11-07 17:06:53 UTC in OWL Next: C++ Object Oriented Framework
-
Reported by Mike Holmes
If you write a without
reading first, no storage has been allocated and you get an exceptiom:
void f(TRegKey &key, int n)
{
TRegValue value(key, "value_name");
value.RetrieveOnDemand(); // bug fix to allocate storage for the value
value.Set(n);
}
The TRegValue::Set() implementation just needs to allocate if the data
pointer is 0.
2009-11-06 17:01:04 UTC in OWL Next: C++ Object Oriented Framework