ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PROBLEMS with NEW version

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graphman Posted - May 15 2013 : 02:36:09
[BCC32 Error] UnitPrint.cpp(275): E2451 Undefined symbol 'ievpCENTER'
[BCC32 Error] UnitPrint.cpp(276): E2451 Undefined symbol 'iehpCENTER'
[BCC32 Error] UnitPrint.cpp(277): E2451 Undefined symbol 'ievpTOP'
[BCC32 Error] UnitPrint.cpp(278): E2451 Undefined symbol 'ievpBOTTOM'
[BCC32 Error] UnitPrint.cpp(279): E2451 Undefined symbol 'iehpLEFT'
[BCC32 Error] UnitPrint.cpp(280): E2451 Undefined symbol 'iehpRIGHT'
[BCC32 Error] UnitPrint.cpp(281): E2451 Undefined symbol 'iesFITTOPAGE'
[BCC32 Error] UnitPrint.cpp(284): E2451 Undefined symbol 'iesNORMAL'
[BCC32 Error] UnitPrint.cpp(286): E2451 Undefined symbol 'iesFITTOPAGESTRETCH'
[BCC32 Error] UnitPrint.cpp(287): E2451 Undefined symbol 'iesSPECIFIEDSIZE'
20   L A T E S T    R E P L I E S    (Newest First)
graphman Posted - May 17 2013 : 03:02:32
thanks
fab Posted - May 17 2013 : 02:52:08
In iesettings.pas, locate...

constructor Create();

...and move after "public".
graphman Posted - May 17 2013 : 02:40:02
What string I need to move?
fab Posted - May 17 2013 : 02:10:02
The problem comes from TIEImageEnGlobalSettings private constructor (this is a singleton). It seems that when Delphi 2010 compiles a class with a private constructor, it declares two constructors in the C++ header (one private and one public!).
The unique workaround I can imagine now is to move the Delphi constructor in the public area.
graphman Posted - May 17 2013 : 02:03:04
Thanks
Please inform me about workaround

Currently your fix is working OK
fab Posted - May 17 2013 : 01:14:21
I'm sorry, it didn't happen with C++Builder XE2/3... but only with previous C++Builder versions.
It seems a problem of HPP generator of C++Builder, when it compiles Delphi sources.

I hope to find a workaround soon, in the meantime, just remove the line 88 from iesettings.hpp. It works in my tests.
graphman Posted - May 17 2013 : 01:03:34
I added this string only
#include "iesettings.hpp"
in my H-file

result
[BCC32 Error] iesettings.hpp(146): E2238 Multiple declaration for '_fastcall TIEImageEnGlobalSettings::TIEImageEnGlobalSettings()'

[BCC32 Error] iesettings.hpp(88): E2344 Earlier declaration of '_fastcall TIEImageEnGlobalSettings::TIEImageEnGlobalSettings()'
fab Posted - May 17 2013 : 00:48:13
Following w2m post: you have to add...

#include "iesettings.hpp"
#include "giflzw.hpp"

in header file of your unit (ie Unit1.h). Example:


//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "ieview.hpp"
#include "imageenview.hpp"
#include "iesettings.hpp"
#include "giflzw.hpp"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TImageEnView *ImageEnView1;
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif


Do not add iesettings.hpp in your cpp file.
w2m Posted - May 16 2013 : 13:35:02
I never use C++Builder... that said... try this:
Add ieSettings to uses.

To access the settings try:
IEGlobalSettings()->DefGIF_LZWCOMPFUNC = GIFLZWCompress;
IEGlobalSettings()->DefGIF_LZWDECOMPFUNC = GIFLZWDecompress;

If that does not work email support directly.


William Miller
graphman Posted - May 16 2013 : 11:38:24
Help me please ASAP
graphman Posted - May 15 2013 : 05:40:46
> IEGlobalSettings() is defined in iesettings unit, so you should include it.

[BCC32 Error] iesettings.hpp(146): E2238 Multiple declaration for '_fastcall TIEImageEnGlobalSettings::TIEImageEnGlobalSettings()'

[BCC32 Error] iesettings.hpp(88): E2344 Earlier declaration of '_fastcall TIEImageEnGlobalSettings::TIEImageEnGlobalSettings()'

fab Posted - May 15 2013 : 04:38:38
quote:
you have changed
iehpCENTER
to
ievpCenter
etc.


You're right, please accept my apologies.
fab Posted - May 15 2013 : 04:37:45
IEGlobalSettings() is defined in iesettings unit, so you should include it.
graphman Posted - May 15 2013 : 03:58:49
I try to use (C++ Builder 2010)

IEGlobalSettings().DefGIF_LZWDecompFunc = GIFLZWDecompress;

result

[BCC32 Error] Unit1.cpp(265): E2268 Call to undefined function 'IEGlobalSettings'
graphman Posted - May 15 2013 : 03:25:35
How to change these strings in the new version

//Installations for operation about a TIF and GIF
DefGIF_LZWDECOMPFUNC = GIFLZWDecompress;
DefGIF_LZWCOMPFUNC = GIFLZWCompress;
DefTIFF_LZWDECOMPFUNC = TIFFLZWDecompress;
DefTIFF_LZWCOMPFUNC = TIFFLZWCompress;
graphman Posted - May 15 2013 : 03:12:08
you have changed
iehpCENTER
to
ievpCenter
etc.
fab Posted - May 15 2013 : 03:09:34
It should be enough to insert:

#include "ImageEnIO.hpp"
graphman Posted - May 15 2013 : 03:09:22
in UnitPrint.h I have
#include "imageenio.hpp"
graphman Posted - May 15 2013 : 03:07:17
What do you mean with "include "imageenio"" ???
fab Posted - May 15 2013 : 03:01:11
I really do not know: these symbols have always been there.