M
mmartin
I'm using Visual Studio 2002:
Development Environment version: 7.0.9466
..NET Framework version: 1.0.3705
(versions are kind of important usually... and yeah, yeah "upgrade" --
sheesh -- I've still got c++ v4 floating around for support issues...
<grin>)
I downloaded a data access DLL for MySQL that implements the Connector,
Adapter, etc... classes. It was done in C# from VS 2003 version (source
files included) -- MySQLDriverCS is it's name.
Well, when I started to create a VB app to use the DLL, I got "type cast"
errors with actions like MyAdapter.fill(DataSet) functions -- anything that
tried to manipulate/use data.
With the source available (though the project files are unusable to me), I
simply created a blank C# app, pulled in the source code files, grabbed the
settings from the source project files (via notepad) and compiled the DLL to
my version -- well, this works.
The part that gets to me is, whereas the development versions are different,
the .NET framework versions match but, once I did the recompile, I can now
use the DLL without any problems...
This gives me flash backs of 10+ years ago as far as programming goes.
Hell, I can write a DLL in my current c++ and use that DLL from older
compilers without any real problems as long as it isn't using any managed
code type stuff...
Just wondering if this is what I'll be looking at for any "managed code"
libs that are built. Will they at least be useable "forward" style? (I
haven't tried yet but I will when I get 2003 version -- if so, perhaps I'm
better off sticking with the oldest version available for building
libs...)
Thanks in advance for any info.
Development Environment version: 7.0.9466
..NET Framework version: 1.0.3705
(versions are kind of important usually... and yeah, yeah "upgrade" --
sheesh -- I've still got c++ v4 floating around for support issues...
<grin>)
I downloaded a data access DLL for MySQL that implements the Connector,
Adapter, etc... classes. It was done in C# from VS 2003 version (source
files included) -- MySQLDriverCS is it's name.
Well, when I started to create a VB app to use the DLL, I got "type cast"
errors with actions like MyAdapter.fill(DataSet) functions -- anything that
tried to manipulate/use data.
With the source available (though the project files are unusable to me), I
simply created a blank C# app, pulled in the source code files, grabbed the
settings from the source project files (via notepad) and compiled the DLL to
my version -- well, this works.
The part that gets to me is, whereas the development versions are different,
the .NET framework versions match but, once I did the recompile, I can now
use the DLL without any problems...
This gives me flash backs of 10+ years ago as far as programming goes.
Hell, I can write a DLL in my current c++ and use that DLL from older
compilers without any real problems as long as it isn't using any managed
code type stuff...
Just wondering if this is what I'll be looking at for any "managed code"
libs that are built. Will they at least be useable "forward" style? (I
haven't tried yet but I will when I get 2003 version -- if so, perhaps I'm
better off sticking with the oldest version available for building
libs...)
Thanks in advance for any info.