|
Currently, we are loading the VxD by explicitly specifying its name in a CreateFile call. What we want to do, is to have VCOMM load our VxD as a port driver, for some COM port. Any COM port will do.
we need to get VCOMM to load our VxD in response to the Open call made by an application on some COM port.
Tell me why
|
|
|
|
|
Could you tell me how can I get system menu by API ?
hmenu = GetSystemMenu(hWnd,1);
hmenu_options_thread1 = GetSubMenu(hmenu,1);
UINT uIDCheckItem;
uIDCheckItem = GetMenuItemID(hmenu_options_thread1,1);
smenu = new TCHAR[21];
GetMenuString(hmenu_options_thread1,uIDCheckItem,smenu,20,MF_BYCOMMAND);
MessageBox(hWnd, smenu,"Menu",MB_OK);
Thank you.
|
|
|
|
|
Hi,
can I get help on how to block and realse the ports for Win 98 OS. From msdn i found that ipseccmd is the utility that could be used for Windows XP and Windows2000 to block/release ports. Similraly, is there any utility available for Windows 98? Or is there any other method by which I can block/relase ports for Windows 98(i.e, any registry enry that helps in blocking ports)???????
Thnx in advance
URagav
Everything can be sacrificed for truth, but truth cannot be sacrificed for anything .
|
|
|
|
|
Just listen to that port and don't accept any connection, then it's "closed" .
The other way is to create a device driver.
Don't try it, just do it!
|
|
|
|
|
Hi,
I need to block both outbound and inbound ports.As you say I can listen in that port and not accept connections to control inbounf traffic on that port.But waht could be done for the outbound traffic?Could you explain more about the device drivers method which you have mentioned?
URagav
Everything can be sacrificed for truth, but truth cannot be sacrificed for anything .
|
|
|
|
|
How to get the last write time of all files of a direcory of a ftp server in a single session.
|
|
|
|
|
Hi ,
Can any one tell me how to hide the charcters from being displayed on the screen. eg, if i want to key in the password i can see them in the clear text but i want to see them in ****** format. can any one provide me the source or tips to do this in C/C++.
Thank You.
Regards
sudha.
|
|
|
|
|
check ES_PASSWORD style
suhredayan There is no spoon.
|
|
|
|
|
int i=0;
cout<<"Enter the Password";
char strPassword[100];
strPassword[i++]=getche();
while(strPassword[i-1]!='\n')
{
cout<<"*";
strPassword[i++]=getch();
}
strPassword[i-1]!=NULL;
cout<<strPassword;
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
doe this work while pushing backspace ???
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
doe this work while pushing backspace ???
I believe Nope!, thats the logic only,Buddy!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
so be sure not to have too big fingers (to avoid typing wrong passwords - 2 letters in 1 press )...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
so be sure not to have too big fingers
:->
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Thank You Very Much Sir.
I appreciate that.
|
|
|
|
|
aaah.....;)....i dunno if u have found out an answer.....if u havent ...try thiz out.....
#include<iostream.h>
#include<conio.h>
void main(void)
{
char passw[50];
char ch;
int i;
clrscr();
cout<<"Enter the password: \n";
i=0;
while( (ch=getch())!=13 )
{
if(ch==8)
{
if(i>0)
{
i-=1;
cout<<(char)ch;
cout<<" ";
cout<<(char)ch;
}
}
else
{
cout<<"*";
passw[i]=ch;
i+=1;
}
}
passw[i]=NULL;
cout<<"\n\n\n\n\n";
cout<<passw;
getch();
}
hope thiz helpz.....;)
cheerz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Thanks a Lot for your solution.
Thank you
Cheers.
|
|
|
|
|
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Hello
I would really appreciate any help on this...
Is there any event or notification after the ShowWindow() function call?
Is there any message indicating that the window has been shown for the first time?
Thanks!
|
|
|
|
|
WM_WINDOWPOSCHANGED
WM_WINDOWPOSCHANGING
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Is there any message indicating that the window has been shown for the first time?
CWnd::PreCreateWindow method is called by the framework before the creation of the window attached to this CWnd object
|
|
|
|
|
The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown. There isn't a special message sent for the first show, so you'll have to keep a flag in the C++ class keeping track of whether WM_SHOWWINDOW has been sent before with wParam ==TRUE .
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
Thanks a lot for your help, guys!
|
|
|
|
|
I have to write a Vxd in C/C++ (using win 95 DDK ).Please help me with the following
1> What code to write to register a fake port.
2> What is the importance/role of deviceIOControl Interface?
3> I am unable to co-relate the terms deviceIOControl Interface, VCOMM,VMM,Control messages, port virtualisation, control messages....
Please Tell me why
|
|
|
|
|
Why don't you studdy the DDK?
Don't try it, just do it!
|
|
|
|
|
I need some tips to debug my MFC app. When I close my application it (sometimes) still appears as a running app in the Task Manager. My app is quite big and I’ve not myself written all the code. Where should you start figuring out the problem? I’ve read a lot of Articles in this topic but I cant find any really good one for my problem.
Should I use any kind of Tool or… All tips are welcomed!
_____________________________
...and justice for all
APe
|
|
|
|