[squeak-dev] FFI: FFI-Libraries-mt.3.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 13 13:48:59 UTC 2021

Marcel Taeumel uploaded a new version of FFI-Libraries to project FFI:

==================== Summary ====================

Name: FFI-Libraries-mt.3
Author: mt
Time: 13 December 2021, 2:48:58.566673 pm
UUID: ceb5586b-daec-c143-a9df-a9839166c35f
Ancestors: FFI-Libraries-mt.2

Adds missing #externalCallFailed, which produced strange follow-up issues.

=============== Diff against FFI-Libraries-mt.2 ===============

Item was changed:
  ----- Method: Win32Shell>>shellExecute:lpOperation:lpFile:lpParameters:lpDirectory:nShowCmd: (in category 'api calls') -----
  shellExecute: hwnd lpOperation: opString lpFile: fileString lpParameters: parmString lpDirectory: dirString nShowCmd: anInteger
  	"Opens or prints the specified file, which can be an executable or document file.
  		HINSTANCE ShellExecute(
  	  		HWND hwnd,			// handle to parent window
  			LPCTSTR lpOperation,	// pointer to string that specifies operation to perform
  			LPCTSTR lpFile,		// pointer to filename or folder name string
  			LPCTSTR lpParameters,	// pointer to string that specifies executable-file parameters 
  			LPCTSTR lpDirectory,	// pointer to string that specifies default directory
  			INT nShowCmd 			// whether file is shown when opened
+ 	<apicall: long 'ShellExecuteA' (long char* char* char* char* ulong) module:'shell32.dll'>
+ 	^ self externalCallFailed!
- 	<apicall: long 'ShellExecuteA' (long char* char* char* char* ulong) module:'shell32.dll'>!

More information about the Squeak-dev mailing list