#define UNICODE
#include <jni.h>
#include "AcrobatFile.h"
#include <windows.h>

void launchAcrobat(char fileName[256]);

JNIEXPORT void JNICALL Java_AcrobatFile_PrintAcrobatFile
(JNIEnv *env, jobject obj, jstring fileName)
{
char acrobatFileName[256];

acrobatFileName = env->GetStringChars(fileName,0);

launchAcrobat(acrobatFileName);

acrobatFileName = env->ReleaseStringChars(fileName,acrobatFileName);
}

I'm trying to make the following code work but i keep getting the following errors

[ error C2440: '=' : cannot convert from 'const unsigned short *' to 'char [256]'
[error C2664: 'ReleaseStringChars' : cannot convert parameter 2 from 'char [256]' to 'const unsigned short *'

My question is. How do i convert acrobatFileName[256] to a const unsigned short *? Really appreciate the help. Been stuck on this for a while now. Thanks!