Hi Peter,
I have recently tried the "Callable IDL" technique from a Windows Console application developed using Visual C++ and was able to pass scalar and array values between C++ and IDL without any trouble. I haven't as yet looked at using it from a DLL, so perhaps I can't help you directly. I basically started by reproducing the example program that is supplied with IDL, then moved on from there to something more complex.
I maybe wrong, but I think the documentation makes some comments regarding the use of threads and IDL in this way so it may be worth reviewing the help files if you've not already done so. I could just be clutching at straws as you don't mention what the error was - does this not give an indication of the problem?
Cheers
Si
|