Subject: Re: [ruby-ffi] Function 'LoadIconMetric' not found in [kernel32, user32, gdi32, comctl32] (FFI::NotFoundError) |
From: Jon |
Date: 9/28/13 5:31 PM |
To: ruby-ffi@googlegroups.com |
Hello ruby-ffi,--I am attempting to attach to the LoadIconMetric Windows API function which is part of comctl32. The function is not found and so can never be attached.The following 3 lines are taken from the top of one of the Microsoft VC++ sample projects cpp files:// we need commctrl v6 for LoadIconMetric()
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma comment(lib, "comctl32.lib")This function is required in order to make use of the Windows system tray icon API. I really hope there is a simple solution to this problem.Thanks,bawNg
---
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.