C++ dll wrapper and fast data I/O

44 views
Skip to first unread message

Paul Jurczak

unread,
May 16, 2011, 4:59:45 AM5/16/11
to CLIPSESG
Hello,

I'm using C++ dll wrapper with data I/O through Eval function member:

ostrstream s;
s << "(assert-string \"(vertex " << i << " " << j << " " << k << ")
\")" << ends;
auto a = clips.Eval (s.str());

I wonder if there is a faster method easily available, which would not
require composing and parsing of character buffer. Do I have to use C
API instead of C++ dll to get there?

Paul

CLIPS Support

unread,
May 17, 2011, 2:09:53 PM5/17/11
to CLIPSESG
Whose C++ dll wrapper are you using?

Paul Jurczak

unread,
May 31, 2011, 3:13:15 AM5/31/11
to CLIPSESG
Sorry for the delay. I'm using CLIPS 6.3 Beta for Windows and wrappers
from Integration Examples directory included in source code installer.

I will probably have to try C API anyway, since I'm experiencing
problems with return values from Eval() in a large MFC+Qt Visual
Studio project. The same CLIPS API calls work fine with minimum Win32
application, so I don't think it is CLIPS fault.
Reply all
Reply to author
Forward
0 new messages