Hello dear forum users! Just want to apologize for my English. Also I apologize for being just a beginner.
Faced such a mistake
\main.cpp|198|undefined reference to `GetSaveFileNameA@4'|
Here is the function in which the problem arises
void newGradebookDialog( HWND hwnd, TCHAR file[] )
{
   OPENFILENAME ofn;
  TCHAR saveFileName[MAX_PATH] ="";
   ZeroMemory( &ofn, sizeof( ofn ) );
    ofn.lStructSize = sizeof(OPENFILENAME);
    ofn.hwndOwner = hwnd;
    ofn.lpstrFilter = "CSV File (*.csv)\0*.csv\0";
    ofn.lpstrFile = saveFileName;
    ofn.nMaxFile = MAX_PATH;
    ofn.lpstrDefExt = "csv";
    ofn.Flags  = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
    ofn.lpstrTitle = "Export to CSV";
 if(GetSaveFileName(&ofn))
  strcpy(file,saveFileName);
}
Yes, the development environment points to the next line
if(GetSaveFileName(&ofn))
Thankful in advance for any help! If the topic did not create the right place, I apologize.