PC Review


Reply
Thread Tools Rate Thread

Backwards DLL question

 
 
Mike
Guest
Posts: n/a
 
      16th Aug 2005
I've seen this sort of answered earlier, but would like to be 100%
sure that it's as unlikely as I suspect it is - can .NET create an
"old-fashioned" dll which can be called by 16-bit programs written in
BC5?

We have a hefty db app created with BC5 which uses an xBase data
store. The idea is that since a single dll routes all access between
the business layer and the xBase engine, they can graft
performance&scalability onto this relic by swapping out their dll for
one written in .NET which acceses SQL 2k. Existing 16-bit exe's and
dll's would use exactly the same function calls into this new dll and
be none the wiser.

Sounds like wishful thinking to me, but I'm still a newbie when it
comes to .NET - is this even remotely possible? If it was, would
there be be even greater than normal interop costs? And, (OT I know
but just to cover all bases) can even VB6 go backwards like that?

Thanks - Mike

 
Reply With Quote
 
 
 
 
m.posseth
Guest
Posts: n/a
 
      16th Aug 2005

Well i might give you an unexpected answer ,,,, ;-)

If you mean with the program language BC5 Borland C++ 5.X then the answer
is yes this should be possible
as C++ 5 is also capable of OLE / COM

but after reading this ( regarding the 16 bit 32 bit interop )

http://support.microsoft.com/default...b;en-us;263618

i must conclude that a dll is not possible ( in process ) , however a out
of process server should still be possible so you could write a Activex
executable that can be called this way
however i have never done this myself but it should be possible .

regards

Michel Posseth


<Mike> wrote in message news:(E-Mail Removed)...
> I've seen this sort of answered earlier, but would like to be 100%
> sure that it's as unlikely as I suspect it is - can .NET create an
> "old-fashioned" dll which can be called by 16-bit programs written in
> BC5?
>
> We have a hefty db app created with BC5 which uses an xBase data
> store. The idea is that since a single dll routes all access between
> the business layer and the xBase engine, they can graft
> performance&scalability onto this relic by swapping out their dll for
> one written in .NET which acceses SQL 2k. Existing 16-bit exe's and
> dll's would use exactly the same function calls into this new dll and
> be none the wiser.
>
> Sounds like wishful thinking to me, but I'm still a newbie when it
> comes to .NET - is this even remotely possible? If it was, would
> there be be even greater than normal interop costs? And, (OT I know
> but just to cover all bases) can even VB6 go backwards like that?
>
> Thanks - Mike
>



 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      17th Aug 2005
Mike,

The major part of your solution will probably have a short livetime.
64-bits operatingsystems will not anymore be able to use 16-bits programs.

Just as idea

Cor


 
Reply With Quote
 
m.posseth
Guest
Posts: n/a
 
      17th Aug 2005
well ,,,

I am already running for half a year on a 64 bit computer as a development
platform ( ACER 1524 WLMI , A64 3400 + , with 1,2 GB mem ,running on
windows server 2003 64 bit )
every customer that i visit is watching at my laptop as if it comes from
Mars ( 64 bit ??? huh ?? does it exist already , can you run it , can you
develop on it for 32 bit etc etc )

so i can say that i am aware of the upcomming 64 bit hype :-) ,,,,,

however i also believe that using COM as a translation layer, is for the
topic starter a nice solution to expand the lifetime of there current
solution for maybe 1- 2 years in the meanwhile they can spent there time
writing a modern solution ( that will probably perform superb in
comparisation to the current prog )

regards

Michel



"Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Mike,
>
> The major part of your solution will probably have a short livetime.
> 64-bits operatingsystems will not anymore be able to use 16-bits programs.
>
> Just as idea
>
> Cor
>



 
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
Conditional formatting backwards compatibility question Vladimir Shchelkunov Microsoft Excel Worksheet Functions 0 15th Mar 2011 12:20 AM
The Backwards. Can rs move bacKwards? ooxx Microsoft Access Form Coding 1 29th Nov 2007 10:54 AM
ShowinTaskBar -- Backwards Question =?Utf-8?B?V2F5bmUgQmVycnk=?= Microsoft Dot NET Framework Forms 4 5th Nov 2007 07:33 AM
DDR2 backwards compatibility question GT Computer Hardware 2 17th Oct 2007 08:23 PM
backwards contains()??? Dave Microsoft Access External Data 2 13th Oct 2006 09:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 AM.