Hello All,
I'm new to VW 7.5 and using a development image with COM parcel loaded. When I'm making a runtime with RuntimePackager, at runtime image launching, I receive the message "This image is configured as a COM Automation server.....", what I didn't intend to do. Off course in this case it works when launching the runtime image with /Automation switch, but this is not a clean solution. Another solution I found for the moment is to unload the 5 "COM-Automation..." parcels in the parcels tab in RuntimePackager. Does anybody know if it's the best solution ? Is it possible to configure a class in the image to avoid unloading parcels at stripping step ? AppDevGuide and COMConnectGuide didn't help me in this case. Thx a lot in advance, Stephane |
IIRC, there's an example Automation server that is loaded by COM-All.
Unload that, and it should work (I recently started using COM in BottomFeeder, and ran into this exact problem) James Robertson http://www.cincomsmalltalk.com/blog/blogView Talk Small and Carry a Big Class Library On Apr 3, 2008, at 10:33 AM, Stephane Gravelle wrote: > > Hello All, > > I'm new to VW 7.5 and using a development image with COM parcel > loaded. > When I'm making a runtime with RuntimePackager, at runtime image > launching, > I receive the message "This image is configured as a COM Automation > server.....", what I didn't intend to do. > Off course in this case it works when launching the runtime image with > /Automation switch, but this is not a clean solution. > Another solution I found for the moment is to unload the 5 > "COM-Automation..." parcels in the parcels tab in RuntimePackager. > > Does anybody know if it's the best solution ? Is it possible to > configure a > class in the image to avoid unloading parcels at stripping step ? > AppDevGuide and COMConnectGuide didn't help me in this case. > > Thx a lot in advance, > > Stephane > -- > View this message in context: http://www.nabble.com/VW-7.5.-Runtime-Packager-tp16467515p16467515.html > Sent from the VisualWorks mailing list archive at Nabble.com. > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Thank you for your answer, effectively as I said when unloading Com Automation parcels it works, but strangely could not succeed to "deactivate" this automation server without unloading parcels.
So I have a solution, but if somebody has more info, would be great :) Thanks in advance Stephane
|
Hello,
I lately worked at this problem. It will be solved in VisualWorks 7.7. For now I would suggest to either (as already said) unload the Automation Examples package or (if you need to use the automation examples) to execute the following two statements after loading the parcel: Examples.AutomationOnlySmalltalkCommander removeSessionEventHandlers. Examples.AutomationAllDataTypes removeSessionEventHandlers. Best Regards, Alexander Augustin Alexander Augustin (Dipl.-Informatiker), Email: [hidden email] , Tel: +49-3496-214329, Fax: +49-3496-214712 Georg Heeg eK, Köthen Handelsregister: Amtsgericht Dortmund A 12812 -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Stephane Gravelle Gesendet: Freitag, 4. April 2008 11:50 An: [hidden email] Betreff: Re: [vwnc] VW 7.5. Runtime Packager Thank you for your answer, effectively as I said when unloading Com Automation parcels it works, but strangely could not succeed to "deactivate" this automation server without unloading parcels. So I have a solution, but if somebody has more info, would be great :) Thanks in advance Stephane James Robertson-7 wrote: > > IIRC, there's an example Automation server that is loaded by COM-All. > Unload that, and it should work (I recently started using COM in > BottomFeeder, and ran into this exact problem) > > James Robertson > http://www.cincomsmalltalk.com/blog/blogView > Talk Small and Carry a Big Class Library > > > > On Apr 3, 2008, at 10:33 AM, Stephane Gravelle wrote: > >> >> Hello All, >> >> I'm new to VW 7.5 and using a development image with COM parcel >> loaded. >> When I'm making a runtime with RuntimePackager, at runtime image >> launching, >> I receive the message "This image is configured as a COM Automation >> server.....", what I didn't intend to do. >> Off course in this case it works when launching the runtime image with >> /Automation switch, but this is not a clean solution. >> Another solution I found for the moment is to unload the 5 >> "COM-Automation..." parcels in the parcels tab in RuntimePackager. >> >> Does anybody know if it's the best solution ? Is it possible to >> configure a >> class in the image to avoid unloading parcels at stripping step ? >> AppDevGuide and COMConnectGuide didn't help me in this case. >> >> Thx a lot in advance, >> >> Stephane >> -- >> View this message in context: >> http://www.nabble.com/VW-7.5.-Runtime-Packager-tp16467515p16467515.html >> Sent from the VisualWorks mailing list archive at Nabble.com. >> >> _______________________________________________ >> vwnc mailing list >> [hidden email] >> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc >> > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > -- View this message in context: http://www.nabble.com/VW-7.5.-Runtime-Packager-tp16467515p16490311.html Sent from the VisualWorks mailing list archive at Nabble.com. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Many thanks to James and Alexander, even a bit late :)
Best regards, Stephane
|
Free forum by Nabble | Edit this page |