PC Review


Reply
Thread Tools Rate Thread

Alex Feinman Re : DLL in other directory

 
 
Peter
Guest
Posts: n/a
 
      11th Feb 2005
Alex,

using System.Reflection;

namespace myApp

public class frmMain : System.Windows.Forms.Form

{

public frmMain()

{

InitializeComponent();

}

Assembly.LoadFrom("\path\to\MyLib.dll")
Assembly.LoadFrom("\path\to\MyOtherLib.dll")
Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
static void Main()

{

Application.Run(new frmMain());

}

}


with compiling I get a error "Invalid token '(' in class, struct, or
interface member declaration.

Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok

What could be wrong ?

Thanks Peter.




You don't even need to assign the result anywhere:
Assembly.LoadFrom("\path\to\MyLib.dll")
Assembly.LoadFrom("\path\to\MyOtherLib.dll")
Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")

--
Alex Feinman
---
> Alex, do you mean :
>
> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>
> or is this wrong ?



 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      11th Feb 2005
Move the 3 Loads into Main

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
news:(E-Mail Removed)...
> Alex,
>
> using System.Reflection;
>
> namespace myApp
>
> public class frmMain : System.Windows.Forms.Form
>
> {
>
> public frmMain()
>
> {
>
> InitializeComponent();
>
> }
>
> Assembly.LoadFrom("\path\to\MyLib.dll")
> Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> static void Main()
>
> {
>
> Application.Run(new frmMain());
>
> }
>
> }
>
>
> with compiling I get a error "Invalid token '(' in class, struct, or
> interface member declaration.
>
> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok
>
> What could be wrong ?
>
> Thanks Peter.
>
>
>
>
> You don't even need to assign the result anywhere:
> Assembly.LoadFrom("\path\to\MyLib.dll")
> Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>
> --
> Alex Feinman
> ---
>> Alex, do you mean :
>>
>> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
>> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>>
>> or is this wrong ?

>
>


 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      11th Feb 2005
Thanks Daniel,

That did the trick.
I noticed that this only works for DLL's not written in C# but only for
DLL's written in C++ , am I correct ?

Regards
Peter.


"Daniel Moth" <(E-Mail Removed)> schreef in bericht
news:%(E-Mail Removed)...
> Move the 3 Loads into Main
>
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/
>
>
> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> news:(E-Mail Removed)...
> > Alex,
> >
> > using System.Reflection;
> >
> > namespace myApp
> >
> > public class frmMain : System.Windows.Forms.Form
> >
> > {
> >
> > public frmMain()
> >
> > {
> >
> > InitializeComponent();
> >
> > }
> >
> > Assembly.LoadFrom("\path\to\MyLib.dll")
> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> > static void Main()
> >
> > {
> >
> > Application.Run(new frmMain());
> >
> > }
> >
> > }
> >
> >
> > with compiling I get a error "Invalid token '(' in class, struct, or
> > interface member declaration.
> >
> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok
> >
> > What could be wrong ?
> >
> > Thanks Peter.
> >
> >
> >
> >
> > You don't even need to assign the result anywhere:
> > Assembly.LoadFrom("\path\to\MyLib.dll")
> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> >
> > --
> > Alex Feinman
> > ---
> >> Alex, do you mean :
> >>
> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >>
> >> or is this wrong ?

> >
> >

>



 
Reply With Quote
 
Daniel Moth
Guest
Posts: n/a
 
      11th Feb 2005
Unless you meant to write something slightly different to what you did...
you've lost me now...

Alex's approach works for managed dlls (C# or VB.NET).
For placing unmanaged dlls in specific folders there were instructions in
the previous replies (Paul's in particular)

Finally, my £0.02 says you should not be adding any of this complexity for
the sake of nice directory structure; just my opinion :-)

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
news:(E-Mail Removed)...
> Thanks Daniel,
>
> That did the trick.
> I noticed that this only works for DLL's not written in C# but only for
> DLL's written in C++ , am I correct ?
>
> Regards
> Peter.
>
>
> "Daniel Moth" <(E-Mail Removed)> schreef in bericht
> news:%(E-Mail Removed)...
>> Move the 3 Loads into Main
>>
>> Cheers
>> Daniel
>> --
>> http://www.danielmoth.com/Blog/
>>
>>
>> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> news:(E-Mail Removed)...
>> > Alex,
>> >
>> > using System.Reflection;
>> >
>> > namespace myApp
>> >
>> > public class frmMain : System.Windows.Forms.Form
>> >
>> > {
>> >
>> > public frmMain()
>> >
>> > {
>> >
>> > InitializeComponent();
>> >
>> > }
>> >
>> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> > static void Main()
>> >
>> > {
>> >
>> > Application.Run(new frmMain());
>> >
>> > }
>> >
>> > }
>> >
>> >
>> > with compiling I get a error "Invalid token '(' in class, struct, or
>> > interface member declaration.
>> >
>> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok
>> >
>> > What could be wrong ?
>> >
>> > Thanks Peter.
>> >
>> >
>> >
>> >
>> > You don't even need to assign the result anywhere:
>> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> >
>> > --
>> > Alex Feinman
>> > ---
>> >> Alex, do you mean :
>> >>
>> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >>
>> >> or is this wrong ?
>> >
>> >

>>

>
>


 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      11th Feb 2005
Thanks Daniel,

I tried for example this code with OpenNetCF dll's (C#) .. just to check it
out... it didn't work... however when I tried it with the Resco advanced
list dll (C++ ) it works well.

Regards
Peter.

"Daniel Moth" <(E-Mail Removed)> schreef in bericht
news:O%(E-Mail Removed)...
> Unless you meant to write something slightly different to what you did...
> you've lost me now...
>
> Alex's approach works for managed dlls (C# or VB.NET).
> For placing unmanaged dlls in specific folders there were instructions in
> the previous replies (Paul's in particular)
>
> Finally, my £0.02 says you should not be adding any of this complexity for
> the sake of nice directory structure; just my opinion :-)
>
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/
>
>
> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> news:(E-Mail Removed)...
> > Thanks Daniel,
> >
> > That did the trick.
> > I noticed that this only works for DLL's not written in C# but only for
> > DLL's written in C++ , am I correct ?
> >
> > Regards
> > Peter.
> >
> >
> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
> > news:%(E-Mail Removed)...
> >> Move the 3 Loads into Main
> >>
> >> Cheers
> >> Daniel
> >> --
> >> http://www.danielmoth.com/Blog/
> >>
> >>
> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> >> news:(E-Mail Removed)...
> >> > Alex,
> >> >
> >> > using System.Reflection;
> >> >
> >> > namespace myApp
> >> >
> >> > public class frmMain : System.Windows.Forms.Form
> >> >
> >> > {
> >> >
> >> > public frmMain()
> >> >
> >> > {
> >> >
> >> > InitializeComponent();
> >> >
> >> > }
> >> >
> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> >> > static void Main()
> >> >
> >> > {
> >> >
> >> > Application.Run(new frmMain());
> >> >
> >> > }
> >> >
> >> > }
> >> >
> >> >
> >> > with compiling I get a error "Invalid token '(' in class, struct, or
> >> > interface member declaration.
> >> >
> >> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok
> >> >
> >> > What could be wrong ?
> >> >
> >> > Thanks Peter.
> >> >
> >> >
> >> >
> >> >
> >> > You don't even need to assign the result anywhere:
> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> >> >
> >> > --
> >> > Alex Feinman
> >> > ---
> >> >> Alex, do you mean :
> >> >>
> >> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
> >> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> >>
> >> >> or is this wrong ?
> >> >
> >> >
> >>

> >
> >

>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      11th Feb 2005
Resco AdvancedList is also a managed (.NET) dll. You might experience
different results with the OpenNETCF dlls since by default they are
installed in the GAC on the device.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
news:(E-Mail Removed)...
> Thanks Daniel,
>
> I tried for example this code with OpenNetCF dll's (C#) .. just to check
> it
> out... it didn't work... however when I tried it with the Resco advanced
> list dll (C++ ) it works well.
>
> Regards
> Peter.
>
> "Daniel Moth" <(E-Mail Removed)> schreef in bericht
> news:O%(E-Mail Removed)...
>> Unless you meant to write something slightly different to what you did...
>> you've lost me now...
>>
>> Alex's approach works for managed dlls (C# or VB.NET).
>> For placing unmanaged dlls in specific folders there were instructions in
>> the previous replies (Paul's in particular)
>>
>> Finally, my £0.02 says you should not be adding any of this complexity
>> for
>> the sake of nice directory structure; just my opinion :-)
>>
>> Cheers
>> Daniel
>> --
>> http://www.danielmoth.com/Blog/
>>
>>
>> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> news:(E-Mail Removed)...
>> > Thanks Daniel,
>> >
>> > That did the trick.
>> > I noticed that this only works for DLL's not written in C# but only for
>> > DLL's written in C++ , am I correct ?
>> >
>> > Regards
>> > Peter.
>> >
>> >
>> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
>> > news:%(E-Mail Removed)...
>> >> Move the 3 Loads into Main
>> >>
>> >> Cheers
>> >> Daniel
>> >> --
>> >> http://www.danielmoth.com/Blog/
>> >>
>> >>
>> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Alex,
>> >> >
>> >> > using System.Reflection;
>> >> >
>> >> > namespace myApp
>> >> >
>> >> > public class frmMain : System.Windows.Forms.Form
>> >> >
>> >> > {
>> >> >
>> >> > public frmMain()
>> >> >
>> >> > {
>> >> >
>> >> > InitializeComponent();
>> >> >
>> >> > }
>> >> >
>> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> >> > static void Main()
>> >> >
>> >> > {
>> >> >
>> >> > Application.Run(new frmMain());
>> >> >
>> >> > }
>> >> >
>> >> > }
>> >> >
>> >> >
>> >> > with compiling I get a error "Invalid token '(' in class, struct, or
>> >> > interface member declaration.
>> >> >
>> >> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling ok
>> >> >
>> >> > What could be wrong ?
>> >> >
>> >> > Thanks Peter.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > You don't even need to assign the result anywhere:
>> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> >> >
>> >> > --
>> >> > Alex Feinman
>> >> > ---
>> >> >> Alex, do you mean :
>> >> >>
>> >> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> >>
>> >> >> or is this wrong ?
>> >> >
>> >> >
>> >>
>> >
>> >

>>

>
>



 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      11th Feb 2005
Thanks Peter,

The problem for me is that everything I instal on the WinCe 4.2 device is
gone after I reboot my device.
The manufacterer grants me only a directory called "\IPSM" to have my
app's, data and so on.
Everything I put in this directory is kept on the device after reboot.

Regards
Peter.



"Peter Foot [MVP]" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Resco AdvancedList is also a managed (.NET) dll. You might experience
> different results with the OpenNETCF dlls since by default they are
> installed in the GAC on the device.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> news:(E-Mail Removed)...
> > Thanks Daniel,
> >
> > I tried for example this code with OpenNetCF dll's (C#) .. just to check
> > it
> > out... it didn't work... however when I tried it with the Resco advanced
> > list dll (C++ ) it works well.
> >
> > Regards
> > Peter.
> >
> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
> > news:O%(E-Mail Removed)...
> >> Unless you meant to write something slightly different to what you

did...
> >> you've lost me now...
> >>
> >> Alex's approach works for managed dlls (C# or VB.NET).
> >> For placing unmanaged dlls in specific folders there were instructions

in
> >> the previous replies (Paul's in particular)
> >>
> >> Finally, my £0.02 says you should not be adding any of this complexity
> >> for
> >> the sake of nice directory structure; just my opinion :-)
> >>
> >> Cheers
> >> Daniel
> >> --
> >> http://www.danielmoth.com/Blog/
> >>
> >>
> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> >> news:(E-Mail Removed)...
> >> > Thanks Daniel,
> >> >
> >> > That did the trick.
> >> > I noticed that this only works for DLL's not written in C# but only

for
> >> > DLL's written in C++ , am I correct ?
> >> >
> >> > Regards
> >> > Peter.
> >> >
> >> >
> >> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
> >> > news:%(E-Mail Removed)...
> >> >> Move the 3 Loads into Main
> >> >>
> >> >> Cheers
> >> >> Daniel
> >> >> --
> >> >> http://www.danielmoth.com/Blog/
> >> >>
> >> >>
> >> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Alex,
> >> >> >
> >> >> > using System.Reflection;
> >> >> >
> >> >> > namespace myApp
> >> >> >
> >> >> > public class frmMain : System.Windows.Forms.Form
> >> >> >
> >> >> > {
> >> >> >
> >> >> > public frmMain()
> >> >> >
> >> >> > {
> >> >> >
> >> >> > InitializeComponent();
> >> >> >
> >> >> > }
> >> >> >
> >> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
> >> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> >> >> > static void Main()
> >> >> >
> >> >> > {
> >> >> >
> >> >> > Application.Run(new frmMain());
> >> >> >
> >> >> > }
> >> >> >
> >> >> > }
> >> >> >
> >> >> >
> >> >> > with compiling I get a error "Invalid token '(' in class, struct,

or
> >> >> > interface member declaration.
> >> >> >
> >> >> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling

ok
> >> >> >
> >> >> > What could be wrong ?
> >> >> >
> >> >> > Thanks Peter.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > You don't even need to assign the result anywhere:
> >> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
> >> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
> >> >> >
> >> >> > --
> >> >> > Alex Feinman
> >> >> > ---
> >> >> >> Alex, do you mean :
> >> >> >>
> >> >> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
> >> >> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
> >> >> >>
> >> >> >> or is this wrong ?
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >>

> >
> >

>
>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      11th Feb 2005
In that case, do not install SDF cab on your development device - it will
interfere with the thing you are doing. Also, do not create your project as
OpenNETCF project - do a standard project and add the OpenNETCF references
by browsing to the appropriate DLLs (ideally, compile your own version)

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
news:(E-Mail Removed)...
> Thanks Peter,
>
> The problem for me is that everything I instal on the WinCe 4.2 device is
> gone after I reboot my device.
> The manufacterer grants me only a directory called "\IPSM" to have my
> app's, data and so on.
> Everything I put in this directory is kept on the device after reboot.
>
> Regards
> Peter.
>
>
>
> "Peter Foot [MVP]" <(E-Mail Removed)> schreef in bericht
> news:(E-Mail Removed)...
>> Resco AdvancedList is also a managed (.NET) dll. You might experience
>> different results with the OpenNETCF dlls since by default they are
>> installed in the GAC on the device.
>>
>> Peter
>>
>> --
>> Peter Foot
>> Windows Embedded MVP
>> www.inthehand.com | www.opennetcf.org
>>
>> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> news:(E-Mail Removed)...
>> > Thanks Daniel,
>> >
>> > I tried for example this code with OpenNetCF dll's (C#) .. just to
>> > check
>> > it
>> > out... it didn't work... however when I tried it with the Resco
>> > advanced
>> > list dll (C++ ) it works well.
>> >
>> > Regards
>> > Peter.
>> >
>> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
>> > news:O%(E-Mail Removed)...
>> >> Unless you meant to write something slightly different to what you

> did...
>> >> you've lost me now...
>> >>
>> >> Alex's approach works for managed dlls (C# or VB.NET).
>> >> For placing unmanaged dlls in specific folders there were instructions

> in
>> >> the previous replies (Paul's in particular)
>> >>
>> >> Finally, my £0.02 says you should not be adding any of this complexity
>> >> for
>> >> the sake of nice directory structure; just my opinion :-)
>> >>
>> >> Cheers
>> >> Daniel
>> >> --
>> >> http://www.danielmoth.com/Blog/
>> >>
>> >>
>> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Thanks Daniel,
>> >> >
>> >> > That did the trick.
>> >> > I noticed that this only works for DLL's not written in C# but only

> for
>> >> > DLL's written in C++ , am I correct ?
>> >> >
>> >> > Regards
>> >> > Peter.
>> >> >
>> >> >
>> >> > "Daniel Moth" <(E-Mail Removed)> schreef in bericht
>> >> > news:%(E-Mail Removed)...
>> >> >> Move the 3 Loads into Main
>> >> >>
>> >> >> Cheers
>> >> >> Daniel
>> >> >> --
>> >> >> http://www.danielmoth.com/Blog/
>> >> >>
>> >> >>
>> >> >> "Peter" <pvdacker@N0_SPAM_home.nl> wrote in message
>> >> >> news:(E-Mail Removed)...
>> >> >> > Alex,
>> >> >> >
>> >> >> > using System.Reflection;
>> >> >> >
>> >> >> > namespace myApp
>> >> >> >
>> >> >> > public class frmMain : System.Windows.Forms.Form
>> >> >> >
>> >> >> > {
>> >> >> >
>> >> >> > public frmMain()
>> >> >> >
>> >> >> > {
>> >> >> >
>> >> >> > InitializeComponent();
>> >> >> >
>> >> >> > }
>> >> >> >
>> >> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> >> >> > static void Main()
>> >> >> >
>> >> >> > {
>> >> >> >
>> >> >> > Application.Run(new frmMain());
>> >> >> >
>> >> >> > }
>> >> >> >
>> >> >> > }
>> >> >> >
>> >> >> >
>> >> >> > with compiling I get a error "Invalid token '(' in class, struct,

> or
>> >> >> > interface member declaration.
>> >> >> >
>> >> >> > Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll") is compiling

> ok
>> >> >> >
>> >> >> > What could be wrong ?
>> >> >> >
>> >> >> > Thanks Peter.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > You don't even need to assign the result anywhere:
>> >> >> > Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> >> > Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> >> > Assembly.LoadFrom("\another path\to\YetAnotherLib.dll")
>> >> >> >
>> >> >> > --
>> >> >> > Alex Feinman
>> >> >> > ---
>> >> >> >> Alex, do you mean :
>> >> >> >>
>> >> >> >> Assembly a = Assembly.LoadFrom("\path\to\MyLib.dll")
>> >> >> >> Assembly b = Assembly.LoadFrom("\path\to\MyOtherLib.dll")
>> >> >> >>
>> >> >> >> or is this wrong ?
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >>
>> >
>> >

>>
>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerAwareApp by Alex Feinman andyw999-NO-SPAM-PLEASE-@hotmail.com Microsoft Dot NET Compact Framework 0 26th Oct 2006 07:41 AM
PowerAwareApp by Alex Feinman andyw999-NO-SPAM-PLEASE-@hotmail.com Microsoft Dot NET Compact Framework 0 25th Oct 2006 10:41 AM
Alex Feinman DataGrid Example =?Utf-8?B?bW9iaWxlbW9iaWxl?= Microsoft Dot NET Compact Framework 2 26th Jul 2006 05:09 AM
for Alex Feinman, CSD connection??? adan Microsoft Dot NET Compact Framework 1 21st Jun 2005 07:56 PM
Re: PowerAwareApp by Alex Feinman John Kuczynski Microsoft Dot NET Compact Framework 2 12th May 2004 11:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 AM.