Chris,

Is there a Type Library available? Delphi can import all calls of the DLL from 
the TLB (semi)automatically.
When I Googled "Crystal Reports TLB" there were quite a few references, such as 
the following.
http://support.businessobjects.com/communityCS/TechnicalPapers/cr85_devguide.pdf
Sorry if I'm stating the obvious and you've already gone down that path.

Bart

___

    Date: Fri, 12 Oct 2007 11:05:01 +0100
    From: "Moore, Chris ( BIUK )" <[EMAIL PROTECTED]>
    Subject: Loading DLL's at run time
    Hello list,

    I have a financial package that exports functions (via 2 .DLL's) to
    crystal reports.  I have a list of all the functions, parameters and
    return types, so I can use them in my own projects.

    When I use the dll's, I have to declare all the functions - no problem,
    I own them, I've got the info.

    When crystal uses them, all I have to do is put the dll's in the same
    folder as the main crystal executable -voila! the functions are
    available, remove the dll's and the functions disappear.

    Over the years, the financial package has been patched and upgraded, and
    the quantity of functions has increased, again, no problem, drop the new
    dll into crystals folder, and I can see the new functions.

    There is no inf file, just the dll's

    I want to do this, I want to be able to code a project that reads a dll
    (any dll), extracts the function names, parameters and return types and
    exposes them to the user.

    Can a guru show me the way?

    Cheers - Chris






      
____________________________________________________________________________________
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
 


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to