Kumar,
Thank you for the solution.But previously i tested it with a sample
windows dialog application.i put those headers in the app's header
file.in that one it is working fine.now i want to integrate it with my
original project, problems are arising.

Thanks in advance


On Mon, 28 Mar 2005 11:11:15 +0530, Gopakumar Ambat <[EMAIL PROTECTED]> wrote:
> Sriram,
> Move is a macro that perl uses internally. You will have to go around the
> problem to resolve this - i.e. have a different .h file (other than
> cdialogapp) that includes perl header files and try re-compiling.
> 
> Cheers!
> Gopa
> 
> -----Original Message-----
> From: Sriram Mokkapati [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 28, 2005 10:56 AM
> To: Perl-Xs
> Subject: I need Help to embedding the perl into my windows application
> 
> Hi all,
>     I need help from this mailgroup.My problem is, i want to create a
> windows(MFC) application embedding with perl interpreter. so i embedded the
> standard headers for perl in CDialogApp header file. i'm getting compilation
> errors in this process. i included the lib file.i mentioned the
> includes,libs path without fail. eventhough i'm getting the error mentioned
> below.
> 
> \program files\microsoft visual studio\vc98\mfc\include\afxpriv.h(503) :
>       warning C4003: not enough actual parameters for macro 'Move'
> 
> \program files\microsoft visual studio\vc98\mfc\include\afxpriv.h(503) :
>       error C2629: unexpected 'void ('
> 
> \program files\microsoft visual studio\vc98\mfc\include\afxpriv.h(503) :
>       error C2238: unexpected token(s) preceding ';'
> 
> \MyProject\psinfo.h(6) : warning C4005: '_WIN32_WINNT' : macro redefinition
>       \perl\lib\core\win32.h(15) : see previous definition of
> '_WIN32_WINNT'
> 
> \MyProj\MYPROJDoc.cpp(3419) : error C2556: 'char __thiscall
> CMYPROJDoc::IsFileExists(class CString)' : overloaded function differs only
> by return type from 'bool __thiscall CMYPROJDoc::FileExists(class CString)'
>       \MyProj\MyProjdoc.h(108) : see declaration of 'FileExists'
> \MyProj\MYPROJDoc.cpp(3419) : error C2371: 'FileExists' :
> redefinition; different basic types
>       \MyProj\MyProjdoc.h(108) : see declaration of 'FileExists'
> \MyProj\MYPROJDoc.cpp(4251) : error C2511: Process: overloaded member
> function 'void (char)' not found in 'CMYPROJDoc'
>       \MyProj\MyProjdoc.h(75) : see declaration of 'CMYPROJDoc'
> \MyProj\MYPROJDoc.cpp(4563) : error C2556: 'char __thiscall
> CMYPROJDoc:: RepView (void)' : overloaded function differs only by return
> type from 'bool __thiscall CMYPROJDoc:: RepView (void)'
>       \MyProj\MyProjdoc.h(107) : see declaration of RepView
> \MyProj\MYPROJDoc.cpp(4563) : error C2371: RepView : redefinition; different
> basic types
>       \MyProj\MyProjdoc.h(107) : see declaration of RepView
> \MyProj\MYPROJDoc.cpp(4601) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(4772) : error C2511: 'GetSize' : overloaded member
> function '__int64 (class CString,class CMYPROJDisp *,class CString,char &)'
> not found in 'CMYPROJDoc'
>       \MyProj\MyProjdoc.h(75) : see declaration of 'CMYPROJDoc'
> \MyProj\MYPROJDoc.cpp(5640) : error C2556: 'char __thiscall
> CMYPROJDoc::ConView(void)' : overloaded function differs only by return type
> from 'bool __thiscall CMYPROJDoc::ConView(void)'
>       \MyProj\MyProjdoc.h(106) : see declaration of ConView
> \MyProj\MYPROJDoc.cpp(5640) : error C2371: ConView : redefinition; different
> basic types
>       \MyProj\MyProjdoc.h(106) : see declaration of ConView
> \MyProj\MYPROJDoc.cpp(5748) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(5769) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(5790) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(6029) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(6193) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(6199) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(7179) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(7185) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(7480) : error C2556: 'char __thiscall
> CMYPROJDoc::StopProcess(void)' : overloaded function differs only by return
> type from 'bool __thiscall CMYPROJDoc::StopProcess(void)'
>       \MyProj\MyProjdoc.h(134) : see declaration of 'StopProcess'
> \MyProj\MYPROJDoc.cpp(7480) : error C2371: 'StopProcess' :
> redefinition; different basic types
>       \MyProj\MyProjdoc.h(134) : see declaration of 'StopProcess'
> \MyProj\MYPROJDoc.cpp(7894) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(8037) : error C2264: 'StopProcess' : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(8281) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(8287) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(10208) : error C2264: 'StopProcess' : error in
> function definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(10631) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(11181) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(11477) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(11483) : error C2264: ConView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(12739) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(12993) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(13111) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(13144) : error C2264: RepView : error in function
> definition or declaration; function not called
> \MyProj\MYPROJDoc.cpp(13191) : error C2264: RepView : error in function
> definition or declaration; function not called
> 
> Thanks in advance
> Sriram M.
> 
>

Reply via email to