Re: Error calling a .net object

2015-03-25 Thread Charles Sheehan-Miles
Still no dice. I’m banging my head against the wall on this one. I know I’ve got the right path… I opened it up with cffile and dump it to the screen and it’s there. I don’t have an asp application using it, going to try that next. If I can get it to work there, at least it will give me some

Re: Error calling a .net object

2015-03-25 Thread Bobby
Its not necessarily saying the method doesn't exist, it is saying it doesn't exist with the arguments and/or argument TYPEs you are giving it. Look at the types in the dump of the method you mentioned and try to javacast() your values to match those types when passing them in. example:

Re: Error calling a .net object

2015-03-25 Thread Bobby
I gave the benefit of the doubt but that is also my primary suspicion (file object vs path). On 3/25/15, 9:17 AM, Byron Mann byronos...@gmail.com wrote: I know I've done things like pass a file path (string) instead of file object, so make sure the type the method wants is string or otherwise.

Re: Error calling a .net object

2015-03-25 Thread Byron Mann
I know I've done things like pass a file path (string) instead of file object, so make sure the type the method wants is string or otherwise. So might look if the function is this: OpenDesign(File, Int) as opposed to: OpenDesign(String, Int) ~Byron On Wed, Mar 25, 2015 at 9:08 AM, Bobby

Re: Error calling a .net object

2015-03-25 Thread Bobby
Javacast the 0 as short and the path as a string and see how that goes. example: opendesign(javacast('string',thisfile), javacast('short',0)) On 3/25/15, 9:45 AM, Charles Sheehan-Miles char...@sheehanmiles.net wrote: That was my first thought too. But the documentation is pretty clear that

Re: Error calling a .net object

2015-03-25 Thread Charles Sheehan-Miles
That was my first thought too. But the documentation is pretty clear that it’s looking for the file path, and the dump shows this: OpenDesign(java.lang.String, short) On Mar 25, 2015, at 9:23 AM, Bobby bo...@acoderslife.com wrote: I gave the benefit of the doubt but that is also my

Re: Error calling a .net object

2015-03-25 Thread Byron Mann
Anyone have any ideas if the introspection into .NET objects shows private methods? May be the case that the method is private being shown in the CFDump? I seem to remember this might be the case. May be able to use this to decompile the dll and see what is what.

Re: Error calling a .net object

2015-03-25 Thread Charles Sheehan-Miles
I’ll take a look at that. This “inherited an application with no documentation” is exactly my situation. This DLL is a black box. Thank you! On Mar 25, 2015, at 11:06 AM, Byron Mann byronos...@gmail.com wrote: Anyone have any ideas if the introspection into .NET objects shows