Using Visual Studio 2008, I created a c++ Win32 project. To release the program, I made a visual studio setup project within the same solution. The setup.exe prompts my users to install .Net 3.5 SP1, which is often a 15+ minute install and only allowed to administrator level accounts. If they do not there is an error along the lines of "wrong framework". I am confused over what in my project requires .Net 3.5 SP1. I suspect just because that is the framework my PC is on.. is there a way to broaden which frameworks it will run on? The code is mostly win32 API calls. Just in case, here are my dependancies and #includes:
gdiplus.lib
comctl32.lib
Winmm.lib
d3d9.lib
(the setup project automatically added comdlg32.dll, then tells me to exclude it)
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string.h>
#include <commctrl.h>
#include <process.h>
#include <sstream>
#include <math.h>
#include <d3d9.h>
#include <time.h>
#include <gdiplus.h>
My guess is that somewhere through windows.h there is a WIN_VER or similar version setting that is set to .Net 3.5 SP1, and this is where the dependancy comes from. If that is the case, and I need to define a different version, I would love to hear everyone's advice on does / don'ts / and how-to and how far back can I go for maximum inclusion. Thanks!
-Jeff