I'm trying use classes in my project, but when i'm try inherit class, I get error:
Error: import `Server.Console` is used as a type
Server.d:
module Server;
import std.string;
import core.sys.windows.windows;
import Console;
class Server : Console {
this(HANDLE hIn, HANDLE hOut) {
super(hIn, hOut);
}
~this() {
// Delete object;
}
}
Console.d:
module Console;
import std.string;
import core.sys.windows.windows;
class Console {
public:
HANDLE hIn;
HANDLE hOut;
this(HANDLE hIn, HANDLE hOut) {
this.hIn = hIn;
this.hOut = hOut;
}
}
What does it mean?