Compiling sfun_rttime.c with LCC

1 view (last 30 days)
Petr Micek
Petr Micek on 17 Jan 2012
Hi,
I am trying to compile the sfun_rttime.c function with LCC on Windows XP, I get following linker error:
undefined reference to '_SetProcessAffinityMask'
Now, clearly SetProcessAffinityMask is a Windows kernel function defined in kernel32.dll. My question were how can one link Windows API functions using LCC and LCCLINK? Is it possible? I assume this could be a problem of function name decoration, but have not found a way to modify LCCLINK settings.
Thanks, Petr

Answers (0)

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!