|
Hi,
I am not sure but changing the following reg key causes the file type .txt to associated with your own application.
HKEY_LOCAL_MACHINE\software\classes\systemFileassociation\text\shell\Open\command
thanks
Nitheesh
|
|
|
|
|
mmm, nice
I will make a test. Thank you for the hint
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
i want to make a program, something simple, to get the mac from ip's over the lan and stored them somewhere
and then verify if the mac had changed, if they send me arp package, i see this trough arp -a...i want to kill this ip...
this is a project for my school.
I played around with cain and abel and i tried to understand how the program works, i noticed when i get spoofed the mac ip's are constantly changing so i thinked if i have a database with what macs are on the network ip, i can monitor the all procedure...
i know something about c++, but i never worked with lan's or created programs for lan's thats why i need help
i'm 18 years old and im at highschool, this is one of my projects...and i need to finish him until the end of the month
sorry for my bad english, i'm from Romania, i english is not my native language, i've tried to write it down correctly.
//best regards
|
|
|
|
|
i want to have a database with all the macs over the lan, and if they change their mac i dont want them to reply to them...
i think even a ***.txt is enough ...the question is how do i get the mac adress ...this is dont know...
lets say i get the mac adress, then i want to put down the ip and mac over and line
***.txt//this is how
ip1 mac adress
ip2 mac adress
.
.
.
and so on
after that i want to constantly , lets say at a interval at 1 second, to interogate the lan again and verify with the ip and mac on the list...if the mac is changed kill the arp process with that ip, if the ip is not on the list add him with his mac...
i think to make a 3rd party program...i'm really confused, it seems logic in my head... but ,for now, my limited skill in c++ is a barrier
|
|
|
|
|
Seems like a great project for school. You should start by looking at the Internet Protocol Helper functions provided by Microsoft. There is a general overview available here:
About IP Helper[^]
To address your question I would recommend having a look at the SendArp()[^] function for obtaining the MAC address for a specific IP.
Best Wishes,
-David Delaune
|
|
|
|
|
Busco programador con experiencia en aplicaciones en Visual C++ /MFC buen base teorica en programacion orientada a objetos.
Envia CV: ogutierrez@aidcns.com
Solo para Lima Peru
Saludos
Omar
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Which langauge is this ??
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
|
|
Spanish, I suppose.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
could this be in english! i am sorry but i doesn't this langauge!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
hablamos ingles aqui por favor.
so for the understanding of every body, repeat your question in the correct language.
and for me, as i understood it already, please ask a specific question if you want to have specific answers. asking for "experiences in VC++" is not really dragging people to you
and no need to put your email in there, no one will use it, and you're automatically notified when receiving a message. the worst is that an evil guy could take it to send spam... so it's up to you to let it appear.
|
|
|
|
|
So you speak spanish ?
I first thought he was looking to hire somebody...
|
|
|
|
|
i do, a little... but i missed my spanish as i didn't speak for 9 years (eh ouais, c'est loin les années lycée... lol)
|
|
|
|
|
I see a sublte suggestion in Cedric words...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
modified on Wednesday, May 7, 2008 3:28 AM
|
|
|
|
|
Hello,
I'm making a plain, ordinary C++ DLL, but Visual Studio isn't generating a .LIB file. Nothing in the project-property options gives any clue how to get a .LIB in addition to the .DLL. I just get a .DLL, .ILK, and a .PDB.
How can I also get a .LIB file?
Thanks,
Alan
|
|
|
|
|
Alan Balkany wrote: but Visual Studio
Which version?
led mike
|
|
|
|
|
Visual Studio 2005, Version 8.0.50727.42.
|
|
|
|
|
Alan Balkany wrote: Visual Studio 2005, Version 8.0.50727.42.
Check. My project creates a .lib, I don't believe there is a setting to alter that. Look in your build log, it should be a .htm file and under the Output section you should see something like:
Compiling resources...
Linking...
Creating library C:\Projects\VS2005\CPP\Bartnet\Debug\Bartnet.lib and object C:\Projects\VS2005\CPP\Bartnet\Debug\Bartnet.exp
Embedding manifest...
led mike
|
|
|
|
|
OK, this is what I get at the end of the Output section:
Compiling manifest to resources...
Linking...
LINK : C:\Alan\4000\Test Architecture\CppDll\Debug\CppDll.dll not found or not built by the last incremental link; performing full link
Embedding manifest...
Performing Post-Build Event...
1 file(s) copied.
So it mentions the DLL but not a LIB. Any suggestions?
|
|
|
|
|
Alan Balkany wrote: Any suggestions?
Nothing good. My project is old but I don't believe I changed any settings, so perhaps if you create a new DLL project, build it, verify it generates a .lib file.
Then you can compare the settings in the new project to your original project settings and find the problem.
led mike
|
|
|
|
|
In MS C++ 6.0 version
1. open Project->Settings using menu or clicking Alt+F7
2. Select your DLL project from left menu
3. Goto Link tab
4. Select General from Category
5. There's an option Doesn't Produce .LIB if it's checked just uncheck it
|
|
|
|
|
Thanks for the suggestion, but I've got version 8, which doesn't have the option you mentioned in step 5.
|
|
|
|
|
DLL Project settings/Linker/Advanced/Import Library
What's the setting there?
Also check the linker commandline - there should be a /IMPLIB: command line
switch there somewhere - if not, then the above project setting is not set.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|