C.Net Assembly interface and Methods

  • Follow


Hi

After loading a DLL I am able to view the interfaces and methods. I am unable to call the methods (most likely not doing the write thing). I hope someone can help.

When I list the interfaces I get

    DTNLib._IHistoryLookup3Events'
    DTNLib._IHistoryLookup3Events_Event'
    DTNLib.HistoryLookup3'
    DTNLib.IHistoryLookup3'

Methods for class DTNILib.IHistoryLookup3:
ReqHistoryDailyDatapoints

When I do methodsview I get
Name :         ReqHistoryDailyDatapoints
Argument :   (DTNLib.IHistoryLookup3 this, System. String bstrSymbol, uint32 scalar ulMaxDatapoints)


My problem is how do I call this method.

Thanks
0
Reply Mayowa 8/12/2010 1:25:08 PM

Kinda new to .Net MatLab myself but I will try to help.

You have instantiate an instance of the class (unless they are static methods?)

instance = DTNILib.IHistoryLookup3;
instance.ReqHistoryDailyDatapoints(x,y,z)

"Mayowa " <MAYOWA@IEEEdotORGremove.this> wrote in message <i40snk$mkt$1@fred.mathworks.com>...
> Hi
> 
> After loading a DLL I am able to view the interfaces and methods. I am unable to call the methods (most likely not doing the write thing). I hope someone can help.
> 
> When I list the interfaces I get
> 
>     DTNLib._IHistoryLookup3Events'
>     DTNLib._IHistoryLookup3Events_Event'
>     DTNLib.HistoryLookup3'
>     DTNLib.IHistoryLookup3'
> 
> Methods for class DTNILib.IHistoryLookup3:
> ReqHistoryDailyDatapoints
> 
> When I do methodsview I get
> Name :         ReqHistoryDailyDatapoints
> Argument :   (DTNLib.IHistoryLookup3 this, System. String bstrSymbol, uint32 scalar ulMaxDatapoints)
> 
> 
> My problem is how do I call this method.
> 
> Thanks
0
Reply David 9/2/2010 6:08:19 PM


1 Replies
316 Views

(page loaded in 1.113 seconds)

Similiar Articles:













7/27/2012 1:47:58 AM


Reply: