# SimConnect_FlightLoad The **SimConnect\_FlightLoad** function is used to load an existing flight file.   ##### Syntax ``` cpp HRESULT SimConnect_FlightLoad( HANDLE hSimConnect, const char* szFileName ); ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|----------------------------------------------------------------|---------| | *hSimConnect* | Handle to a SimConnect object. | Integer | | *szFileName* | Null-terminated string containing the path to the flight file. | String | {{< /table-wrapper >}}   ##### Return Values This function does not return a value.   ##### Remarks Flight files can be opened using a text editor.