C语言中连用两个指针箭头

aqpueue.h:
struct pQueue
{
/* priority queue array and count*/
int count;
event pqlist[MaxPQSize];
};

event.h中
struct event
{
int customerID; /* customers numbered 1, 2, 3,... */
};

于是,在aqpueue.h操作以下时
for (int i = 0; i <= pq->count; i++)
    {
        if (pq->pqlist[i]->customerID == ID)
        {

        }
    }

会报错:E3364    运算符 -> 或 ->* 应用于 "event" 而不是指针类型    

是在C语言中不能两个箭头这样连着用么,或者不能跨文件这样连着用,求解答

指针变量访问里面的成员才是用箭头,普通结构体变量就用点。
pq->pqlist[i].customerID