|
Best sample is your exercise you need to spend time to work with c++ but you forgot you are on the Codeproject very good place for examples in c++/C#/ASP.net,...
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hamid. wrote: ASP.net,...
humm C++ programemer coding website he hehe!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Or maybe F#
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
|
Errr.... Codeproject maybe ?
|
|
|
|
|
Please UUURGENT
Could You Give Link to that Code project SITE
Learn from the mistakes of others, you may not live long enough to make them all yourself.
|
|
|
|
|
|
He was sarcastic, in case you didn't realize
|
|
|
|
|
You're wrong it was THHB (for more info ask of CPallini ).
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
mihK wrote: http://www.codeproject.com[^]
@
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
BadKarma wrote: Could You Give Link to that Code project SITE
I don't know..!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I suggest you to read the code project website completly.
Maybe it helps, maybe not. I hope the best
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
"Please suggest me any link for c++ samples which will be really helpful in my professional job"
KarstenK wrote: Maybe it helps, maybe not.
Although if his "professional job" is bus driver, dentist or farmer, it may not...
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
search for OOPs and design patterns!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hai!
My Requirement : To convert .jp2 image to .jpg in an Pocket PC 2003 application for WINCE device
I have been struggling to display an convert different image formats (.jp2, .jpg, .bmp, .png). i have used CxImage to easily convert .jp2 to .jpg. Now i have tried the WINCE version of CxImage, but there the support for .jp2 images has been disabled by defining
#define CXIMAGE_SUPPORT_JP2 0
I have also seen
http://www.codeproject.com/KB/mobile/png__jpg__etc_on_pocketpc
here also the .j2k or .jp2 images are not supported.
How can i convert .jp2 images to .jpg in my Pocket PC application?
Can't we use .jp2 images in Pocket PC applications if yes how?
Can i use any converters(free) that can be directly used in my application
like:
MyJpegConverter.Load (MyImage.jp2)
MyJpegConverter.SaveAs (MyImage.jpg)
If yes can you suggest any free converter?
If possible can you send me links of any Pocket PC applications that deal with .jp2 images conversion??
Thanks!
|
|
|
|
|
So, why don't you port CxImage .jp2 support to WINCE and write an article about?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
As i have already said i am new to these images and their formats, I do not know how these decoders works, i have to find a solution to convert from .jp2 tp .jpg, please help me with your knowledge.
Are there any applications/articles that deal with .jp2 images in Pocket PC application??
Any suggestion that solves my problem within minimal time is welcomed!!
Thanks
|
|
|
|
|
If the "standard" CxImage library does the job, and you have the source files (I suppose they are available) then you may have a look at.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I even tried doing so just by changing the solution platform to "Pocket PC 2003(ARM)" but i am ending up with
error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ)
error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ)
My project setting are "Statically linked to MFC" "Using unicode"
Thanks!
|
|
|
|
|
Well, of course changing just the solution platform don't do the trick. You have to port some (i.e. the missing) code from the standard library to the WINCE one.
You've to put some effort in it, but it may be quite instructive, I suppose.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Have you tried changing the
#define CXIMAGE_SUPPORT_JP2 0
to
#define CXIMAGE_SUPPORT_JP2 1
and re-building it to see what falls out?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
After making that change only i have come across the errors that i have mentiontioned in the previous message!
|
|
|
|
|
Which errors? There were no errors mentioned in the message I responded to.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
i am ending up with
error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ)
error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ)
The latest observation is if i am changing some setting in Code generation to [/Mt] [/Mtd] [/Md] etc I get lot of such type of errors !
now after rolling back the settings also still the errors continues i am posting some of the errors
Linking...
LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found from OleAcc.dll
MyImage.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
ImageDlg.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
stdafx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
MyImage.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall CWinApp::GetThisMessageMap(void)" (?GetThisMessageMap@CWinApp@@KGPBUAFX_MSGMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWinApp::OnHelp(void)" (?OnHelp@CWinApp@@IAEXXZ)
MyImage.obj : error LNK2019: unresolved external symbol "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) referenced in function "public: __thiscall CMyImageApp::CMyImageApp(void)" (??0CMyImageApp@@QAE@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp@@UBEPAUCRuntimeClass@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMsg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CCmdTarget::OnFinalRelease(void)" (?OnFinalRelease@CCmdTarget@@UAEXXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::GetDispatchIID(struct _GUID *)" (?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::GetDispatchIID(struct _GUID *)" (?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall CCmdTarget::GetTypeInfoCount(void)" (?GetTypeInfoCount@CCmdTarget@@UAEIXZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall CCmdTarget::GetTypeInfoCount(void)" (?GetTypeInfoCount@CCmdTarget@@UAEIXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual class CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)" (?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual class CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)" (?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)" (?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)" (?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_OLECMDMAP const * __thiscall CCmdTarget::GetCommandMap(void)const " (?GetCommandMap@CCmdTarget@@MBEPBUAFX_OLECMDMAP@@XZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_OLECMDMAP const * __thiscall CCmdTarget::GetCommandMap(void)const " (?GetCommandMap@CCmdTarget@@MBEPBUAFX_OLECMDMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_DISPMAP const * __thiscall CCmdTarget::GetDispatchMap(void)const " (?GetDispatchMap@CCmdTarget@@MBEPBUAFX_DISPMAP@@XZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_DISPMAP const * __thiscall CCmdTarget::GetDispatchMap(void)const " (?GetDispatchMap@CCmdTarget@@MBEPBUAFX_DISPMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const " (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const " (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const " (?GetInterfaceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const " (?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const " (?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::OnCreateAggregates(void)" (?OnCreateAggregates@CCmdTarget@@UAEHXZ)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CCmdTarget::OnCreateAggregates(void)" (?OnCreateAggregates@CCmdTarget@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct IUnknown * __thiscall CCmdTarget::GetInterfaceHook(void const *)" (?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual struct IUnknown * __thiscall CCmdTarget::GetInterfaceHook(void const *)" (?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)" (?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)" (?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "protected: virtual struct IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID const &)" (?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
MyImageDlg.obj : error LNK2001: unresolved external symbol "protected: virtual struct IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID const &)" (?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::Run(void)" (?Run@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinThread::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CWinThread@@UAEHPAUtagMSG@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinThread::PumpMessage(void)" (?PumpMessage@CWinThread@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::OnIdle(long)" (?OnIdle@CWinApp@@UAEHJ@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinThread::IsIdleMessage(struct tagMSG *)" (?IsIdleMessage@CWinThread@@UAEHPAUtagMSG@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::ExitInstance(void)" (?ExitInstance@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall CWinApp::ProcessWndProcException(class CException *,struct tagMSG const *)" (?ProcessWndProcException@CWinApp@@UAEJPAVCException@@PBUtagMSG@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinThread::ProcessMessageFilter(int,struct tagMSG *)" (?ProcessMessageFilter@CWinThread@@UAEHHPAUtagMSG@@@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual class CWnd * __thiscall CWinThread::GetMainWnd(void)" (?GetMainWnd@CWinThread@@UAEPAVCWnd@@XZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinThread::Delete(void)" (?Delete@CWinThread@@UAEXXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::InitLibId(void)" (?InitLibId@CWinApp@@UAEXXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::Register(void)" (?Register@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::Unregister(void)" (?Unregister@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual class CDocument * __thiscall CWinApp::OpenDocumentFile(char const *)" (?OpenDocumentFile@CWinApp@@UAEPAVCDocument@@PBD@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::AddToRecentFileList(char const *)" (?AddToRecentFileList@CWinApp@@UAEXPBD@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::InitApplication(void)" (?InitApplication@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::SaveAllModified(void)" (?SaveAllModified@CWinApp@@UAEHXZ)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::DoMessageBox(char const *,unsigned int,unsigned int)" (?DoMessageBox@CWinApp@@UAEHPBDII@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::DoWaitCursor(int)" (?DoWaitCursor@CWinApp@@UAEXH@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinApp::OnDDECommand(char *)" (?OnDDECommand@CWinApp@@UAEHPAD@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWinApp@@UAEXKI@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::HtmlHelpA(unsigned long,unsigned int)" (?HtmlHelpA@CWinApp@@UAEXKI@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::WinHelpInternal(unsigned long,unsigned int)" (?WinHelpInternal@CWinApp@@UAEXKI@Z)
MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct HINSTANCE__ * __thiscall CWinApp::LoadAppLangResourceDLL(void)" (?LoadAppLangResourceDLL@CWinApp@@UAEPAUHINSTANCE__@@XZ)
and so on ..... (228 errors)
|
|
|
|
|
Your first two linker errors would appear to be because you aren't linking to the CxImage libraries.
The other areas are because you're not linking against MFC libraries.
It's not difficult - look at the missing symbol names, work out which libraries they come from, add those libraries to the list of 'Additional Dependencies' on the Linker->Input settings.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|