Could someone please tell me what I am doing wrong that I get this Unhandled Exception error message:
0xC0000005: Access violation reading location 0x0000000c.
with a green pointer...
Type: Posts; User: HJoshy
Could someone please tell me what I am doing wrong that I get this Unhandled Exception error message:
0xC0000005: Access violation reading location 0x0000000c.
with a green pointer...
Have attended to my replies and revised my code.
Now, I was wondering if someone could tell me what I am doing wrong that I get this Unhandled Exception error message:
0xC0000005: Access...
.
I have tried that, believe it or not!
I have tried all the examples in the SWI manual, including the foreign_t and PL_open_frame to no avail in this Robotics program in VS2008.
I am in...
.
OK, thanks. That was useful. I left:
PL_initialise( 1, argv );
and got rid of the other 'if' check statement.
Good point tabstop, but what do you mean by "ust save the return code from the first time into a variable" ?
Thanks tabstop.
I made my argv a fixed-size array of characters, but the error message is persistent...
Original:
I am interfacing C++ and Prolog and I am trying to avoid the plld utility...
How do I do that, given that I am using the above as a Prolog engine initializer?
I'm actually trying to avoid plld and foreign_t complications by loading my Prolog sources and initializing them...
Does anyone know why including a term such as:
t = PL_new_term_ref();
would cause an Unhandled Exception error message:
0xC0000005: Access violation reading location 0x0000000c.