Home > Archive > Clarion > January 2005 > Including VB dlls in Clarion code
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 |
Including VB dlls in Clarion code
|
|
| James O Brien 2005-01-11, 3:55 pm |
| Hello,
I am just curious, is it possible to include Visual Basic dlls within
clarion. I have seen someone do this with c++ dlls etc.
Basically I wrote a little program in vb to do some database work that
Clarion was not able to do. I wish to call a few methods in this dll,
from within my clarion code. Is this possible???
I am trying to include the .lib file within my library objects but am
getting the error message
Error(6): cif$fileclose The Handle is invalid
Any ideas on what this means??
Thanks,
James
| |
| Paul Attryde 2005-01-11, 3:55 pm |
| "James O Brien" <obrienjimmy@gmail.com> wrote in message
news:de3bc0d8.0501110837.584a3b0d@posting.google.com...
> Hello,
> I am just curious, is it possible to include Visual Basic dlls within
> clarion. I have seen someone do this with c++ dlls etc.
>
> Basically I wrote a little program in vb to do some database work that
> Clarion was not able to do. I wish to call a few methods in this dll,
> from within my clarion code. Is this possible???
>
As it stands out of the box, VB can only produce COM DLLs
So you either need to write CW code to create the object and call the
method, or you need a 3rd party VB add-on that'll let you create regular
DLLs which you can call from CW
I've done it the 2nd way, although not recently
http://www.attryde.com/clarion/vb_cw.htm
http://www.attryde.com/clarion/vb_cw2.htm
HTH,
--
Paul
(Look at ORGANISATION field in header for correct email address)
[message posting using news.softvelocity.com]
| |
|
| this newsgroup on google is basicly not updated and been seen by the
normal newsgroup readers like outlook, there is where the clarion
activity is going on, not on this google
for login:
news.softvelocity.com
:-)
menno
| |
|
| this newsgroup on google is basicly not updated and been seen by the
normal newsgroup readers like outlook, there is where the clarion
activity is going on, not on this google
for login:
news.softvelocity.com
:-)
menno
| |
| Paul Attryde 2005-01-15, 8:55 am |
| "James O Brien" <obrienjimmy@gmail.com> wrote in message
news:de3bc0d8.0501110837.584a3b0d@posting.google.com...
> Hello,
> I am just curious, is it possible to include Visual Basic dlls within
> clarion. I have seen someone do this with c++ dlls etc.
>
> Basically I wrote a little program in vb to do some database work that
> Clarion was not able to do. I wish to call a few methods in this dll,
> from within my clarion code. Is this possible???
>
As it stands out of the box, VB can only produce COM DLLs
So you either need to write CW code to create the object and call the
method, or you need a 3rd party VB add-on that'll let you create regular
DLLs which you can call from CW
I've done it the 2nd way, although not recently
http://www.attryde.com/clarion/vb_cw.htm
http://www.attryde.com/clarion/vb_cw2.htm
HTH,
--
Paul
(Look at ORGANISATION field in header for correct email address)
[message posting using news.softvelocity.com]
|
|
|
|
|