Pass an object to a VB Activex DLL

Posted on 2009-02-23
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
    LVL 100

    Expert Comment

    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

    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 100

    Accepted Solution

    I don't know unless the CR8 dlls weren't as concerned with the data being passed as the CR XI version is.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    Query Builder on BOXIR2 7 39
    SQL Expression in Crystal Reports 19 38
    Crystal Reports--SubReport 3 36
    Multiple Parameters in Crystal 11 28
    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now