C Board  

Go Back   C Board > Community Boards > A Brief History of Cprogramming.com

 
 
LinkBack Thread Tools Display Modes
Old 08-05-2002, 09:43 AM   #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 []*[]
Commander is offline  
Old 08-05-2002, 09:55 AM   #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.
ober is offline  
Old 08-05-2002, 10:16 AM   #3
End Of Line
 
Hammer's Avatar
 
Join Date: Apr 2002
Posts: 6,240
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]
Hammer is offline  
Old 08-05-2002, 09:23 PM   #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 []*[]
Commander is offline  
Old 08-06-2002, 03:20 AM   #5
End Of Line
 
Hammer's Avatar
 
Join Date: Apr 2002
Posts: 6,240
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]
Hammer is offline  
Old 08-06-2002, 02:47 PM   #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.
__________________
oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

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

Last edited by Commander; 08-06-2002 at 02:52 PM.
Commander is offline  
Old 08-06-2002, 03:01 PM   #7
End Of Line
 
Hammer's Avatar
 
Join Date: Apr 2002
Posts: 6,240
>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]
Hammer is offline  
Old 08-10-2002, 08:14 PM   #8
commander
Guest
 
Posts: n/a
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?
 
Old 08-11-2002, 09:08 AM   #9
End Of Line
 
Hammer's Avatar
 
Join Date: Apr 2002
Posts: 6,240
Do you have Visual Studio tools? If so you can use them to show you that
Quote:
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]
Hammer is offline  
Old 08-11-2002, 01:26 PM   #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 []*[]
Commander is offline  
 

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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