設定文字:
test.getdlgitem(text的id)->setwindowtext(顯示文字1);
獲得當前目錄:
getcurrentdirectory(max_path,buf);
獲得當前程式檔名等:
getmodulefilename
getsystemdirectory
getwindowsdirectory
getcurrentdirectory
動態引用庫檔案:
typedef int (*lpsendallbuf)(char*,char*,char*,char*);
hinstance g_hxsjly = null;
lpsendallbuf g_pfnsendallbuf=null;
g_hxsjly = ::loadlibrary("d://codes//testvc//release//xsjly.dll");
g_pfnsendallbuf = (lpsendallbuf)getprocaddress(g_hxsjly,"datinte***ce");
g_pfnsendallbuf(szcarnum,pszcartype,pszcarvin,szpath);
....待續
一些常用的函式
這是一些使用頻率比較高的函式,有的來自別人的程式.1.產生隨機字串函式 function random length return hash 2.擷取一定長度的字串 注 該函式對gb2312使用有效 function wordscut string,length sss 0 for i 0 i le...
一些常用的php函式
這是一些使用頻率比較高的函式,有的來自別人的程式.1.產生隨機字串函式 function random length return hash 2.擷取一定長度的字串 注 該函式對gb2312使用有效 function wordscut string,length sss 0 for i 0 i le...
一些常用函式的實現
1 strcat函式原型如下 char strcat char strdest,const char strscr 將源字串加const,表明其為輸入引數 向該字串的結束標誌 0 while strdest strscr 此處可以加語句 strdest 0 有無必要?return address 為...