Pass an object to a VB Activex DLL

Posted on 2009-02-23
Medium Priority
Last Modified: 2013-11-15
I have a problem with VB6.0 Activex.DLL
I have a public functions with an object as a parameter and the function returns a integer.
For some reason this UFL function does not show up in CR11 when I refer this DLL, but if I have the function without the Object as the parameter then it shows up.
My question is does CR 11 allow Objects as parameters when referred through UFLs.

Public Function ABCD(kkk As String, nnn As Integer, objJob As Object) As Integer
Above does not show up in CR 11 UFL
Public Function ABCD(kkk As String, nnn As Integer) As Integer
Removing the obj parameter the function shows up in UFL.
Please help.

Open in new window

Question by:smuralissm
  • 2
LVL 101

Expert Comment

ID: 23716332
That may be the issue.

Can you break the object up?

What object are you trying to pass to the UFL?
As far as I know you can only pass data.


Author Comment

ID: 23718557
Hi mimcc

In that case how was the same suff working wll in CR 8.5.
The Object contains encrypted data replicating a mdb. ( around 10 table info

LVL 101

Accepted Solution

mlmcc earned 375 total points
ID: 23726207
I don't know unless the CR8 dlls weren't as concerned with the data being passed as the CR XI version is.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question