D
Daniel Diehl
Good morning!
Now I'm sitting over 2 hours on a problem calling a method in the
logitech SDK DLL. Everything is working fine, but calling one method I
fell in a problem. I'm not that old with C# so i hope somebody can
give me a hint in 1 min where I need 2 hours
I get the error message:
The best overloaded method match for
'AxVPORTAL2Lib.AxVideoPortal.GetCameraPropertyLong(int, out int)' has
some invalid arguments
Problem is the 2. argument "out int" .. What the hell do they want ?
defining a int does not work, a bool does not work, leaving blank
also. I called the function currently in that way:
int test;
......GetCameraPropertyLong(10,test);
......GetCameraPropertyLong(10,0);
......GetCameraPropertyLong(10,int alsoatest);
nothing work
... In a VB Example there is written:
Function GetCameraPropertyLong(lProperty As Long, plValue As Long) As
Long
Dim PsOn As Boolean
If VideoPortal1.GetCameraProperty(PROPERTY_PICTSMART_MODE, PsOn) = 0
Then
PsOn = False
End If
Function GetCameraPropertyLong(lProperty As Long, plValue As Long) As
Long
there is a bool defined ??
Somebody an idea how I can call that method?
Thanks for your HELP !!!
Daniel
Now I'm sitting over 2 hours on a problem calling a method in the
logitech SDK DLL. Everything is working fine, but calling one method I
fell in a problem. I'm not that old with C# so i hope somebody can
give me a hint in 1 min where I need 2 hours

I get the error message:
The best overloaded method match for
'AxVPORTAL2Lib.AxVideoPortal.GetCameraPropertyLong(int, out int)' has
some invalid arguments
Problem is the 2. argument "out int" .. What the hell do they want ?
defining a int does not work, a bool does not work, leaving blank
also. I called the function currently in that way:
int test;
......GetCameraPropertyLong(10,test);
......GetCameraPropertyLong(10,0);
......GetCameraPropertyLong(10,int alsoatest);
nothing work
... In a VB Example there is written:
Function GetCameraPropertyLong(lProperty As Long, plValue As Long) As
Long
Dim PsOn As Boolean
If VideoPortal1.GetCameraProperty(PROPERTY_PICTSMART_MODE, PsOn) = 0
Then
PsOn = False
End If
Function GetCameraPropertyLong(lProperty As Long, plValue As Long) As
Long
there is a bool defined ??
Somebody an idea how I can call that method?
Thanks for your HELP !!!
Daniel