Search:

Type: Posts; User: HJoshy

Search: Search took 0.01 seconds.

  1. argv Memory Allocation (updated code)

    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...
  2. argv Memory Allocation

    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...
  3. . I have tried that, believe it or not! I...

    .


    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...
  4. . OK, thanks. That was useful. I left: ...

    .


    OK, thanks. That was useful. I left:


    PL_initialise( 1, argv );

    and got rid of the other 'if' check statement.
  5. Good point tabstop, but what do you mean by "ust...

    Good point tabstop, but what do you mean by "ust save the return code from the first time into a variable" ?
  6. Thanks tabstop. I made my argv a fixed-size...

    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...
  7. How do I do that, given that I am using the above...

    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...
  8. Prolog code causing Access Violation error in VS2008

    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.
Results 1 to 8 of 8