PC Review


Reply
Thread Tools Rate Thread

What is the best way to moving managed code to unmanaged code?

 
 
sachin
Guest
Posts: n/a
 
      9th Aug 2004
Hi All,

I have an application which is web based. I am hosting it on VB.Net
container, ie winform. Now i am facing a problem. If i make an exe of that,
then i require .net framework installed on that machine where i am going to
run this.

So I want to move this managed code to unmanaged side i,e to VC++ by
converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.

My Question is, Do u people have any better approach to solve this problem?

My Goal is without having framework installed i want to run my app.

Thanks
Sachin




 
Reply With Quote
 
 
 
 
William Gower
Guest
Posts: n/a
 
      9th Aug 2004
So what is the problem with having the framework installed? Include the
framework on the installation CD or have the user download it and install it
themselves. In the future everyone will have the framework and this will
not be an issue. I don't understand the reluctance of developers to shy
away from managed code just because the app has to run under the framework.
Why would anyone want to go back to VB 6 from .NET. That's like saying I am
tried of my present day computer give me a computer with a 10 mb hard drive
running dos in 640 k of ram.


"sachin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> I have an application which is web based. I am hosting it on VB.Net
> container, ie winform. Now i am facing a problem. If i make an exe of

that,
> then i require .net framework installed on that machine where i am going

to
> run this.
>
> So I want to move this managed code to unmanaged side i,e to VC++ by
> converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
>
> My Question is, Do u people have any better approach to solve this

problem?
>
> My Goal is without having framework installed i want to run my app.
>
> Thanks
> Sachin
>
>
>
>



 
Reply With Quote
 
sachin
Guest
Posts: n/a
 
      10th Aug 2004
Hi,

The reason is my cutomers doesn't want to install .net framework coz of
1.download size.
2.My App size is only 2Mb size. So i don't want to put .net framework into
my setup file

also currently framework doesn't come as part of OS.

Sachin


"William Gower" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> So what is the problem with having the framework installed? Include the
> framework on the installation CD or have the user download it and install

it
> themselves. In the future everyone will have the framework and this will
> not be an issue. I don't understand the reluctance of developers to shy
> away from managed code just because the app has to run under the

framework.
> Why would anyone want to go back to VB 6 from .NET. That's like saying I

am
> tried of my present day computer give me a computer with a 10 mb hard

drive
> running dos in 640 k of ram.
>
>
> "sachin" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi All,
> >
> > I have an application which is web based. I am hosting it on VB.Net
> > container, ie winform. Now i am facing a problem. If i make an exe of

> that,
> > then i require .net framework installed on that machine where i am going

> to
> > run this.
> >
> > So I want to move this managed code to unmanaged side i,e to VC++ by
> > converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
> >
> > My Question is, Do u people have any better approach to solve this

> problem?
> >
> > My Goal is without having framework installed i want to run my app.
> >
> > Thanks
> > Sachin
> >
> >
> >
> >

>
>



 
Reply With Quote
 
Nick Malik
Guest
Posts: n/a
 
      10th Aug 2004
I must agree with William. It is foolish to do what you are doing.

Windows XP has the framework installed. Windows 2003 has the framework
installed. Over the past two years, millions of Windows 2000 and Windows 98
machines have had the framework installed for some other application.

You cannot run a Java app without the JVM. It is harder to install a JVM
than it is to install the .NET framework IMHO.
Why fret about this?

There is a company that makes a product that creates a smaller download of
the framework by creating a DLL that contains only the classes that your app
uses. It isn't the best technical solution but it will make for a smaller
download. I can't remember the name off the top of my head, but I've seen
it referenced on one of the NGs.

Hope this helps,
--- Nick

"sachin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> I have an application which is web based. I am hosting it on VB.Net
> container, ie winform. Now i am facing a problem. If i make an exe of

that,
> then i require .net framework installed on that machine where i am going

to
> run this.
>
> So I want to move this managed code to unmanaged side i,e to VC++ by
> converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
>
> My Question is, Do u people have any better approach to solve this

problem?
>
> My Goal is without having framework installed i want to run my app.
>
> Thanks
> Sachin
>
>
>
>



 
Reply With Quote
 
sachin
Guest
Posts: n/a
 
      11th Aug 2004
Hi All,

I understand the way Nick thinks. But I am in a design phase. I have my
engine ready to go. My main concern now is to choose the technology. I am
seeing my product going for 5 to 6 yrs.

I am designing a product people. Its not a project. I don't know whether
this dotnet will stand in future or not. I don't know whether dotnet
supports low level programming as platform SDK does. I am asking to the
experts which technology I can consider to stabilise my product. I know many
people who make hurry in choosing technology and believe me they are
suffering till now. I don't want to make that mistake. Hope you understand
this.

Sachin


"sachin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> I have an application which is web based. I am hosting it on VB.Net
> container, ie winform. Now i am facing a problem. If i make an exe of

that,
> then i require .net framework installed on that machine where i am going

to
> run this.
>
> So I want to move this managed code to unmanaged side i,e to VC++ by
> converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
>
> My Question is, Do u people have any better approach to solve this

problem?
>
> My Goal is without having framework installed i want to run my app.
>
> Thanks
> Sachin
>
>
>
>



 
Reply With Quote
 
Steve McLellan
Guest
Posts: n/a
 
      12th Aug 2004
20MB isn't much nowadays, and it's also part of Windows Update. Going
backwards will cause you heartache and pain - unless you really expect your
users to rebel if you ask them to download the framework (or keep their OS's
up to date), stick with what you've got.

Steve

"sachin" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
>
> The reason is my cutomers doesn't want to install .net framework coz of
> 1.download size.
> 2.My App size is only 2Mb size. So i don't want to put .net framework into
> my setup file
>
> also currently framework doesn't come as part of OS.
>
> Sachin
>
>
> "William Gower" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > So what is the problem with having the framework installed? Include the
> > framework on the installation CD or have the user download it and

install
> it
> > themselves. In the future everyone will have the framework and this

will
> > not be an issue. I don't understand the reluctance of developers to shy
> > away from managed code just because the app has to run under the

> framework.
> > Why would anyone want to go back to VB 6 from .NET. That's like saying

I
> am
> > tried of my present day computer give me a computer with a 10 mb hard

> drive
> > running dos in 640 k of ram.
> >
> >
> > "sachin" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi All,
> > >
> > > I have an application which is web based. I am hosting it on VB.Net
> > > container, ie winform. Now i am facing a problem. If i make an exe of

> > that,
> > > then i require .net framework installed on that machine where i am

going
> > to
> > > run this.
> > >
> > > So I want to move this managed code to unmanaged side i,e to VC++ by
> > > converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in

VC++.
> > >
> > > My Question is, Do u people have any better approach to solve this

> > problem?
> > >
> > > My Goal is without having framework installed i want to run my app.
> > >
> > > Thanks
> > > Sachin
> > >
> > >
> > >
> > >

> >
> >

>
>



 
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
What is the best way to moving managed code to unmanaged code? sachin Microsoft Dot NET Framework Forms 11 16th Aug 2004 07:15 PM
RE: Best practice needed to marshal STL data from managed code to unmanaged code & vice versa =?Utf-8?B?UFNQX1VOSl9NU19OZXdzZ3JvdXBfUmVxdWVzdEBu Microsoft VC .NET 9 6th Apr 2004 02:51 PM
RE: Best practice needed to marshal STL data from managed code to unmanaged code & vice versa Anant Dimri [MSFT] Microsoft VC .NET 0 26th Mar 2004 11:02 PM
Best practice needed to marshal STL data from managed code to unmanaged code & vice versa =?Utf-8?B?UFNQX1VOSl9NU19OZXdzZ3JvdXBfUmVxdWVzdEBw Microsoft VC .NET 0 11th Mar 2004 12:21 PM
Best practice needed to marshal STL data from managed code to unmanaged code & vice versa =?Utf-8?B?Sm9oYW5uZXMgVW5mcmllZA==?= Microsoft VC .NET 0 27th Feb 2004 09:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:56 AM.