VENSIM_GET_INFO
Posted: Mon Sep 25, 2006 7:42 am
Hi,
I'm using c# to build a program with "DLL".
I declare your library function as follows:
***
public static extern int vensim_get_info(int infowanted, StringBuilder buf, int maxbuflen);
***
and I call this function:
***
sb = new StringBuilder(500);
Vensim.vensim_get_info(10, sb, 500);
***
but the function returns only the first name of the currently loaded runs.
How I can get all the data?
Kind regards, Paolo.
I'm using c# to build a program with "DLL".
I declare your library function as follows:
***
public static extern int vensim_get_info(int infowanted, StringBuilder buf, int maxbuflen);
***
and I call this function:
***
sb = new StringBuilder(500);
Vensim.vensim_get_info(10, sb, 500);
***
but the function returns only the first name of the currently loaded runs.
How I can get all the data?
Kind regards, Paolo.