Two methods of reading constants from resource files

xiaoxiao2021-03-19  237

The first is the old way to first #include can be used

TBUF <64> BUF; Ceikonenv :: Static () -> ReadResource (buf, r_app_label); R_App_Label is the constant we defined in the resource file

The second new method must first #include

HBUFC * BUF; buf = stringloader :: loadlc (r_app_label);

Before this, I ask for the resource file to join in, format #include

Chaozhou Xintiandi Network Weng Pei

转载请注明原文地址:https://www.9cbs.com/read-130185.html

New Post(0)