When I change the function declaration of the function im tyring to pass the data to in the activex dll, i get the same error