How to instance mscorlib in Nav 5

Hi!

I'm trying to instance mscorlib.dll in Nav 5 but I can't.

I'm trying this code:

IF CREATE(varArray) THEN
[Code]

With this variable:

varArray Automation 'mscorlib.dll'.Array


How I make this?

Thanks!

Answers

  • archer89archer89 Member Posts: 337
    i also tried that, seems that there is a problem with the Array class in the automation mscorlib.dll, i tested with 2.0 and 2.4. the problem is, that no methods and properties are shown for that class. other classes in that dll work correctly. so i suggest you search for an alternative solution. what is your main issue, what do you want to develope ?
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
  • hGarridohGarrido Member Posts: 4
    archer89 wrote: »
    i also tried that, seems that there is a problem with the Array class in the automation mscorlib.dll, i tested with 2.0 and 2.4. the problem is, that no methods and properties are shown for that class. other classes in that dll work correctly. so i suggest you search for an alternative solution. what is your main issue, what do you want to develope ?

    I want to connect to an any DLL, but the function in DLL needs one parameter like VAR System.Arrray.

    The function it like that:

    Dll.Function(text, text, text, text, text, var System.Array);
  • archer89archer89 Member Posts: 337
    Try to use nav Type Array instead.
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
Sign In or Register to comment.