App portability problem

Calorno

New member
Just wrote my first OpenGL app, w00h00!

Thanks humus, most of the windowing code is yours from your little tutorial! Since I know very little about winapi/mfc (ill take java anyday :P)

Anyway, I tried to get the app to run on a freinds computer today and its throwing errors about missing mfc42d.dll

I mean ffs whats the point of programming for 'windows' if your program doesnt run on other peoples windows.

What do i need to do to get the app to run on other ppl's computers?
 
Statically link that library... I am rather new to this as well but I know thats the answer...

When you dynamically link a DLL (hence 'dynamically linked library') it links it to the library and keeps it as a seperate file.

When you use static linking, the library is included in the program .exe itself making it larger... but no one needs to have it installed in a special place for the program to run...

Hope this helps...
 
Back
Top