Hi Mike !
First, tanks a lot for your answer!
The parameter with byref is result. It's a structure like
this:
public class Ctab
{
protected String tabValeurs[];
protected int nb_elem;
private int MaxElem=50;
private int Ajout=550; // Nombre d'element ajouter si
le tableau est plein
public Ctab()
{
nb_elem=0;
tabValeurs=new String[MaxElem];
}
... ... ...
}
At the moment, i've always the problem. So i've tried to
migrate my j++ project to C# using jlca. All is good, my
project is migrated.
And I've always the same problem.
I've found a help page who talking of my problem:
http://support.microsoft.com/default.aspx?scid=kb;EN- US;197957
When passing a parameter to a COM Component's method in
Active Server Pages (ASP) using VBScript, either the
following error occurs:
Microsoft VBScript runtime error '800a000d' Type mismatch
Or the value stored in the variable passed to the method
is not changed.
I don't what I must do.
[quoted text, click to view] >-----Original Message-----
>Hello Vincent,
>
>Let me just say your English is much better than my
French!
>Which parameter(s) in
>
>public int Scan (String Source, String Dep,String
Arrivee,Ctab result)
>
>Are byref? In managed code Strings are immutable (they
cannot change), have
>you tried using StringBuilder instead of String? There is
no byref keyword
>in J#, but you can pass an array instead. For example if
you needed to pass
>an int as byref you could pass an int[] instead.
>
>I hope this helps,
>
>Mike Green
>Microsoft Developer Support
>
>
>.