Re: Another Win32lib problem, and this may not be fixable. Fixed - sort of.....
- Posted by ChrisB (moderator) 1 week ago
- 292 views
Hi
Yes, I did consider a one off test so it wouldn't need to be repeated, but w32Func is the wrapper for c_func, and it's actually dual purpose.
w32Func looks to see if the desired function is in it's list of functions, if it is it calls it, and if it isn't it links it, adds it to it's list and then it calls it. It's a bit clever, as you only need to link functions when you need them, it helps with memory allocation (more so in the olden days), and it does speed things up a little, but it doesn't help in cases like this where I don't know if the function has been linked before it's called, for ALL cases of linking and calling for ALL functions in DLLs.
At least that's the way I see it.
Cheers
Chri