Message # # define ok WM_user + 900 success
Message # # define failed WM_user + 901 failure
I so call: in the pb Subroutine test (ref string ls_zw) library "vc. DLL
"String ls_zw
Ls_zw=space (356)
Enroll (ls_zw)
Messagebox (" ", ls_zw)
After execution, ls_zw is empty, no know is no execution success, or my grammar have a problem, and I like to the message number, take. Be urgent!
CodePudding user response:
Pbm_custom01 corresponding Windows WM_USERWM_USER=1024
User-defined events
The User - Defined Event original concept Event ID
WM_USER pbm_custom01
.
.
WM_USER + 74 pbm_custom75
CodePudding user response:
String ls_zwLs_zw=space (356)
Enroll (ls_zw)
Messagebox (" ", ls_zw)
This can look
In the void test (char * p), to a pointer assignment, don't delete, finally let pb to release the block of memory
CodePudding user response:
Subroutine test (ref string ls_zw) library "vc. DLL"
String ls_zw
Ls_zw=space (356)
Enroll (ref ls_zw)//add a ref try again
Messagebox (" ", ls_zw)
CodePudding user response:
Void WINAPI test (char * p)To this definition
CodePudding user response:
Pb char is in it?CodePudding user response:
Void WINAPI test (char * p) have like this?