G
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.GetSummaryRowItems
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
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.GetSummaryRowItems
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