User Tools

Site Tools


dll_function_changes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dll_function_changes [2018/09/03 18:48] – created wolfgangriedmanndll_function_changes [2018/09/03 18:48] (current) wolfgangriedmann
Line 2: Line 2:
  
 In VO, the following _dll declaration is correct: In VO, the following _dll declaration is correct:
-[code visualfoxpro]_DLL function zLibCompress( ptrDest as ptr, nBytesOut ref long, ptrSource as ptr, nBytesIn as long ) as int:zlib.compress[/code]+<code visualfoxpro>_DLL function zLibCompress( ptrDest as ptr, nBytesOut ref long, ptrSource as ptr, nBytesIn as long ) as int:zlib.compress</code>
  
 This function has the C calling convention (comes from the Linux/Unix world), and therefore the ''pascal'' calling convention is not specified. This function has the C calling convention (comes from the Linux/Unix world), and therefore the ''pascal'' calling convention is not specified.
  
 In X# this declaration does not compile, you have to add the ''strict'' calling convention In X# this declaration does not compile, you have to add the ''strict'' calling convention
-[code visualfoxpro]_DLL function zLibCompress( ptrDest as ptr, nBytesOut ref long, ptrSource as ptr, nBytesIn as long ) as int strict:zlib.compress[/code]+<code visualfoxpro>_DLL function zLibCompress( ptrDest as ptr, nBytesOut ref long, ptrSource as ptr, nBytesIn as long ) as int strict:zlib.compress</code>
  
dll_function_changes.txt · Last modified: 2018/09/03 18:48 by wolfgangriedmann