Hello List,

I wanted to ask about the use of DBPacket.  Rather than making use of the
LoadDatabase function in Barry::Mode::Desktop, I wanted to send my own
command and receive a raw packet.  I am working under the impression that I
can do something like this:

...
Barry::Mode::Desktop desktop(con);
desktop.Open(); //Implement password at a later stage
Data command, response;
DBPacket packet(desktop, command, response);
packet.GetRecords(dbId);
...

First off, is this the correct direction to move in?  If not, I'd appreciate
some guidance on how best to move forth with requesting my own Database
Packet.  Second, if I am on the right track, then it seems like in order to
initiate "packet", I need to include "packet.h" in my code.  The problem is
that packet.h was nowhere to be found in my include directory.  This leaves
me with a few conclusions: 1) either packet.h was not copied during the
"make install" phase. 2) I am supposed to use another approach to initiate
DBPacket. 3) I am not supposed to initiate DBPacket at all and use another
approach :)

Please let me know if I'm moving in the right direction or if there is a
better way to accomplish what I am after.

Thank you,
Sheran
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to