Thank you. I may do that. I was just wondering about a practical application of such feature. I just can't think of one myself.
>You can download the entire wwDotNetBridge WhitePaper with tons of easy-to-follow code examples.
>
>
http://west-wind.com/presentations/wwDotnetBridge/wwDotnetBridge.pdf>
>
>
>
>
>
>>PMFJI and for maybe naive question. Could you describe a small practical example of where you would load .NET from VFP?
>>Thank you.
>>
>>>
>>>Yes that's exactly what wwDotnetBridge does. It bypasses the regular COM Interop invokation mechanism and instead loads the .NET runtime directly into VFP with a proxy object to allow instantiation of any type (not just those that are marked for COM export - which are very few).
>>>
>>>If you're doing COM Interop with .NET from FoxPro you should have a look at wwDotnetBridge - it brings a ton of additional functionality to the table that is not possible with plain COM Interop greatly expanding the reach of what VFP code can access.
>>>
>>>+++ Rick ---
>>>
>>>>
>>>>
http://msdn.microsoft.com/en-us/magazine/cc163791.aspx>>>>
>>>>
>>>>
>>>>>You might want to checkout wwDotnetBridge which allows accessing .NET components without registration through RegAsm...
>>>>>
>>>>>It's now free and open source:
>>>>>
>>>>>
http://west-wind.com/wwDotnetBridge.aspx>>>>>
>>>>>and there's a white paper that explains plain COM interop (what you're doing) and how you can do that and much more with wwdotnetbridge:
>>>>>
>>>>>
http://west-wind.com/presentations/wwdotnetbridge/wwDotnetBridge.pdf>>>>>
>>>>>+++ Rick ---
>>>>>
>>>>>>It's been a while since the last time I have done that. I am trying to access a .NET dll from VFP.
>>>>>>
>>>>>>So, I tried this:
>>>>>>
>>>>>>
>>>>>>loFramework=CREATEOBJECT("Framework.CRC32")
>>>>>>
>>>>>>
>>>>>>But, I get "Class definition FRAMEWORK.CRC32 is not found.".
>>>>>>
>>>>>>I recall there is something I have to do in .NET to expose the class. I don't recall if there was anything additional to do at the VFP level or the register of the dll.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham