hi, a problem of object proxy handle.
I've met a problem of object proxy handle.
interface resultset
{
next();
int getInt();
double getDouble();
......
};
interface mydatabase
{
resultset executeQuery(string sql);
};
For example, I've implemented the interface mydatabase (class MySQLDB). And the executeQuery method returns a resultsetprx.
I know if I test the program with a client and a server, all will be OK!
But, I just want write an application with class "MySQLDB".
Can resultsetprx be used in a single program without communication between client and server?
Any of your help will be appreciated!!!
Sean Ho.
|