Forum Discussion
rsippel
14 years agoOccasional Contributor
Well, I tried copying the function out of the extension and into my test-suite to see if the DLL.DefineEnvironmentByDLL()...Load()...dll_object.function() logic would work outside of the extension. I ended up getting to the point of trying to call the function and then got the exception "Object doesn't support this property or method".
I did a google search on DefineEnvironmentByDLL and found someone else who indicated that they were having problems with this stuff in TC8 (though it had been working for them in TC7).
http://www.sqaforums.com/showflat.php?Cat=&Board=UBB43&Number=639128&Searchpage=1&Main=638878&Words=+Allen_AQA&topic=&Search=true
I am using TC8.10.487.7.
The link did not provide a solution (they took the issue out to email so that's no help to anyone else).
Anyone have suggestions?
I also looked into trying to use the AppDomain() approach, which needs an EXE to wrap calls to the DLL. There are no examples about how to do that. What should the EXE code look like? Which template should be used for it? How does one start the EXE from an extension?
The dotNET approach does work, but we have a lot of test-projects and really would like it if we did not have to maintain the CLRBridge in each of them just so the extension will work (all of the DLL calls are in the extension).
Thanks for any consideration.
~Rob
I did a google search on DefineEnvironmentByDLL and found someone else who indicated that they were having problems with this stuff in TC8 (though it had been working for them in TC7).
http://www.sqaforums.com/showflat.php?Cat=&Board=UBB43&Number=639128&Searchpage=1&Main=638878&Words=+Allen_AQA&topic=&Search=true
I am using TC8.10.487.7.
The link did not provide a solution (they took the issue out to email so that's no help to anyone else).
Anyone have suggestions?
I also looked into trying to use the AppDomain() approach, which needs an EXE to wrap calls to the DLL. There are no examples about how to do that. What should the EXE code look like? Which template should be used for it? How does one start the EXE from an extension?
The dotNET approach does work, but we have a lot of test-projects and really would like it if we did not have to maintain the CLRBridge in each of them just so the extension will work (all of the DLL calls are in the extension).
Thanks for any consideration.
~Rob