----- Original Message ----- From: "Bert Jan Lappenschaar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 16, 2004 3:26 PM
Subject: [Nant-users] references to interop dll's



I am running into the following problem:


I use a nant script that has produces an exe. It has a references to Interop.TGXLib.dll and AxInterop.TGXLib.dll (wrapper dll's).

Everything compiles fine.

Now, when I run the program I just compiled, it is looking for dll's
TGXLib.dll and AxTGXLib.dll, but it can't find them because these names
are wrong, it should look for Interop.TGXLib.dll and
AxIntererop.TGXLib.dll.


no - this is incorrect. the interop dlls are wrappers for the non-interop ones. You need both to be available at runtime. The interop ones should be in the same directory as you app ( or somewhere loadable by .net ) while the com dlls ( TGXLib.dll and AxTGXLib.dll ) will need to be registered using regsvr32 or some other com registration method.



If I rename my interop dll's to TGXLib.dll and AxTGXLib.dll, everything
works fine.

I find that very surprising - if they are true interp dlls. I think as Gert said, you had better package up a sample.

So the names of the references in the exe are wrong. The part 'interop.'
has dropped off.

Ian


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to