where can i get controt.dll?

This is a discussion on where can i get controt.dll? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; any1 have any ideas? i need that DLL for the rotator thing. I don't seem to have it. I installed ...

  1. #1
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804

    where can i get controt.dll?

    any1 have any ideas? i need that DLL for the rotator thing. I don't seem to have it. I installed PWS 2 times to make sure that it wasn't a installation problem. but i still isn't there.
    thankx
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    hmm... i don't know... google couldn't find it for me..

    /edit... found it on my computer tho
    EntropySink. You know you have to click it.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    As you're using PWS, you can always build your own content rotator script. It's pretty easy. And you can connect to a database (MS Access for home use) to get the data etc.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    thankx ober! i haven't tried it out yet but i'm going to!
    and hammer, i'm not that good of a asp coder, i just started learning. who knows? maybe i'll write my own content rotator script someday!
    anyway, thankx guys!
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  5. #5
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    In case you're interested, here's a very basic way of printing some random text.

    In my real code, the response.write()'s are actually calls to other functions that get content from a database, but I cut that out to keep this example short.
    Code:
    <%
    Function PrintRandomText
    
     MaxFunctions = 5
     Randomize
     MyNum = Int((MaxFunctions * Rnd) + 1)
     Select Case MyNum
     	Case 1:
     		Response.Write("Hello everyone")
     	Case 2:
     		Response.Write("Welcome")
     	Case 3:
     		Response.Write("Bonjour")
     	Case 4:
     		Response.Write("Greetings")
     	Case 5:
     		Response.Write("Hi ya")
     	Case Else:
     		Response.Write("It's all gone wrong!")
     End Select
     
    End Function
    
    PrintRandomText
    
    %>
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  6. #6
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    thankx hammer!
    i will have to put everything in that format now! i goota lot of work to do!

    EDIT :: and about the controt.dll file, where exactly do i put it?
    i've put that in system folder, system32 folder and the windows folder, but i am still getting the same error for the content rotator.
    Last edited by Commander; 08-06-2002 at 03:52 PM.
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  7. #7
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >and about the controt.dll file
    I'm not sure if you can "force" this one in or not. Some people state it's part of the resource kit that you're supposed to order from M$.

    However, you could try registering it manually. Use something like
    >start->run
    >regsvr32 controt.dll

    If you don't get anywhere, try looking through this lot.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  8. #8
    commander
    Guest
    thankx hammer, but whenever i type that in, i get an error saying

    >LoadLibrary("controt.dll") failed.
    >GetLastError Returns 0x00000485


    any idea what's causing this?

  9. #9
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Do you have Visual Studio tools? If so you can use them to show you that
    0x00000485
    One of the library files needed to run this application cannot be found.
    And Dependency Walker says I'm missing:
    IISRTL.DLL
    COMSVCS.DLL

    I don't know if simply finding these 2 DLL's (and their dependencies) and registering them will work. Maybe someone can upload them (Ober?) and you could give it a go.

    All sounds a bit of a bodge to me though, I'm not placing any money on this one!
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  10. #10
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    who knew just get a simple content rotator thing working, i had to do this much work! ayway, i'll give thise a try
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21