Spencer Oliver pisze:
> you are using the wrong calling convention if this happens.
> Note the WINAPI

Dude - you rule! That was exactly the problem - I've copied the typedef 
for pointers from msdn and the example used __cdecl instead of WINAPI. 
Changing that with your suggestion fixed the problem [;

Thx <:

I'm wondering now whether I should be doing such things... /;

Anyway - would such feature be accepted to OpenOCD (if fully tested and 
working of course)? I think that it would be a good addition, because no 
libraries would have to be distributed with OpenOCD releases. Now - when 
all interfaces are enabled - the distro should have libftdi.dll (or 
ftd2xx.dll) and libusb0.dll - even if the end-user doesn't need them.

I think there are 4 interfaces that would need that - ft2232, presto, 
jlink and rlink.

4\/3!!
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to