compiling under C# (wodFtpDLX / wodFtpDLX.NET)
Hi again,
I'm trying to compile a library with the wod components:
csc /r:wodCertificate.dll /r:wodFtpDLX.dll /lib:c:WINNTsystem32 /t:library /out:test.dll test.cs
I get a Metadata file can't be opened error.
What are the correct arguments to compile?
Re: compiling under C#
Hi.
You cannot link directly with wodFtpDLX. You must create interop wrapper so you can link with NET assemblies. You can use TLBIMP.EXE that can be found (well, on my computer at least) in [code]C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin[/code]
Once you do that, you will see new file wodFtpDLXComLib.DLL created. Now link with that one instead of ActiveX DLL, and it will work.
Regards,
Kreso