PDA

View Full Version : where can i get controt.dll?



Commander
08-05-2002, 09:43 AM
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

ober
08-05-2002, 09:55 AM
hmm... i don't know... google couldn't find it for me..

/edit... found it on my computer tho ;)

Hammer
08-05-2002, 10:16 AM
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.

Commander
08-05-2002, 09:23 PM
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!

Hammer
08-06-2002, 03:20 AM
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.


<%
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

%>

Commander
08-06-2002, 02:47 PM
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.

Hammer
08-06-2002, 03:01 PM
>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 (http://groups.google.com/groups?hl=en&lr=&ie=ISO-8859-1&q=controt.dll+pws&btnG=Google+Search).

commander
08-10-2002, 08:14 PM
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?

Hammer
08-11-2002, 09:08 AM
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! :)

Commander
08-11-2002, 01:26 PM
who knew just get a simple content rotator thing working, i had to do this much work! ayway, i'll give thise a try