![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a COM+ component that accomplishes the following: 1. Unzips a zip file into a temp directory 2. Parses a raw text file from the zip and converts it to XML 3. Bulk loads the XML into a database 4. Runs several stored procedures 5. Cleans up all of the temp files This is all accomplished by calling a VBScript that instatiates my serviced component (written in C#) which depends on the following assemblies: Zip and Unzip Capabilities - ICSharpCode.SharpZipLib.dll (stright .NET) XML Bulk Loading - Interop.SQLXMLBULKLOADLib.dll (this was generated with tlbimp.exe with a snk file on xblkld3.dll--.NET wrapper for a COM component) Serviced Component - Software4.TransAn.DataImport.dll Raw Data Parser (EZSCan) - Software4.TransAn.DataImport.Drivers.EZScan.dll (stright .NET) Raw Data Parser (ScanMaster) - Software4.TransAn.DataImport.Drivers.ScanMaster.dl l (straight .NET) The two data parsers are never used at the same time and they are loaded at runtime using reflection. I am having trouble understanding how things work between the different technologies represented here. My serviced component is written in C#, however, it accesses other assemblies that are straight .NET. But it also accesses assemblies such as the bulk loader that are just COM components. I have yet to get this to work and I believe this has to do with the fact that I don't know exactly where each object is looking to find the assemblies it depends on. When I run my VBScript, it just looks in component services to get the object it needs, but from there, how can I access the other assemblies I am dependant on. I don't want to put them into the GAC because they are not shared components, so how do I make them available to my serviced component? -Matt |
#3
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |