Ah.. that's because TurboActivate uses the CDECL calling convention and VB6 doesn't support this calling convention. We don't officially support VB6 (because the language is so ancient) which is why we don't have an article showing how to use TA with VB6.
That being said, you have a few options:
- Switch to VB.NET.
- Switch to RealBasic.
- Use a VB6 class that works around this CDECL problem to call the TurboActivate function. See: http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=49776&lngWId=1. I've also attached the example code to this forum post just in case that link ends up dead.
[attachment=0]Call_CDECL_From_VB6.zip[/attachment] This code has not been tested by anyone here at wyDay. Use at your own discretion.
Tell me if this helps.