|
do you understand Portable ?
moreover, please construct correct sentences, with real words (no abbreviations)...
|
|
|
|
|
Turkoglan wrote: I came across Bloodshed Dev-cpp
I don't think the IDE is cross-platform. It is just for windows as far as I know (but I might be wrong).
I know that Code::Blocks[^] is cross-platform and I heard a lot of good things from it. You should take a look at it (never used it myself).
|
|
|
|
|
Turkoglan wrote: I'm looking for a portable C++ IDE to work with it anywhere
I guess Eclipse + CDT is one such IDE. Be aware it is a memory hog (written with Java).
|
|
|
|
|
Thank you all. I'll test them...
|
|
|
|
|
Take a look at http://www.ultimatepp.org/ I have haerd good things about it. I plan on trying it myself.
|
|
|
|
|
what will be the return value of x25xcall() on success?
when will the call back fuction mentioned with in x25xcall()be executed?
arun
|
|
|
|
|
What is this you talking about ? Can you tell , what is x25xcall ?
|
|
|
|
|
|
how to code the dislay function for displaying varying size of images in MDI(MFC)
|
|
|
|
|
|
Someone else already suggested CXImage, but I think FreeImage does a better job of resizing (resized image is MUCH nicer than the same result from CXImage) to fit your window if you need to do that.
FreeImage is available on SourceForge.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi friends
i am new in c++
I have one file enc.cpp in which i write many functions and one entry point.
i dnt know how to run it.
plz tell me how to run project in c++ .net
thanks in advance.
khan
|
|
|
|
|
|
Hi,
i am using ShellExecuteEx function in an Embeded VC++(MFC Based) to run other application(not MFC) but its Window not get
Minimized though i am passing ShExecInfo.nShow = SW_MINIMIZE parameter. My Code is:
BOOL CSBCApp::InitInstance()
{
CMainFrame* pFrame = new CMainFrame;
m_pMainWnd = pFrame;
pFrame->LoadFrame(IDR_MAINFRAME, WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, NULL, NULL);
SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = _T("Disk\\MyTest.exe");
ShExecInfo.lpParameters = _T("");
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_MINIMIZE;
ShExecInfo.hInstApp = NULL;
bool ReturnType=ShellExecuteEx(&ShExecInfo);
// The one and only window has been initialized, so show and update it.
pFrame->ShowWindow(m_nCmdShow);
pFrame->UpdateWindow();
return TRUE;
}
Warm Regards,
priyank
|
|
|
|
|
pri_skit wrote: ShExecInfo.nShow = SW_MINIMIZE;
Use SW_SHOWMINIMIZED instead.
|
|
|
|
|
WINDOW CE(5.0) does not support SW_SHOWMINIMIZED.
Message displayed:
error C2065: 'SW_SHOWMINIMIZED' : undeclared identifier
priyank
|
|
|
|
|
pri_skit wrote: WINDOW CE(5.0) does not support SW_SHOWMINIMIZED
Yes. I overseen WinCE in your original post.
With available options for ShowWindow on WinCE it doesn't seem possible.
|
|
|
|
|
Only the following are supported in WinCE. SW_SHOW, SW_HIDE, SW_SHOWNORMAL, SW_SHOWNA
If your requirement is to create a new window but to retain the topmost state of your current window, then create the new window with SW_SHOWNA as the nCmdShow parameter to ShowWindow() .
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
you specified the window to minimize
ShExecInfo.nShow = SW_MINIMIZE;
you are again specifying the window to show with m_nCmdShow
pFrame->ShowWindow(m_nCmdShow);
it depends on m_nCmdShow. comment Show and UpdateWindow functions. it may work.
HTH,
-- Murali Krishna.
|
|
|
|
|
pFrame->ShowWindow(m_nCmdShow);
This function is for Main MFC Application.
I am using ShellExecuteEx() fuction to run an other Application(not MFC,.exe file) which get minimize at StartUp.Therefore ShExecInfo.nShow = SW_MINIMIZE;
is used.
HTH,
priyank
|
|
|
|
|
hi,
i got LNK2001 errors.
I created a sample class in flashplayer7 and in that class i created pointer instances of some Directshow interfaces like IMediaControl etc....
When i tried to access the functions from the interfaces it is showing the below linker errors.
error LNK2001: unresolved external symbol "public: __thiscall CFlashPlayback::CFlashPlayback(void)" (??0CFlashPlayback@@QAE@XZ)
CFlashPlayback.obj : error LNK2005: "struct HWND__ * m_hWnd" (?m_hWnd@@3PAUHWND__@@A) already defined in win32camera.obj
Thanks and Regards
Harshadha
|
|
|
|
|
harshadha wrote: error LNK2001: unresolved external symbol "public: __thiscall CFlashPlayback::CFlashPlayback(void)" (??0CFlashPlayback@@QAE@XZ)
You forgot to provide defintion for constructor you declared.
harshadha wrote: CFlashPlayback.obj : error LNK2005: "struct HWND__ * m_hWnd" (?m_hWnd@@3PAUHWND__@@A) already defined in win32camera.obj
It seems that m_hWnd is declared twice in same namespace.
|
|
|
|
|
My error got resolved ..Thanks ...
Thanks
Harshadha
|
|
|
|
|
Hi,
I have to print images from my application.
For doing this, I created a Printer DC and the images is painted using 'StretchDIBits'.
Now the printing is OK.
The problem is of the sheet size.
How can i change the print size according to the different sheet sizes supported by the specified printer?
Please help.
Regards,
Kumar
Krishnakumar
|
|
|
|
|
For print you can use also of PrintDlg and also see this structure DEVMODE on MSDN
|
|
|
|