How to call method in class
See original GitHub issueI have a dll like this: classA : method1, method2 classB: method3, method4
How to call method1 ??
var Com = ffi.Library('D:/dll/test.dll', {
'classA.method1': ['bool', ['int', 'long']]
});
var result = Com.classA.method1(1,2);
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
How to call a method in another class of the same package?
From outside the defining class, an instance method is called by prefixing it with an object, which is then passed as an implicit...
Read more >Python Classmethod
A class method is a method that's shared among all objects. To call a class method, put the class as the first argument....
Read more >Defining and Calling Methods | Defining and Using Classes
An instance method is invoked from a specific instance of a class and typically performs some action related to that instance. A class...
Read more >How to Call a Method in Java - Javatpoint
To call a user-defined method, first, we create a method and then call it. A method must be created in the class with...
Read more >How to Call a Method in Java? - JanBask Training
“ If static as a keyword is not there, then the method can only be invoked through an object. E.g., if the class...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue here. No way to use classes.
same here… found no way to call a class method …