Home > database >  Under the pb10 genuflect is begged/11/12 nvo_commdlg available
Under the pb10 genuflect is begged/11/12 nvo_commdlg available

Time:09-22

Or unicode problem, make uncertain, superior ~

Heel stick on pb9 source


E-mail: 22450869 @qq.com

CodePudding user response:

Er, the source code is too long, don't let me send,, please see this post under nvo_commdlg

http://topic.csdn.net/u/20111027/09/b9f748ce-0347-4bfe-9434-14e7e33dcf20.html

Thank you very much ~

CodePudding user response:

Modify the API statement for the ANSI version:
 
//Common Dialog External Functions provides
The Function long GetOpenFileNameA (REF OPENFILENAME OPENFILENAME) library "comdlg32. DLL" Alias For "GetOpenFileNameA; Ansi
"The Function long GetSaveFileNameA (REF OPENFILENAME SaveFileName) library "comdlg32. DLL" Alias For "GetSaveFileNameA; Ansi
"The Function long PrintDlgA (REF PRINTDLG PRINTDLG) library "comdlg32. DLL" Alias For "PrintDlgA; Ansi
"The Function long ChooseFontA (REF CHOOSEFONT CHOOSEFONT) library "comdlg32. DLL" Alias For "ChooseFontA; Ansi
"//the Memory Functions provides
The Function long GetDevMode (REF DEVMODE Destination, long the Source of long Size) library "kernel32. DLL" Alias For "RtlMoveMemory; Ansi
"The Function long GetDevNames (REF DEVNAMES Destination, long the Source of long Size) library "kernel32. DLL" Alias For "RtlMoveMemory; Ansi
"The Function long GetLogFont (REF LOGFONT Destination, long the Source of long Size) library "kernel32. DLL" Alias For "RtlMoveMemory; Ansi
"The Function long PutLogFont (long Destination, REF LOGFONT Source, long Size) library "kernel32. DLL" Alias For "RtlMoveMemory; Ansi
"
The Function long StrCopy (long Destination, REF string Source, long Size) library "kernel32. DLL" Alias for "RtlMoveMemory; Ansi
"The Function long LocalAlloc (long Flagss, long Bytes) library "kernel32. DLL
"The Function long LocalFree (long MemHandle) library "kernel32. DLL
"The Function long CommDlgExtendedError () library "comdlg32. DLL
"The Function long lstrcpy (long Destination, REF string Source) library "kernel32. DLL" Alias For "lstrcpy; Ansi
"The Function long LocalLock (long Handle) library "kernel32. DLL
"The Function long LocalUnlock (long Handle) library "kernel32. DLL
"
//Misc Functions provides
The Function long GetWindowsDirectoryA (REF string Buffer, long Size) library "kernel32. DLL" Alias For "GetWindowsDirectoryA; Ansi
"
  • Related