Quote:
Originally posted by PhilCooper
I seem to have it sorted now though still a bit puzzled. I eventually found that the previous (vbp 5.7) version of my actions was compiled in debug mode. For some reason, I had compiled them for vbp 6.0 in release mode. Debug mode had the "Register for Com Interop" option selected whilst Release mode didn't.
This kind of explains it but why would "RegAsm" not complain - doesn;t it set the option anyway ?
|
Not sure. I tried my sample above with the project set to not register for COM Interop and it worked ok.
Quote:
Originally posted by PhilCooper
I have now tried this on another computer with the DLL compiled with the "Register for Com Interop" option set and it didn't work.
However, I then tried again with the DLL and all the ".action" files in the same directory - then it did work. Is this a requirement ?
|
That should not be necessary, and it wasn't for us in the sample above. If you can ZIP and post or send your files, we can take a look and compare with the working sample to see what might be missing.