Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 21st, 2004, 1:34 PM   #1
UriKiller
Newbie
 
Join Date: Dec 2004
Posts: 3
Rep Power: 0 UriKiller is on a distinguished road
I got a couple of questions which have absolutly nothing in common:

1) How can a create a fullscreen window without MFC or Directx?
2) How to use the soundblaster? i tried the normal wave functions but auxGetNumDevs () returns 0, and I am quite sure that I got a soundblaster!!(joke)
3) How can I send an email from the program? which port and ip or is it another protocol?
4) Is there any way to write to the screen faster than using BitBlt () and without Directx.
5) How can I get the data saved inside the place where ctrl+c saves something...
6) Is there any way to send keystrokes and mouse events to a program if it uses BlockInput ().
7) How to make a hook to sockets, I mean, how to spy on packets passing from/to my computer on a port number?
8) where are all the VK_OEM_<number> defined? no .H files got them!

If you know to answer any one of the questions please help me.
Thanks!!
UriKiller is offline   Reply With Quote
Old Dec 21st, 2004, 4:36 PM   #2
Aourhgad
Programmer
 
Join Date: Dec 2004
Posts: 36
Rep Power: 0 Aourhgad is on a distinguished road
Send a message via AIM to Aourhgad Send a message via MSN to Aourhgad
Quote:
5) How can I get the data saved inside the place where ctrl+c saves something...
Do you mean the windows clipboard? <assuming this is Windows.>
Aourhgad is offline   Reply With Quote
Old Dec 22nd, 2004, 3:21 AM   #3
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
> 1) How can a create a fullscreen window without MFC or Directx?

You can probably do it with both to be honest, but DirectX was designed for that task and many other tasks that are used with full screen applications, so lets go with that one for now.

> 2) How to use the soundblaster? i tried the normal wave functions but auxGetNumDevs () returns 0, and I am quite sure that I got a soundblaster!!(joke)

Look into DirectX... More specifically DirectShow, DirectSound and DirectMusic

> 3) How can I send an email from the program? which port and ip or is it another protocol?

Using the SMTP protocol, feel free to google for SMTP RFC protocol and you will probably find the information you are looking for. You will beimplementing an outgoing SMTP engine I would assume. Remember that the full protocol also handles incoming mail.

> 4) Is there any way to write to the screen faster than using BitBlt () and without Directx.

Without DirectX!?! Not likely.. reason 1 is that you will need to work with the Windows GDI, which is just slow to begin with, and Windows and DirectX have had a lot of time to perfect their many functions, including BitBlt... there is no chance you are going to beat them anytime soon.

> 5) How can I get the data saved inside the place where ctrl+c saves something...

Eh? Check your clipboard?

> 6) Is there any way to send keystrokes and mouse events to a program if it uses BlockInput ().

This is a good question, my answer is likely yes UNLESS you are using directx than it is no. The reason being that you can always hook hardware devices when not using DirectX, or send windows messages... youwill need to look into this to be sure though.

> 7) How to make a hook to sockets, I mean, how to spy on packets passing from/to my computer on a port number?

This one I do not know, I would probably say to proxy the winsock.dll file, but there may be an easier way. You will likely need to hook or install some extension to the TCP stack to do this one.

> 8) where are all the VK_OEM_<number> defined? no .H files got them!

http://msdn.microsoft.com
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC