473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Invalid Callee

Please forgive the cross post, I am unsure where to send this too. I am
using a webservice written in vb.net. I create a late bound server object,
then I call a function, When I go to call a second, it gives me an error of
invalid callee. What is causing this errer and is there anyway around it?
See my simple code, Any suggestions?
<WebMethod(Description:="ByRef sCardSpots As System.Array, ByRef sFaceNum As
System.Array")> _

Public Overridable Function GetCards(ByVal lTicket As Integer, ByVal
PlayerStation As Int16, ByVal GameNumber As Int16, ByRef nCardQTYReceived As
Int16, ByRef sCardSpots As String(), ByRef sFaceNum As String()) As Integer

Dim k As Object

Try

Dim ans As Short

getObj(k) ' <--Createobject(server.componate,servername)

k.LoadTicket(lTicket, True) '<--Sets componate to load a specific item

k.setcurrentlevel = 1

k.setcurrentgamepindex = GameNumber

k.GetCards(nCardQTYReceived, sCardSpots, sFaceNum) <--Here is where I get
the invalid callee error

'Catch ex As System.Runtime.InteropServices.COMException

Catch ex As Exception

GetCards = k.cardstartcard

k = Nothing

Exit Function

End Try

k = Nothing

Return 1

End Function

Daryl Davis
Nov 18 '05 #1
0 905

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jerald Fijerald | last post by:
Hello. I'm trying to find an elegant way to longjmp to the callee (aka "generators for C") So far I've come to this experimental program (gcc only as it uses __builtin_frame_address, although...
0
by: Hari | last post by:
Hi everyone, I have a C# based COM DLL that uses an old ocx. The ocx is placed within a panel inside a form that the C# COM DLL displays as a dialog. In the InitializeComponent call, I get the...
9
by: Csaba Gabor | last post by:
Inside a function, I'd like to know the call stack. By this I mean that I'd like to know the function that called this one, that one's caller and so on. So I thought to do: <script...
7
by: VK | last post by:
I was getting this effect N times but each time I was in rush to just make it work, and later I coudn't recall anymore what was the original state I was working around. This time I nailed the...
12
by: -Lost | last post by:
What in the world is functionName.name good for? That is: function functionName() { return functionName.name; } I mean, I already had to write out the function's name so it seems that it is...
2
by: tylersimon | last post by:
Hi, I am trying to write some javascript in which a method in a custom object calls a global function. Within this global function I wish to establish what the object was that called me. I can...
4
by: robert | last post by:
On a server the binary (red hat) installed python2.4 and also a fresh compiled python2.5 spits "sem_post: Invalid argument". What is this and how can this solved? Robert ============== ...
9
by: buntyindia | last post by:
While creating a word doc using Javascript I am getting error "Call was rejected by callee" var objWord=new ActiveXObject('Word.Application'); objWord.Visible = "True"; I am executing this in...
34
by: Jorge | last post by:
Why is it listed here : http://www.crockford.com/javascript/recommend.html under "deprecation" ? Without it, how is an anonymous function() going to call itself (recursively) ? I use to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.