|
I install redistributable package but give me error message
|
|
|
|
|
you have mixes version of the dlls. The installed dlls are others than the building dlls. Use the service pack level and/or check the manifest.
tip: dependency walker
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Thanks
I download Dependency Walker files and load .exe appliaction file.error MSVCR80D.DLL file.
I download this file and copy the root application.but give me error message.
|
|
|
|
|
Do you see the big fat "D" in the dll name. It is a debug build.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
the dll name is DT.dll
I think that "d" is for dll name.
If it is a debug build,What do I?
|
|
|
|
|
Ypu wrote "I download Dependency Walker files and load .exe appliaction file.error MSVCR80D.DLL file."
that means your app or some dlls is referring to a debug dll. You need a release build of that file.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
this application fine work in other computers.
|
|
|
|
|
If depends.exe says that your application links to MSVCR80D.DLL , it means that the application is a debug build.
Do you have Visual Studio 2005 installed on the computers where the application run properly, but not installed on the computer where it doesn't starts?
Remember that the debug versions of the C/C++ runtime libraries are provided with Visual Studio but they are not redistributable.
|
|
|
|
|
Hi sir,
I am trying to write a text into Bitmap,i am able to write.
But i am not able to fill the colur into the region where i am writing.
i.e the colour of bitmap and the text which i am writing is not matching.
Here is my code:
OnPaint()
{
CPaintDC dc(this);
CDC dcImage;
CRgn* rgn;
BITMAP bm;
if (!dcImage.CreateCompatibleDC(&dc))
return;
m_bitmap.GetBitmap(&bm);
CBitmap* pOldBitmap = dcImage.SelectObject(&m_bitmap);
CBrush mybrush(RGB(255,0,0));
dcImage.TextOut(521,95,"Testing");
rgn=new CRgn;
rgn->CreateFromPath(&dcImage);
dcImage.FillRgn(rgn,&mybrush);
dc.BitBlt(0, 0, bm.bmWidth, bm.bmHeight, &dcImage, 0, 0, SRCCOPY);
dcImage.SelectObject(pOldBitmap);
}
Any idea will be helpful
Thanks
Raj
|
|
|
|
|
From CRgn::CreateFromPath documentation [^]:
The device context identified by the pDC parameter must contain a closed path.
Please have a look at the following code sample [^].
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 suggest you to check return values of the functions like CreateFromPath to see if the function call has failed or not.
|
|
|
|
|
Hi,
How to draw a tranparent rectangle with my selected pen?
|
|
|
|
|
I'm not certain exactly what you are trying to do but you may find the FrameRect[^] function suits your purpose.
It's time for a new signature.
|
|
|
|
|
Select the NULL_BRUSH into the device context and use the Rectangle function.
|
|
|
|
|
Why do you want to draw it if it's transparent ?
Seriously... have a look at CDC::SetBkMode (have not tried it).
Watched code never compiles.
|
|
|
|
|
Maximilien wrote: Seriously... have a look at CDC::SetBkMode (have not tried it).
Nope. Thats only for text.
...byte till it megahertz...
|
|
|
|
|
The brute force method would be to draw four line segments yourselves but that would be less than ideal if you are going to paint for some top end graphics (as this method tends to have jagged corners). So if its supposed to be neat then take others' suggestion.
...byte till it megahertz...
|
|
|
|
|
Hi all,
i m using a List Control having some Items and subitems,on ItemChanged i display the corresponding item and subitem values in a Edit box to show which item is selected.
int nIndex = m_list.GetNextItem(-1, LVNI_SELECTED);
CString strItem = m_list.GetItemText(nIndex, 0);
CString strSubitem1 = m_list.GetItemText(nIndex, 1);
CString strSubitem2 = m_list.GetItemText(nIndex, 2);
when first time i press down arrow key to select second item is not select in list,after this its working fine.
please tell me what can i do 4 this.
thanks in advance.
|
|
|
|
|
I am having a console application EXE. When I right click on the EXE I am unable to find the Version Tab in the Properties dialog.
Can Anyone suggest me the steps to bring version information in my Console Application EXE.
|
|
|
|
|
i think you can add version resource to your console application project also. Edit version info, include necessary headers and build the application.
|
|
|
|
|
Console applications do not have the Version resource by default.
You can add this by right clicking on the project name in Solutions Explorer and selecting Add -> Resource.
Select Version and click on the New button to add a version resource.
|
|
|
|
|
Hi all,
I have changed the CDialog properties.
In CDialog i have changed Border syle as "Resizing" from "Dialog Frame".
If i changed this Property, An Icon is been displayed in the Dialog.
I dont want to have an extra Icon in the Dialog TitleBar.
What should i do.
I tried with SetIcon(NULL,TRUE) //remove the ICON from TitleBar when changing the Border Style.
Thanks & Regards
uday.
|
|
|
|
|
try with
SetIcon(NULL, FALSE);
SetIcon(NULL, TRUE);
|
|
|
|
|
Hi Dev,
As you given a solution
SetIcon(NULL, FALSE);
SetIcon(NULL, TRUE);
For both Big ICON and Small ICON. I am still able to see an Empty White ICON.
Any suggestions please.
Thanks & Regards,
Uday.
|
|
|
|
|
yes.. i apologize, for a resizing dialog box, it shows a white icon, whenever the system menu property of dialog box is true. What about loading a complete transparent icon and set it as dialog icon?
Others may have solid solutions to give you..
|
|
|
|