[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vCalender API question


I am trying to integrate my product with vCalender. I am 
currently using versit APIs. I have problem with one of
the APIs. I am trying to access VCEventProp. I have my
code written like this

void do_Event(VObject* prop)
	const wchar_t* event= vObjectUStringZValue(prop);

	FILE* fp = fopen("v_event.a", "w");
	int i = 0;

	while( *event != '\0')	
		fprintf(fp, "%c", *event++);  


This function gets called once we find that there exists
an event in the vcf file. I am hitting an illegal instruction
error in this function.

Could someone help me with this?


Get Your Private, Free Email at http://www.hotmail.com