i write below code in vs2005:
#include <posapi.h> #include <posapi_all.h> #include <arabic_farsi_api.h> #include <arabic_farsi_deprecated.h> #pragma comment(lib, "paxarfa.lib") const appinfo appinfo={ "pos-simple example", "app-test", "1.0", "pcteam", "demo program", "", 0, 0, 0, "" }; int event_main(st_event_msg *msg) { systeminit(); return 0; } int main(void) { systeminit(); arprintstring(ar_align_center, "hi"); return 0; }
also add paxarfa.lib
in project properties->linker->input , set lib path c/c++->general->additional include directories, use pragma
define paxarfa.lib
, lnk 2019
, lnk2011
happened in arprintstring function..
code in c, not in c++.
i want show arabic char , must use paxarfa.lib
, arabic_farsi_api.h
, arabic_farsi_deprecated.h
show arabic char.
Comments
Post a Comment