|
Do you know where can I get a source code of any proxy server, working under Windows writen in C/C++??? I need it so!!! Thanks in advance.
|
|
|
|
|
Man u just gotta go see this link :
http://www.codeguru.com/internet/http_proxy.shtml
no prob.
Papa Charchabil.
|
|
|
|
|
Good evening,
I have been searching around a bit and there is one thing I am missing a little discussion (maybe some sample code as well) on; developing a GUI under DirectX.
Resently, I started experimenting with DirectX and I found that there is no methods for displaying simple things like Buttons, Static Text Controls, List Boxes, etc. So I started thinking, it must be possible to make a class (or classes) that handle these issues under DirectX. A class that would take care of loading graphics associated with a control, displaying text on a control, handling scrollbars and events (such as mouse over, mouse click events and many of the other events we find in MFC controls).
Right now, I am stuck with just manually drawing each control (code gets long and messy after a whole), and I just wonder if maybe someone out there already thought about this problem and can lead me in the right direction, maybe show me some sample source code or links to other pages where such information can be found.
Thank you very much,
Ken V. Nordberg
elevator@encasa.org
|
|
|
|
|
In DX SDK there was a GUI example that had controls but didn't look at it closely. Try checking that out.
-Matt Newman
|
|
|
|
|
I think that sample had the DirectX example in a frame on the left adn all of the controls on the right using normal MFC code. I know that is what I had done for some medical software. That works ok, but is not what you are asking for. I think that you could do a custom drawn control and then just do the drawing yourself. In this case it would be drawing using DirectX. There are samples of custom drawn controls in the articles section. It should not be too bad to do some of it using DirectX instead. Controls with scrollbars will be the hardest I bet.
Steve Maier, MCSD
|
|
|
|
|
I already tried subclassing some of the standard MFC controls, but I want to be able to customize the way they look as well as draw them using DirectDraw or Direct3D. I also want to use DirectInput for events. The event part I have pretty much nailed down, I can create any control (invisible since I haven't drawn it) and have it correctly respond to any event, so I am using that right now in my program while hardcoding buttons and the other controls I need. However, it does get very messy and hard to understand after a while, so wrapping everything into a bunch of classes would definetly help a lot.
I saw some postings here for the Crystal Space 3D engine and also the source for Allegro (although not DirectX) and they seem to have some interresting approaches.
Right now, I welcome any tips/code on how this can be done efficiently. Thank you both for your reply. I failed to find any GUI examples in my copy of the DirectX SDK (I have version 7 and 8). Please let me know if it's available in any earlier versions of the SDK.
Thanks again,
Ken Nordberg
elevator@encasa.org
|
|
|
|
|
Hi ,
Can some one send me an code for ActiveX , such that the
Active X can call JavaScript function .
Thanks
Sansky
|
|
|
|
|
Is this for use on a web page?
Look up CreateObject in JavaScript.
Michael
|
|
|
|
|
does anyone know how to add personalized buttons to the windows explorer tool bar??
|
|
|
|
|
see
http://www.codeproject.com/atl/ietoolbartutorial.asp
or
http://www.codeproject.com/useritems/toolband.asp
|
|
|
|
|
Hi, all!!!
Does anyone know how can I catch ALT+CTRL+DEL before the system (win 2000)?
10x.
Name: STR
BTW: for some of you that wished for CodeProject irc server
I create a channle on DalNet called "#CodeProject"
|
|
|
|
|
I'm not sure but I think you mean CTRL+ALT+DEL
-Matt Newman
|
|
|
|
|
lol, You can call SystemParametersInfo(SPI_SCREENSAVERRUNNING....
or something like this and you can no longer press CTRL-ALT-DEL or ALT-CTRL-DEL or... whatever you like.
|
|
|
|
|
The whole point of CTRL+ATL+DEL (as I once heard somewhere) is that you can't get it because it prevents anyone writing things that can popup and pretend to be windows and get user's passwords.
So it would be a serious security hole if there was a way to intercept it.
|
|
|
|
|
There are several alternatives in Win2k
1. Make another similar OS
2. Get the source code from Win2k, change it and rebuild
3. Hack the kernel
Well, CTRL-ALT-DEL is protected by the OS.
See the help instructions at "press CTRL-ALT-DEL to logon" screen. (Yes, there is a help there!)
It explains how to press CTRL-ALT-DEL (I´m not kidding) and why the OS is made this way.
Furor fit laesa saepius patientia
|
|
|
|
|
I need my COM object to fire an event or just have one -- i have only used c/c++ and never Visual Basic, so i'm not really sure how it all works, but if i get the code, i can figure out how it works from there...
SHABBA!!
|
|
|
|
|
|
Thanks man, it did help quite a bit~~!
SHABBA!!
|
|
|
|
|
I am developing an application that uses TAPI and voice recognition to maintain voice mails.
I would like to use an inexpensive voice modem to provide the hardware interface. One possibility is PcTel V.90 Voice/Fax/Data Modem. This is a voice capable soft modem.
I am looking for examples on how to capture the raw data stream from the speaker in real-time. I want to support both touch-tone (DTMF) and voice navigation of the menus.
I need the real-time capture so that I can process the voice as the user is speaking. I can then isolate phrases and perform comparisons on command sets.
Does anyone have example code on how to capture voice messages real-time through TAPI? I want to avoid sending the voice to a file first. Is it possible to direct the raw voice to a memory-based file?
Thanks
TJW
|
|
|
|
|
Have you looked at the Microsoft Speech SDK. Version 4 of the SDK had some TAPI samples, I guess the latest version will still have those too.
Michael
|
|
|
|
|
put names into the first column and numbers into the second.
need help on this bad
|
|
|
|
|
I have bene surfing around the net, and have found a few examples of using hooks to record information from the keyboard, however I have been unable to find anything to play stuff back (ie: a macro program) to a task/program.
|
|
|
|
|
Take a look of the Journal hooks, you also find an example in the MSDN.
Will
|
|
|
|
|
I found a lot of chat options, but i'm really looking for an mIRC style code, i mean send & receive files and chat via IRC, i'm learning very fast thanks to this page
|
|
|
|
|
Well i'm registered now, i just want to know how make that simple thing, is there anyway?
|
|
|
|