Results 1 to 9 of 9

Thread: urgent MFC help...missing dll file?

  1. #1

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    urgent MFC help...missing dll file?

    Hello all....

    I am having a bit of trouble with a program i am making. It's a footy tipping program, and the season starts in under two weeks, so need to give it to my End User very soon (!!)

    Anyway. all but one part of it is working....
    You see, the initial screen works, no problems, but when I call the

    .DoModal()

    of the next screen, nothing happens...it just refuses to load. I believe this all started when I added:
    1) MSFlexGrid (for displaying the results)
    2) CommonDialogControl (for saving to file)

    And ever since i put those in, it has refused to open this screen!
    Well, it works on my laptop wihch I have used to make the program, but i'm guessing this is cos I have all the .ocx/.dll/.lib files needed due to having VC++ and VB installed....however, it doesn't run on the computer of the user, which it will have to soon

    Any suggestions? Like, files which i'll need to bundle with it?
    Thanks, any help (especially fast help) is appreciated
    sql_lall

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You need to find the DLL flexgrid is in. I think the easiest way is to run the app on your laptop in the debugger. Watch the debugger window when the dialog with the flexgrid is opened, it should show a message about loading the DLL.

    If not, post again.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking mmm

    Thanks....

    I looked at all the .dll and .ocx files being opened, copied them all over to the other computer...and nothing!

    Still the page refuses to load!

    Is there any particular spot i need the .dll or .ocx files to be in?
    Plua, i'm just worried that this might not be the problem, as usually if you have a missing dll/ocx, then an error message appears, right?

    Thanks again...just hope i can figure this out soon
    sql_lall

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You need to register those that need to be registered. Use regsvr32 to try and register every DLL you copied over, if it fails saying "DllRegisterServer not found" or something like that then the DLL doesn'T need to be registered.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking

    Ok...

    "Use regsvr32 to try and register every DLL"

    I might just need a bit more explanation....is there any way to do this automatically? Cos i the user i'm giving this to isn't that technically minded, so i would prefer not having to do this manually on their computer.

    Thanks for your help anyway
    sql_lall

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Most installer programs can do it.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking ...

    THanks, but how do I make/use an installer program?

    Sorry, it's just that most programs i make are for myself, so no need for proper installation, no need to worry about needed files...etc...
    sql_lall

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I think Visual Studio comes with one. I have no idea how to use it.

    There are also freeware installers out there.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking nooooo

    This has really screwed me over...i have NO IDEA of what to do to get it working...it seems like I have tried everything.

    Anyway, i'm writing my own Grid class, with only the functions I need, and then having a lot of text-boxes...sounds good?
    sql_lall

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