Pelles C forum

C language => Tips & tricks => Topic started by: TimoVJL on May 14, 2019, 08:12:57 PM

Title: Using CLR's code to create function names for DEF file
Post by: TimoVJL on May 14, 2019, 08:12:57 PM
Example of using CLR's code to create function names for DEF file.
Without knowing of parameter sizes in 32-bit header leads wrong results :(
64-bit import libraries don't have a that problem.

CFuncFileDef was created for a OpenCL def file for import library.
It create a template to check actual parameters.
Title: Re: Using CLR's code to create function names for DEF file
Post by: Vortex on May 16, 2019, 08:26:40 PM
Hi Timo,

Is it possible to obtain an import library? Maybe, we can create a def file from this library.
Title: Re: Using CLR's code to create function names for DEF file
Post by: TimoVJL on May 22, 2019, 03:41:19 PM
Creating a dll stub from headers helps too.