is it possible to compile some test code as legacy application without
dotnet frame work? how? I don't have any non dotnet compiler on my pc.

I want to test my dotnet com assembly for interop with an legacy application
that works through com interface. and I want to verify that I got my interop
code works correctly. right now the legacy application gave me a rather
useless message:
Error calling external object function etstor0 at ....
I could call other functions that passes results as scalar but am having
trouble with arrays

Re: a silly question by sloan

sloan
Thu May 11 15:13:31 CDT 2006

You can write code in notepad ... if you want to.

You gotta have the framework installed. (free from micrsoft.com)

Check out
http://www.codeproject.com/csharp/cscompiler.asp

Or goggle "csc.exe"

(Of, if youre using c#... as csc.exe is the C# specfic compiler)



"gs" <gs@nomail.nil> wrote in message
news:ORJLnJTdGHA.3996@TK2MSFTNGP04.phx.gbl...
> is it possible to compile some test code as legacy application without
> dotnet frame work? how? I don't have any non dotnet compiler on my pc.
>
> I want to test my dotnet com assembly for interop with an legacy
application
> that works through com interface. and I want to verify that I got my
interop
> code works correctly. right now the legacy application gave me a rather
> useless message:
> Error calling external object function etstor0 at ....
> I could call other functions that passes results as scalar but am having
> trouble with arrays
>
>



Re: a silly question by gs

gs
Thu May 11 15:39:47 CDT 2006


Thank you very much

one more newbie question: what is the syntax to call from c# the com dll?

were there significant changes in the interop for 2005 express beta vs 2005
express release? I recalled that I was able to run the legacy app with 2005
express beta

"sloan" <sloan@ipass.net> wrote in message
news:OmQY0eTdGHA.3348@TK2MSFTNGP03.phx.gbl...
> You can write code in notepad ... if you want to.
>
> You gotta have the framework installed. (free from micrsoft.com)
>
> Check out
> http://www.codeproject.com/csharp/cscompiler.asp
>
> Or goggle "csc.exe"
>
> (Of, if youre using c#... as csc.exe is the C# specfic compiler)
>
>
>
> "gs" <gs@nomail.nil> wrote in message
> news:ORJLnJTdGHA.3996@TK2MSFTNGP04.phx.gbl...
>> is it possible to compile some test code as legacy application without
>> dotnet frame work? how? I don't have any non dotnet compiler on my pc.
>>
>> I want to test my dotnet com assembly for interop with an legacy
> application
>> that works through com interface. and I want to verify that I got my
> interop
>> code works correctly. right now the legacy application gave me a rather
>> useless message:
>> Error calling external object function etstor0 at ....
>> I could call other functions that passes results as scalar but am having
>> trouble with arrays
>>
>>
>
>



Re: a silly question by Ben

Ben
Fri May 12 12:53:21 CDT 2006

"gs" <gs@nomail.nil> wrote in message
news:ORJLnJTdGHA.3996@TK2MSFTNGP04.phx.gbl...
> is it possible to compile some test code as legacy application without
> dotnet frame work? how? I don't have any non dotnet compiler on my pc.

Yes, the Visual Studio.NET C++ compiler can still build unmanaged (legacy)
applications.

>
> I want to test my dotnet com assembly for interop with an legacy
> application that works through com interface. and I want to verify that I
> got my interop code works correctly. right now the legacy application
> gave me a rather useless message:
> Error calling external object function etstor0 at ....
> I could call other functions that passes results as scalar but am having
> trouble with arrays
>