Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 21 total
Thread Linking TextFilters & WordGenerators to external modules
Sat, Feb 9 2008 10:27 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

The reason for my "Am I allowed" post was that I got a duplicate resource error when linking the textfilters and wordgenerator into my module. I can't figure out a way to link using either static or dynamically loaded dlls and my guess is you're using magic (probably black).

Can you let me into the secret or is it a case you have to kill me first?

Roy Lambert
Mon, Feb 11 2008 3:14 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< The reason for my "Am I allowed" post was that I got a duplicate resource
error when linking the textfilters and wordgenerator into my module. I can't
figure out a way to link using either static or dynamically loaded dlls and
my guess is you're using magic (probably black). >>

Did you use the IDE template projects for building the modules ?  If so,
then there shouldn't be anything else required.  Which resource source line
is the linker complaining about ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Feb 12 2008 3:33 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


I think I may have confused the issue Smiley I tried adding just the units ie

uses
 edbextmodule,
 nlhFuncs in 'nlhFuncs.pas' {EDBExternalModule1: TEDBExternalModule},
 tfHTML in '..\Text Filters\HTML-PosEx\tfHTML.pas' {EDBTextFilterModule1: TEDBTextFilterModule},
 tfRTF in '..\Text Filters\RTF\tfRTF.pas';

and I get a warning about a duplicate resource EDBTextFilterModule1 which is understandable.

I then thought of linking in the dll's and realised that I didn't know how to use what they're exporting. I'm guessing its something to do with

 CallEDBTextFilter,
 GetEDBOutputText,

But I'm not sure.

Roy Lambert
Tue, Feb 12 2008 2:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I tried adding just the units ie

uses
edbextmodule,
nlhFuncs in 'nlhFuncs.pas' {EDBExternalModule1: TEDBExternalModule},
tfHTML in '..\Text Filters\HTML-PosEx\tfHTML.pas' {EDBTextFilterModule1:
TEDBTextFilterModule},
tfRTF in '..\Text Filters\RTF\tfRTF.pas';

and I get a warning about a duplicate resource EDBTextFilterModule1 which
is understandable. >>

Is that the .DPR USES clause ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Feb 13 2008 2:28 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim
Yup

Roy Lambert

Wed, Feb 13 2008 5:12 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Yup >>

I'm still puzzled as to why that would cause a duplicate resource error.
You're simply including a custom module form/unit in a different project,
which should work just fine.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Feb 14 2008 3:40 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< Yup >>
>
>I'm still puzzled as to why that would cause a duplicate resource error.
>You're simply including a custom module form/unit in a different project,
>which should work just fine.

Me to. You have the code for these units (in extensions), can you try it at your end? I'm using D2006.

At the end of the day, if there's no other way I can just copy the code. Its only a few hundred lines and won't be altered much.

Roy Lambert
Fri, Feb 15 2008 4:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Me to. You have the code for these units (in extensions), can you try it
at your end? I'm using D2006. >>

I'll see what I can find.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Feb 16 2008 4:32 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim
Ta

Roy Lambert
Thu, Feb 28 2008 9:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


Since you seem to be surfacing at present any chance?

Roy Lambert
Page 1 of 3Next Page »
Jump to Page:  1 2 3
Image