View Full Version : Call Clarion DLL
NewsArchive
01-11-2010, 02:15 AM
Hi Friedrich,
Is it possible with SB6 or SB7 to call a Clarion DLL with the "Call DLL"
function or does the DLL need to be done in C?
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
01-11-2010, 02:15 AM
Hi Arnór,
> Is it possible with SB6 or SB7 to call a Clarion DLL with the "Call DLL"
> function or does the DLL need to be done in C?
You can call Clarion, Visual C/C++, Delphi, etc. DLLs and you can even call
Windows APIs.
BTW, there are several "Call DLL" projects in the Examples package.
Does this help?
Friedrich
NewsArchive
01-11-2010, 02:16 AM
Hi Friedrich,
> BTW, there are several "Call DLL" projects in the Examples package.
Yes, that's where I found the example Clarion code so I figured it had to
work;)
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
01-11-2010, 02:16 AM
Arnor,
> Is it possible with SB6 or SB7 to call a Clarion DLL with the "Call DLL"
Piece of cake. Compile a "local" DLL (yes, local<g>) and you're good
to go. I do mine in 5.5 since it's a smaller file. I use it to
validate unlock codes, update DEFAULTS.CLW and add my menu items to
the C7 help menu.
-- part of my EXP file
NAME LodestarSoftware GUI
EXPORTS
VALIDATEUNLOCKS @1
UPDATEDEFAULTS @2
INSERTADDIN @3
-- part of the MAP in my CLW
VALIDATEUNLOCKS(*CSTRING, *CSTRING, *CSTRING, *CSTRING),LONG,PASCAL
UPDATEDEFAULTS(*CSTRING, *CSTRING),LONG,PASCAL
INSERTADDIN(*CSTRING, *CSTRING, *CSTRING),LONG,PASCAL
--
Lee White
Enroll Today at http://CWaddons.com
Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/
NewsArchive
01-11-2010, 02:17 AM
Hi Lee,
> Piece of cake. Compile a "local" DLL (yes, local<g>) and you're good
> to go. I do mine in 5.5 since it's a smaller file. I use it to
Thanks guys:) I'm almost there. Decided to move a chunk of various classes
into a single clw module rather than link all this gunk in<g> DLL went from
1,084,416 down to 544,768 bytes.
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
01-11-2010, 03:23 AM
Hi guys,
> Is it possible with SB6 or SB7 to call a Clarion DLL with the "Call DLL"
> function or does the DLL need to be done in C?
Thanks a bunch guys! Works like a charm of course:)
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
01-12-2010, 01:37 PM
Arnor,
See my thread 11 lines below this one. I experienced some very odd behaviour
when the window in my Clarion DLL had a button with a TIP attribute. Very
odd indeed but that attribute is what I found caused the problem with lots
of testing.
mdbrooks
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.