<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFCC" text="#663300">
Hello all, <br>
<br>
I'm working on a C++ project.<br>
For example let's say I have a class called MyClass<br>
<br>
In C++ I might have<br>
<br>
void* ptr = new MyClass(); // Assume default constructor<br>
<br>
What is the proper way to turn ptr into a cl_object?<br>
What is the proper way to decode the encoded cl_object back to C++'s
void pointer so I can recast it?<br>
<br>
I've read the documentation and tried a bunch of things.<br>
Finally giving in and asking for a bit of direction since it's not
working as I'd expect.<br>
<br>
I was using ecl_make_pointer(ptr) to try and make a cl_object<br>
I was using ecl_to_pointer([formerly created cl_object here]) to try
and convert the cl_object pointer to a C++ void*<br>
<br>
Maybe the bug is elsewhere or I'm not understanding...<br>
<br>
Sincerely,<br>
Ryan<br>
<br>
<br>
<br>
<br>
</body>
</html>