Questions tagged [invocation]
187 questions
1
vote
3 answers
Direct invocation vs indirect invocation in C
I am new to C and I was reading about how pointers "point" to the address of another variable. So I have tried indirect invocation and direct invocation and received the same results (as any C/C++ developer could have predicted). This is what I…

Mohit Deshpande
- 53,877
- 76
- 193
- 251
1
vote
1 answer
Resharper: Ambiguous Invocation
Using Resharper I get the following message:
Ambiguous InvocationSolution ITicket.sln
Project ITicket
ITicket\frmMainTicket.cs:530 Ambiguous invocation: void DisableAllFields() (in class frmMainTicket) void DisableAllFields()
…

Anthony
- 193
- 1
- 13
1
vote
2 answers
Can modern IDE detect field/method usage in subtree?
I often meet following problem:
I have following code:
void rootMethod(){
C c = method1(a,b);
method2(c);
}
C looks like this:
class C{
Type1 param1;
Type2 param2;
}
I want to find all places where inside method2 and all methods…

gstackoverflow
- 36,709
- 117
- 359
- 710
1
vote
1 answer
java - ensuring that method will be called at the end of child class construction
I've got abstract class :
public abstract class MyComposite extends Composite {
protected abstract void initHandlers();
}
And a buch of classes which extends it. How to ensure that method initHandlers() is going to be called at the end of…

Piotr Sołtysiak
- 998
- 5
- 13
1
vote
1 answer
Why does my Blackberry java application restarts itself?
I want to open ContentHandler to show image in full screen.So i used the following code to view a selected image in full screen
Invocation invocation = new Invocation(imageFilePath);
invocation.setAction(ContentHandler.ACTION_OPEN);
Registry…

Asha Soman
- 1,846
- 1
- 18
- 28
1
vote
2 answers
What is the relationship between a function invocation and the keyword 'this'?
I am pretty new to JavaScript, and I've just started working with .apply() and other methods that use the keyword this, and I can tell that this has something to do with the context in which the function is invoked, but I'd really like to…

EMC
- 1,560
- 2
- 17
- 31
1
vote
2 answers
AIR application talking to Java
I have situation when I need to communicate with Java process somehow. Java handling all DB works AIR just UI. It would be very nice to have AFM protocol implementation over sockets. Ideally approach with RemoteObject already existing in framework…

xchg.ca
- 1,154
- 2
- 15
- 28
1
vote
1 answer
Programmatically set invocation property in mule
I'm trying to set an invocation property in Mule 3.3.1 to be used in a "Choice" flow control. My flow has a transformer (extending the AbstractTransformer) and in it I'd like to set an invocation property based on certain logic. I can set it in the…

techRunner
- 209
- 1
- 5
- 17
1
vote
1 answer
JavaScript function invocation in Java Code
I pass a function from JavaScript file into Java code. JavaScript function looks like:
entity.handler = function(arg1, arg2) {
//do something
};
In Java code the class implements the Scriptable interface. And when I invoke the JavaScript,…

Alexandr
- 9,213
- 12
- 62
- 102
1
vote
3 answers
Core dump following g++ compilation + link with jni and subsequent execution of application using C++ and Java
I require to execute some arbitrary Java code from within C++. I am utilizing the JNI for this but have encountered an issue. The C++ file compiles fine, however upon execution the following is produced:
A fatal error has been detected by the Java…

RibbitRiot
- 19
- 1
- 6
1
vote
0 answers
Undefined symbols for architecture i386 linker command failed with exit code 1 (use -v to see invocation)
I have looked through other questions that had similar issues, but I still can't figure out what is wrong. This is my first app and the other answers didn't make much sense. I keep getting the same error:
Ld…

user1794374
- 25
- 1
1
vote
1 answer
PHPUnit - When is a method counted as 'executed'/'called' by invocation count?
I got a problem with my PHPUnit test. I have a method like:
public function bla()
{
$this->blub();
}
$_testObject is a mocked instance of Foo, like this:
public function setUp()
{
$this->_testObject = $this->getMockBuilder('Foo')
…

beToiba
- 163
- 2
- 7
1
vote
1 answer
How to determine the Method invoked by an InvokeInstruction (BCEL)?
I am trying to determine the MethodGen of the callee for a given InvokeInstruction in the BCEL library. The problem is that I don't know how to use the InvokeInstruction to get to the MethodGen that it is trying to invoke.
If I have a BCEL MethodGen…

jbranchaud
- 5,909
- 9
- 45
- 70
1
vote
1 answer
Xcode build problems
I'm getting these feedbacks for two errors I keep getting when I try to "build" (which fails):
(this project built & ran fine before I upgraded my IOS device to 5.1 -- I can't even use the simulator either)
1st error:
…

robmack
- 11
- 4
1
vote
0 answers
Invocation on delegate is not called while applicationWillResignActive
I have an application with some ViewController pushed. I login at a JSON webservice, get some data and do some work while the application is active. When the app is closed or moved to background I want to logoff off.
usually this is working, my…

Herm
- 2,956
- 19
- 32