i was also thinking about doing winapi all over again. i did it sometime back using asm.
and thought i will restart winapi but with C this time :)
even using MFC u have to distribute .dll. but if i write using api only i will have simple .exe that will
run just fine. and not extra .dlls.
any suggestions to ease out me a little.
You still have to redistrubute the C runtime library, so the point is moot. Just hand them over the runtime library once. Install. Done.
They can now execute however many applications from you and others with the same compiler as they want. One time cost.
Wait a minute. I think it should be available by default in every system?? No program will run without them! Right? Just like user32.dll and stuff??? am i right??
Because the C runtime evolves, you can't rely on a C runtime from an older version of Windows to work with the latest Visual Studio compiler generated code, so you need to make sure that the correct version for YOUR build of the executable is on the clients system.
Originally Posted by manav
Of course, further libraries may also be needed if you use custom frameworks.
oh. thanks Mats.
i will be using g++ from MinGW (recent package).
i never had to do it earlier. using asm. but may be now...