|
|
Hi all,
I want to find out how to achive network address translation in visual C++;
|
|
|
|
|
for the below reasons u need to go for NAT?
Why NAT?
• With the explosion of the Internet and the increase in home networks and business networks, the number of available IP addresses is simply not enough. The obvious solution is to redesign the address format to allow for more possible addresses. This is being developed (called IPv6), but will take several years to implement because it requires modification of the entire infrastructure of the Internet.
• Shortage of IP addresses is only one reason to use NAT
• For Security and Administration
• This is where NAT comes to the rescue.
How NAT works?
Network Address Translation allows a single device, such as a router to act as an agent between the Internet (or "public network") and a local (or "private") network. This means that only a single, unique IP address is required to represent an entire group of computers.
JAYARAJ
|
|
|
|
|
Hi,
Can you help me with choosing what version of Microsoft IDE I need to use.
I am using this IDE for development of drivers and GUI wrappers for them, based on MFC library, I'm not planning to use .NET platform, only plain C++, no managed code.
Now when Microsoft announced that Express Edition is free for download I want to try it, but it is very lightweight version of IDE and I don't know is there is any reason to download this IDE? I know that it doesn't have resource editor, mfc library, but compiler is more compatible to ISO standarts. Please help me with choise
Currently I am using VS .NET 2003.
|
|
|
|
|
Unless you can find a way to remove the use of MFC (eg. go to pure native Win32 or C++/CLI), you have no choice But to go for Visual Studio Standard or higher.
VC Express does not include MFC. Therefore, your program won't work in the Express edition.
MFC... not exactly plain C++ now is it ?
|
|
|
|
|
oshah wrote: MFC... not exactly plain C++ now is it ?
yep
oshah wrote: VC Express does not include MFC. Therefore, your program won't work in the Express edition.
this is not a problem, mfc is easy to integrate, because I have betas,
but beta version is very buggy product, thats why I will not use it...
|
|
|
|
|
Are you trying to force MFC into Express edition. Every other attempt I've seen to add MFC to Express has either ended in failure or the programmer getting Visual Studio Standard in one way or the other.
Trying to shoehorn MFC into Express is not only dangerous, you risk infringing on your EULA for Visual Studio. Let's say you started to integrate MFC into Express now. How long will it take? 50 man-hours? 100 man-hours (there's a lot of code to alter)? Let's go for the lower number, for fairness. Now let's assume you're a low paid Junior developer that earns $15 an hour (you need to be an expert/experienced developer to know how to port MFC, but once again, let's assume for fairness), the time you lose by having to add MFC to express edition is 50 hours: 50 * 15 = $750. You've just cost you and your company $750.00.
To compare, Visual Studio Standard costs less than $270 at Amazon. For the time you lost shoehorning MFC into Express edition, you could have bought two copies of Visual Studio Standard!
To conclude, forcing MFC to work in Express edition is not only a waste of time, it's a waste of money!
|
|
|
|
|
Look, if you plan on centering your life around the Windows Operating System then go ahead and use the latest tools from Microsoft. All other tools probably require that you have a basic knowledge (and then some) of how every things actually works.
Do not ask me how every thing works, because I have forgotten, I run on autopilot now days.
There is one farley stable entity and that is the [programming] language.
Use whatever IDE you want to, just remember the basics.
INTP
Every thing is relative...
|
|
|
|
|
how can we count the length of file??? i,am using MFC...
HelpMe
|
|
|
|
|
Hi
What do you need? if you want to length of the file please refer to
CFile::GetLength I hope helpful for you
|
|
|
|
|
if you are not using CFile or CStdioFile
int GetFileLength(FILE* in)
{
int was;
int length;
was = ftell(in);
fseek(in, 0, 2);
length = ftell(in);
fseek(in, was, 0);
return length;
}
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
To all,
how do i view header of JPEG file ?
anyone can send to me some code
thanks..
|
|
|
|
|
|
|
Hi ,
I want to connect the access to vc++ 6.0 to add , delete , modify , update the records.Earlier , I got the link but I was grid control that was in the project.
Please send the link that have the facilities I mentioned above.
Thank You
|
|
|
|
|
You have asked this question three times already and have been given answers, please do some research and try to learn, everything you need to do is already in those links.
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Hi ,
Is there any function that counts the no of drives including the cdRom , Flopy drive .
Does it's function member has the facility to contain
every drive name when using looping.
Like in VB.net
dim a as integer
dim aa as string
for a =0 to Directory.GetLogicalDrives.Length()
aa = Directory.GetLogicalDrives(a)
Next
Earlier , I was send the link . But the project is using loop that loops from 'A' to 'Z' for drives and the form takes more time to load.
Thank You
|
|
|
|
|
use GetLogicalDriveStrings[^] to get all the drives (a:,c: ....)
To check the type of drive use GetDriveType[^]
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
|
Hi;
for every new input ,the old input stays on screan....
It should be non-negative number and keep doing that til a non-negative number is entered.
distance increase at 0: 0
distance increase at 1: 2
distance increase at 2: 3
distance increase at 3: 2
distance increase at 4: 4
distance increase at 5: -2
distance increase at 5: (non-negative input):1
john,k
-- modified at 9:00 Saturday 11th March, 2006
|
|
|
|
|
To all,
this image tool is designed for Windows C++ programmers, which is for group use at first, but it grows up step by step.
good or bad, I don't know - you make decision yourself.
the tool includes "disabled" style, which is special for us.
the link is:
Here
cheers
===============================
I have another tool - for myself only - the tool is really advanced to be understood, if there are more than 10 replies in the post, I'd like to offer it to you also - to upload to somewhere for your download.
A nice tool for optimizing your Microsoft html-help contents.
Includeh10
|
|
|
|
|
Thanks for ur offer.
What is use of this Tool?
|
|
|
|
|
Hi All,
I am trying to move a .prj from the old vc. 7.0 edition to the 2005 express edition (2.0).
The .prj had an include to the afx.h, a file that does not exist in my new computer. Thus the .sln does not compile.
same applies to such files as windows.h afxwin.h,and afxdcdtel.h
Does anyone have any advice, since I am very ignorant in such matters.
Many thanks,
Simple porgramar.
Keep it simple
-- modified at 8:38 Saturday 11th March, 2006
|
|
|
|
|
its because express edition do not have MFC.
-Saurabh
|
|
|
|
|
To use the MFC do I need to get the full version,
or is there an option to enable it in the express version?
Keep it simple
|
|
|
|