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:
[*:27nd21pm][url=http://wyday.com/limelm/help/using-turboactivate-with-vb-dot-net/:27nd21pm]Switch to VB.NET[/url:27nd21pm].[/*:m:27nd21pm]
[*:27nd21pm][url=http://wyday.com/limelm/help/using-turboactivate-with-real-studio/:27nd21pm]Switch to RealBasic[/url:27nd21pm].[/*:m:27nd21pm]
[*:27nd21pm]Use a VB6 class that works around this CDECL problem to call the TurboActivate function. See: [url=http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=49776&lngWId=1:27nd21pm]http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=49776&lngWId=1[/url:27nd21pm]. I've also attached the example code to this forum post just in case that link ends up dead.[/*:m:27nd21pm][/list:o:27nd21pm]
- (12.17 KiB) Downloaded 164 times
[/attachment:27nd21pm] [b:27nd21pm]This code has not been tested by anyone here at wyDay. Use at your own discretion.[/b:27nd21pm]
Tell me if this helps.