473,480 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bug or me?

GB
OK. This one is driving me crazy and I need help before I toss my computer
out the window.

I have a winui application that references a dll. That dll references
another dll. In the first dll I call a function in the second dll that
returns an arraylist. If I call the first dll from the winui application,
the arraylist is returned with no problem. When I call the first dll from
the winui application and then have the first dll call the second dll that
creates and populates the arraylist, the array will not be returned. I
can't see or understand why the array list will not return to the calling
application. I other functions that return string and integers with no
error. A sample if the code is below:

'' Win UI
private sub SummaryLoadRowItems
''' do some work
dim str as string
dim arrlist as arraylist =
KioskClientBusinessFacadeProject.GetSummaryRowItem s
str = arrlist(0)
end sub

'''KioskClientBusinessFacadeProject.dll
module BusinessRulesInterface
public function GetSummaryRowItems() as arraylist
return KioskBusinessRulesProject.GetSummaryRowItems
end module

''' KioskBusinessRulesProject.dll
public function GetSummaryRowItems() as arraylist
GetSummaryRowItems as new arraylist
GetSummaryRowItems.add("Test")
end function

Please, any help would be great.

Gary
Nov 20 '05 #1
1 791
On Tue, 18 Nov 2003 15:33:36 -0800, GB wrote:

''' KioskBusinessRulesProject.dll
public function GetSummaryRowItems() as arraylist
GetSummaryRowItems as new arraylist
GetSummaryRowItems.add("Test")
end function


I'm not entirely sure what your problem is, but the function definition
above looks strange to me. It doesn't seem to return a value. Does
something like this work:

Public Function GetSummaryRowItems() As ArrayList
Dim al As New ArrayList
al.Add("Test")
Return al
End Function
--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #2

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

Similar topics

3
11162
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
5764
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
22950
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
8424
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6758
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
7010
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
5362
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
4499
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.