Home > Archive > Clarion > February 2005 > Re: DLL produced by Clarion 5 - is not recognized by .NET as a v
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: DLL produced by Clarion 5 - is not recognized by .NET as a v
|
|
| metall 2005-02-04, 3:55 pm |
| Ofcourse, but a have to create connector between old Dos program based on
Clarion 2.1 and .NET apllication. In opinion of many peoples (from
SoftVelocity too) the best method is to create DLL from Clarion for
Windows and insert into .NET project. But now i know (thanks to you), that
standart Clarion DLL is not a COM object. Maybe you have an idea what can I
do?
I must read and write to Clarion 2.1 base, because this is still in use.
best regards
edi
| |
| Ivo Ivanov 2005-02-04, 3:55 pm |
| I don't know much about .Net so I cannot help there.
Ivo
"metall" <edi_w@yahoo.com> schreef in bericht
news:c31ddc01ea3e827e5da13f80226bd092@lo
calhost.talkaboutprogramming.com...
> Ofcourse, but a have to create connector between old Dos program based on
> Clarion 2.1 and .NET apllication. In opinion of many peoples (from
> SoftVelocity too) the best method is to create DLL from Clarion for
> Windows and insert into .NET project. But now i know (thanks to you), that
> standart Clarion DLL is not a COM object. Maybe you have an idea what can
I
> do?
>
> I must read and write to Clarion 2.1 base, because this is still in use.
>
> best regards
> edi
>
| |
| Paul Attryde 2005-02-04, 3:55 pm |
|
"metall" <edi_w@yahoo.com> wrote in message
news:c31ddc01ea3e827e5da13f80226bd092@lo
calhost.talkaboutprogramming.com...
> Ofcourse, but a have to create connector between old Dos program based on
> Clarion 2.1 and .NET apllication. In opinion of many peoples (from
> SoftVelocity too) the best method is to create DLL from Clarion for
> Windows and insert into .NET project. But now i know (thanks to you), that
> standart Clarion DLL is not a COM object. Maybe you have an idea what can
I
> do?
>
I believe you can call the C5 DLL as unmanaged code via P/Invoke
Never done it though, so don't ask how :)
--
Paul
| |
| Leonid Chudakov 2005-02-04, 3:55 pm |
| Can you call non COM dlls from .NET application? Like Windows APIs etc.
--
--
Leonid Chudakov
chudakov@klarisoft.com
Cool tools and Clarion examples at
http://www.klarisoft.com
"metall" <edi_w@yahoo.com> wrote in message
news:c31ddc01ea3e827e5da13f80226bd092@lo
calhost.talkaboutprogramming.com...
> Ofcourse, but a have to create connector between old Dos program based on
> Clarion 2.1 and .NET apllication. In opinion of many peoples (from
> SoftVelocity too) the best method is to create DLL from Clarion for
> Windows and insert into .NET project. But now i know (thanks to you), that
> standart Clarion DLL is not a COM object. Maybe you have an idea what can
> I
> do?
>
> I must read and write to Clarion 2.1 base, because this is still in use.
>
> best regards
> edi
>
| |
|
|
"metall" <edi_w@yahoo.com> wrote in message
news:c31ddc01ea3e827e5da13f80226bd092@lo
calhost.talkaboutprogramming.com...
> Ofcourse, but a have to create connector between old Dos program based on
> Clarion 2.1 and .NET apllication. In opinion of many peoples (from
> SoftVelocity too) the best method is to create DLL from Clarion for
> Windows and insert into .NET project. But now i know (thanks to you), that
> standart Clarion DLL is not a COM object. Maybe you have an idea what can
> I
> do?
>
> I must read and write to Clarion 2.1 base, because this is still in use.
>
> best regards
> edi
>
Take a look at the DllImportAttribute class in .NET .This will allow you to
call unmanaged win32 dll's.
Gary
| |
| metall 2005-02-05, 8:55 am |
| Yes, I've forget about that. Thank you. :)
edi
|
|
|
|
|