I have a problem I wanted to run by the list. Iâm recently back in the
coldfusion world after a several year hiatus. Iâm in the process of trying
to access the methods of a .net component, at this point as a proof of concept.
Once I can do something with it Iâll actually start building
Still no dice. Im banging my head against the wall on this one. I know Ive
got the right path
I opened it up with cffile and dump it to the screen and
its there. I dont 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
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:
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.
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
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
That was my first thought too. But the documentation is pretty clear that its
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
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.
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
9 matches
Mail list logo