CR 11 is not showing all functions of a VB6.0 DLL but registration is successful in system32 folder

Posted on 2009-02-20
Last Modified: 2012-05-06
CR 11 is not showing all functions of a VB6.0 DLL but registration is successful in system32 folder
Question by:smuralissm
    LVL 4

    Expert Comment

    Are you saying that, in a single given UFL DLL, some of the functions are shown, but others are not?
    If that's so, it is because of one of the 2 reasons:

    1.   User Defined Functions code must be declared PUBLIC.
    2.  The function must return a valid data type, it cannot return a variant. The data types
    supported are:
    Integer, Long, Single, Double, Currency, Date, Boolean, and String.

    Author Comment

    Hi  Spangdelta
    Thanksfor your reply.
    But I do have the return values for all functions and there are no functions with variant return type.
    1. All my UFLS are public.
    Note : I have CR 8.5 and CR 11 on the same pc. The DLL works very well with 8.5 exhibiting all my functions in the DLL it dosent do the same in cr 11 R2 delveoper edition
    I am  using a Winxp sp2.
    The project I am doing is CR 8.5 to 11 conversion so I need cr 8.5 also.
    Any suggestions,.
    LVL 4

    Expert Comment

    I am exactly the same configuration, doing the same thing - conversion from 8.5 to XI R2.
    Our only difference is that I installed XI on top of 8.5, instead of alongside....

    XI is backward-compatible all the way to version 6, I believe, so I didn't do a side-by-side installation.  I've converted over 300 reports without a hitch.
    If you wish, I could put your VB6 DLL on my test machine and see what happens...

    Author Comment


    I figured out hte glitch. CR 8.00 allows Objects and Collections to be present as paramenters in my VB ACTIVEX DLL.

    It seems that CR XI does hot allow these to be parameters. I have made a work around to this and now this are working fine.

    THanks for your comments,

    Accepted Solution

    Hi Found my own way out.
    Cr 11.5 does not support VB DLL wich has dynamic objects being sent to them as function arguements.
    So what we had to re-write the way we use the dynamic object by refering another function.

    thanks all for the support.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    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…
    There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 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

    13 Experts available now in Live!

    Get 1:1 Help Now