Results 1 to 4 of 4

Thread: What's the problem with Msdbrptr.dll

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Question

    I had just finish my setup prog.

    Everything work perfectly except for the datareport(Msdbrptr.dll).It give the error 372,fail to load control 'datareport' ......

    The computer is on Win NT 4.0 and i just format it and rebuilt it to make sure that everything else would be ok.

    Do you think it's the way i register my dll's.

    Cuz if i make a search in the registry on Msdbrptr.dll and i find some,does it mean that their registered. If not, how can i know if it's registered correctly.


  2. #2
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    When you find the name in the registary like you said you did, then the file is registered. You can't see if it is done the right way.

    To see if it is installed OK then you need to look at the Classes that are within the DLL. They each take up a seperate Key so windows now where within the DLL the procedure is.

    If you have several of these Class Keys then you can be certain you have a registered DLL file.

    Good Luck
    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

  3. #3

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    ???

    By Class key do you mean the import table,cuz when i right click on my dll and choose quick view, there's a couple of dll's under import table, is that it??

  4. #4
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    No. When you create a DLL file it is build out of several class-modules. Each class-module needs to be refenced within the resistery.

    For instance when I look at the DAO 3.6 DLL. It has a Class-Module that's called "DBEngine". This is just as the DLL name itself registered within the registrery.

    When this didn't go good than you have a problem because altough you can reference the DLL, you can't access the code within the DLL.

    You can see wich Class-Modules are used within the Object-Browser. Just press F2 form VB6 and look it up.

    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width