Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

VBÔÚÈÎÒâϵͳCÅÌÏŽ¨Á¢Îļþ¼ÐºÍÎļþ

Private Sub Command1_Click()
On Error Resume Next
Dim Buffer As String
Buffer = Space(MAX_PATH)
rtn = GetWindowsDirectory(Buffer, Len(Buffer))
WinPath = Left(Buffer, rtn)

Dim UserInput
UserInput = "1"

MkDir WinPath & "\" & UserInput
°´ÏÂCOMMAND1°´Å¥Ê±¾Í½¨Á¢Ò»¸öÎļþ¼Ð£¬È»ºó¸ù¾ÝÎļþ¼ÐµÄ·¾¶±£´æSHELL.DRVÕâ¸öÎļþÇëÎÊÔõô×ö``
Open  MkDir WinPath & "\1\SHELL.DRV" For Output As #5

'Open "MkDir WinPath & " \ " & UserInput & " \ " & SHELL.DRV" For Output As #5
Print #5, text1.Text
Close #5
ÎÒÏëÁ˺þö¼Ïë²»³öÀ´`Çë´ó¼Ò°ïæ½â¾ö`лл
End Sub
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long

Private Sub Command1_Click()
    Const MAX_PATH = 255
    Dim Buffer As String
    Dim rtn As Long
    Dim WinPath As String
    Dim UserInput As String
   
    Buffer = Space(MAX_PATH)
    rtn = GetWindowsDirectory(Buffer, Len(Buffer))
    WinPath = Left(Buffer, rtn)
   
    UserInput = "1"
    MkDir WinPath & "\" &


Ïà¹ØÎÊ´ð£º

Á½¸öCÎļþµÄÎÊÌâ

ÒÔǰÔÚVCÀïÃæ½¨Ò»¸ö¹¤³Ì£¬¶¼Ö»ÓÃÒ»¸ö .c Îļþ£¬×òÌìÔÚÒ»¸ö¹¤³ÌÀïÓÃÁËÁ½¸ö .cÎļþÁË£¬Óöµ½ÎÊÌâÁË£¬Çë´ó¼ÒÖ¸µã¡£±ÈÈ磺
File1.c Fil ......

C#µ÷Óà C DLLÎÊÌ⣬¶®µÄÀ´ÇÀ·ÖÁË

//C ½Ó¿Ú
extern "C"
{
  TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);  
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......

CÖеÄһЩСÎÊÌâ¡£¡£¡£

/* Note:Your choice is C IDE

×÷Óãº Ëæ»úÊý¼ÓÃÜ·¨£¬£¬£¬£¬
ÒÔÏÂÓÐÐí¶à²»¶®£¬Çë½Ìһϣ¬ÇëÖ÷Òâ´úÂë;
*/
#include <stdio.h>
#include <stdlib.h>
union
{
int value;
struct
{
c ......

C¡¢C++¡¢VC++ ¾«Æ·µç×ÓÊé·¢²¼À²£¡

ÄÚÈÝÉæ¼°£ºC¡¢C++¡¢STL¡¢VC++¡¢MFC¡¢COM¡¢ATL¡¢WindowsÍøÂç±à³Ì¡¢Êý¾Ý¿â±à³Ì¡¢WindowsÇý¶¯±à³Ì¡¢Èí¼þ¹¤³Ì¡¢Windows²Ù×÷ϵͳ±à³Ì£¬µÈµÈ·½Ãæ¡£

ÏÂÔØµØÖ·£ºhttp://www.cctry.com/forumdisplay.php?fid=46

......

ÈçºÎ×Ô»ælistview,×ö±í¸ñµÄ±íÍ·¡£(C/SDK)

ÎÒÏëÓÃc/sdk listviewµÃµ½ÏÂÃæµÄЧ¹û£¬ÓÐÈË˵×ö±íÍ·ÐèÒª×Ի棬´´½¨Ê±»¹Òª¼ÓLVS_OWNERDRAWFIXEDÀàÐÍ£¬È»ºó´¦Àí¸¸´°¿ÚµÄWM_DRAWITEMÏûÏ¢¡£

ÄÄλÄܰï°ïæ¸ø¸öÀý×Ó´úÂ룿 ×îºÃÊÇC/SDKµÄ¡£

ÎÒÐèÒªµÃµ½ÕâÑùµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ