|
wann't it because of the Case typo, "Point" for "POINT"
Vipin - MVP
|
|
|
|
|
wasn't it because of the Case typo, "Point" for "POINT"
Vipin - MVP
|
|
|
|
|
You are missing a semi-colon, and based on the code you posted I would say probably in the file 'float.h'.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
In my work space there are two projects, one is dll another is application which calls dll. they are in different folder. in VC IDE, is there a way to add the dll path to the PATH variable, or let IDE search the dll path when application runs?
Thank you.
|
|
|
|
|
Tools->Options->Directories->Exectuable paths
|
|
|
|
|
Change the Output Directory in the project settings. You should change it such that the executeable and the dll binary gets placed in the same directory. It is controlled via the /OUT:filename linker setting.
Vipin - MVP
|
|
|
|
|
I would like to know that Can win32 dlls supports CMenu class to load a context menu dyanmically or popup menu dynamically ? ..
if yes, how it is possible or anyother way to do that ?
Subash.k
Software Engineer
|
|
|
|
|
In win32, you have to do like this to create menus dynamically using the below:-
CreatePopupMenu();
AppendMenu(...);
TrackPopupMenu(...)
Not sure if you want the same thing.
Vipin - MVP
|
|
|
|
|
Yes Vipin, this is correct but it works in MFC32 dll , i believe not in win32 dll.
Is it correct ? Do u have any other way ?
|
|
|
|
|
It works everywhere. After all MFC is a layer on top of win32.
|
|
|
|
|
vipinasda wrote: It works everywhere. After all MFC is a layer on top of win32.
Yeah you are right Sir, if you aren't hacking into actual MFC codes, MFC classes are not available when you create Win32 based dlls
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Subash.k wrote: Is it correct ? Do u have any other way ?
Yes It is correct.. you have to use Raw Menu Api's for handlling menus
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi Alok,
Just i would like to know that how can we use CMenu classe in win32 dll ? is it possible enough to load menus using win32 dlls .since win32 dlls doesn't have any idea abt CMenu , right ? then how is it possible and if ur time permits,please explain with exapmle...
thanks
Subash.k
|
|
|
|
|
Hi Vipin,
if u use these functions in win32 dlls, doesnt it gives errors ? I am sure that it will give errors, since the win32 dlls is not aware of these functions. if possible, could u just explain with exapmle..
|
|
|
|
|
Hi everybody,
How can I monitor a specific port in my computer and determine every single byte sent/received into that port.
Specifically I want to monitor the HTTP protocol port 80, so any program sends or receives data on that port, its data will be visible to me.
Please help me, cause I need it very much
Thaaaaaaaaaaaaaaaaaaaaaaaaaaanx
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Deploy layered service providers(LSP).
You can track the statistics then.
Vipin - MVP
|
|
|
|
|
vipinasda wrote: Deploy layered service providers(LSP).
Hello Sir,
Sorry to trouble you, LSP would be very difficult option when you targetting small computer.. also for installing LSP dll you need admin right... Please correct me if i am wrong!.
I believe Hooking Winsock.dll or using Free Ware library like WinpCap would better in this situation!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
|
While i worked on the Winsock
i had a software that is
Etherel
U can install it and put up a filer on
the port 80 and then check the data.
U can also got some code for such software,
i dont remember the link but will forward to
u if i get across it again.
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Mohammad A Gdeisat wrote: Specifically I want to monitor the HTTP protocol port 80, so any program sends or receives data on that port, its data will be visible to me.
Hook winsock.dll or look for packet filtering library like
WINpCap[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
winpcap as I remember when I last played with sometime back deploys a filter driver. You need install rights for that
Hooking winsock.dll is restrictive. As someone pointed out iphelper apis would help, but it would work only on 2000/XP and above.
LSP works everywhere and is safe for what he is looking for.
Vipin - MVP
|
|
|
|
|
Thanx man, Thanx for your help
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
vipinasda wrote: LSP works everywhere and is safe for what he is looking for.
But installing and Debugging LSP dll is itself it cumbersome task... hooking would be safe bet as you easily hook and unhook that dll according to your need but for LSP dll you have restart your computer...
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Snort as Packet Sniffer in Linux
-- modified at 0:43 Tuesday 27th December, 2005
|
|
|
|
|
sunit5 wrote: Snort as Packet Sniffer in Linux
Hai, I havn't have idea about Linux ...
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|