Re: Using C-Predicates in Eclipse

From: Georg Fette <>
Date: Wed 04 Dec 2002 06:36:54 PM GMT
Message-ID: <005601c29bc4$21c43fc0$0400a8c0@wunder>
I have now managed to link my external C++-function to a eclipse-function,
but when I call it in eclipse it simply crashes with a windows-"bad memory
reference error" and my eclipse-ide is closed. When I made some tests with
my C++-function I found out, that the crash happens, when the
input-parameter is unified. This is my code:

#include <eclipseclass.h>

extern "C" __declspec(dllexport) int p_test() {
    char *myString;

    ec_get_string(ec_arg(1), &myString);
    return EC_succeed;

Do I use the ec_get_string-function in a wrong way ?
Thx for answers.

Received on Wed Dec 04 10:26:09 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:19 PM GMT GMT