I am trying to call functions from p1 so that I can export them in the DLL from p2. I have added additional dependecies to the folder where Main.h lies, but am still recieving the error. Could someone please help!!
***************GestureDLL.cpp*********
// GestureDLL.cpp : Defines the exported functions for the DLL application.
//
#pragma once
#pragma comment(lib, "mchp_hmi.lib")
#include "stdafx.h"
//#include <hmi_api.h>
//#include <hmi_dynamic.h>
//#include <hmi_static.h>
#include <stdio.h>
#include <Windows.h>
#include <stdio.h>
#include <conio.h>
#include <Main.h>
typedef struct
{
int running;
int menu_current;
int auto_calib;
int last_gesture;
int touch_detect;
int air_wheel;
int last_mouse;
int mouse_countdown;