|
Hi,
Curruntly, I am working on the one project, that uses low-level TCP/IP calls and NDIS to retrieve packets, analyze them, and re- targeting them to another node.
So, where can I find some information, about low-level TCP programming, packets managing, NDIS managing, ... I am tired of WinDDK, so I need some basic (not very) explanation of it's usage in the Win2K systems.
Thanks beforehand,
DMD
|
|
|
|
|
|
check API Hooking by DLL Injecting Revealed - WinSock2 Hook in the win 2000 / xp section !
you might be surprised !
//rate me or hate me
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
Hi folks,
I've created a cool doc/view app which will print several pages, w. page preview and all that stuff.
Problem is, that if I have to print a long document (having more than about 11 to 12 pages) the printing goes nuts: Page 13 overlays page 1, 14 is over 2. When there are more than about 24 pages, I get three pages over each other.
This happens under Win ME. Under Win2000 it works fine. I assume that it has s.th. to do with the int's in the windows API and the 32 bit border (hence 11 pages is about 32800 tenth millimeters...).
Has anybody run into the same problem? And how did you solve it???
CU
Thomas
|
|
|
|
|
Hello .I am a student in a technical school and i need some help.
I am trying to write a programm in Visual C++ that it transmits and receives from the serial port.The data must be numbers.These numbers i must save them in a database that everyday must have a report.I have written the serial communication routine but i have difficulty in saving the numbers in a database.
Can anyone help me?
Thank you in advance.
Nektarios Sourligas
|
|
|
|
|
"I have written the serial communication routine but i have difficulty in saving the numbers in a database"
Then surely your subjects Title should be
"Help on storing numbers in a database"
Also what database are you using?
|
|
|
|
|
Mr Almond
I am new in programming and noone in my school know nothing about programming in Visual C++.So my only help is the Internet.I don't know how to insert a database in an existing programm that of serial communication.This program is in dialog based interfased and the database is odbc.I also must store and the time and date of the communication.This programma is of telephone switching centre.the programm tells the microprosesor which telephones muste be connected.So i must know the connected phones and the connection time.
I will sent you a copy of my programm if you give me your mail.
Thank you.
Nektarios Sourligas
|
|
|
|
|
I would like to change the Visual Effects in Windows 2000 programatically. I know that the registry keys are changed during this process (HKEY_CURRENT_USER\ControlPanel\Desktop\...) but I need a way to refresh the screen like the Display Properties does. It does not reset the monitor, it just reloads the settings and adjusts the display accordingly. Does anyone know an API that will perform this? ChangeDisplaySettings is what I tried, but it does not work how I want it to in Win2k.
Thanks in advance for any help you can provide!
|
|
|
|
|
Actually, the proper way to change the effects settings is with SystemParametersInfo(). That API automagically handles broadcasting a WM_SETTINGCHANGE message so all windows reread the settings.
--Mike--
http://home.inreach.com/mdunn/
#include "buffy_sig"
|
|
|
|
|
Thank you! With some tweaking I got SystemParametersInfo() to send the proper message and get it to update.
|
|
|
|
|
One more thing that is odd...
I did a registry diff before and after changing the icon size with the Display Panel and the results are the same as when I run my program. Fine, good, great.
But...When I click on the start menu (after my program) the icon spacing is all messed up. It is adjusted in the registry, but there doesn't seem to be a way to make it respond. The desktop icons work ok. The only thing I can think of is it needs sent an update message. Any ideas?
|
|
|
|
|
I sent an update to NONCLIENTMETRICS and it reset the start menu as well.
|
|
|
|
|
What is the good access or the good method for read information about the semaphore of an other application with ZwQuerySemaphore ????
Thank you for your help
Mailto:nbd@aql.fr
Nicolas
|
|
|
|
|
I need a windows based RTOS simulator(include source), any clues?
|
|
|
|
|
I have an application, prog B, that starts minimized.
Another program, let's say winamp, currently has the focus.
My program - prog B should be able to retrieve the .exe name based on whichever application that currently has the focus, in this case, winamp.
I'm not sure how to go about and tackle this problem. Can somebody please help me out?
Environment - Windows 2000
Thanks in advance,
|
|
|
|
|
Search for GetWindowModuleFileName on MSDN, it should work only on Win2000 though.
You may use it with GetForegroundWindow to retrieve the exe filename associated with the current foreground window.
Cheers,
Paolo.
|
|
|
|
|
If you want to track application's exe name based on current focus, I recommend you write small DLL to hook some events. You may need to hook couple of them like WH_CBT and WH_SHELL using SetWindowsHookEx(). From my experience, you need serious testing to make sure your DLL is really tracing focus movement. There are many ways to move focus to another application and covering all of them may need long time work.
Once you have that DLL that will attach itself to exe by hooking function, then the filename of that exe can be obtained by GetModuleFileName(). Even if GetModuleFileName() won't work right for some application, you can use very powerfull ToolHelp32 functions to;
1 enumelate all processes
2 find process ID that matches what GetCurrentProcessId() returns
Just for your info, if you unfamilier with DLL which attaches itself to exe by SetWindowsHookEx(), then take a look at Matt Pietrek's article MSJ No 12 Vol 6 (MouseWheel.DLL).
Have fun!
reiko
|
|
|
|
|
Hi, I have built a SDI by using MFC, and I just follow the instruction
from MS help
A class was added to the project, and the control was dynamically created in the OnCreate handler of the application's View class.
CRect rect;
GetClientRect (&rect);
// Create the control.
m_pBrowser = new CWebBrowser;
ASSERT (m_pBrowser);
if (!m_pBrowser->Create(NULL,NULL,WS_VISIBLE,rect,this,NULL))
{
TRACE("failed to create browser\n");
delete m_pBrowser;
m_pBrowser = NULL;
return 0;
}
// Initialize the first URL.
COleVariant noArg;
m_pBrowser->Navigate("www.microsoft.com",&noArg,&noArg,&noArg,&noArg);
return 0;
But the program runs without anything. Can anyone give me some
suggestions? Thanks!
|
|
|
|
|
The first parameter to Navigate must be a BSTR. You're using a plain string. Change it to _bstr_t("http://www.microsoft.com")
--Mike--
http://home.inreach.com/mdunn/
#include "buffy_sig"
|
|
|
|
|
Does anyone have or know of any code source that allows interaction between a server running 2000 and the banking/credit card processing centers.
I am planning to intergrate, in addition to the normal credit card transactions, a debit card option for those of us that don't want to, or can't use their Credit Cards so any code that I could use or rework to build up my application would be greatly appreciated.
Thanks.
|
|
|
|
|
Hi
How can i get the word under the mouse pointer in webbrowser
control,with any event (mouse over,...)?
(in vb or vc)
tnx
|
|
|
|
|
|
How to send and receive files through multicast file transfer using windows media server through V++.
m prabagar
|
|
|
|
|
I have a program that can be run as an NT Service or as a Win32 application. Is there any way to tell whether the program was started by the Service Control Manager or by a user (ie. double clicking an icon). The only difference I can find at the moment is in the STARTUPINFO details. When the program is running as a service the wShowWindow field is set to SW_HIDE and when the program is running as a Win32 Application the wShowWindow field is set to SW_SHOWNORMAL. Can anybody provide any info?
Thanks for any help you can give.
Steve.
|
|
|
|
|
I need help to solve one playlist program using linked list.Please help me as its very important for me.
Dee
|
|
|
|