|
i have windowsXP. when try to bulid it gives error MFC42UD.Lib not found.& when i set its path , it gives eroor mfc42UD.dll not found.
thanks for responce
Waiting
Regards
Amit Patil
|
|
|
|
|
Have U installed Platform SDK ???
also if possible show Ur code snippet.
Supriya Tonape
|
|
|
|
|
Wht do u mean by Platform SDK, can u plz explore it?
Code snippet is
// Byte-order mark goes at the begining of the UNICODE file
_TCHAR bom = (_TCHAR)0xFEFF;
CFile* pFile = new CFile();
pFile->Open( strFile, CFile::modeCreate | CFile::modeWrite );
pFile->Write( &bom, sizeof(_TCHAR) );
pFile->Write( LPCTSTR(strText), strText.GetLength()*sizeof(_TCHAR) );
pFile->Close();
Actually i am trying stdiofileEX ex given under heading
Easy text document conversion - ANSI/Unicode and Unicode/ANSI
By darkoman
Waiting
Regards
Amit Patil
|
|
|
|
|
TRy doing this,
GOto to Ur project properties -> General -> USe of MFC -> Here select the option as "Use MFC in a Shared DLL".
let me know if it works
Supriya
|
|
|
|
|
Sorry it does not works it gives following error
"Failed to satrt project. MFC42UD.dll not found.Reinstalling the application can solve the problem"
Let me know wht it means .
May i forward u the .zip of project
Regards
Amit Patil
|
|
|
|
|
Search for this file in Ur PC "MFC42UD.dll" n let me know soon
if its not there then,
"http://www.microsoft.com/msdownload/platformsdk/sdkupdate/"
Go to the above link, you will be automatically redirected to the download page or click on the 'Click here' link.
On the redirected page there is a link for
PSDK-x86.exe
Click on the link and install the SDK. It takes some time for install.
I m too busy n cant look into Ur prob neatly.still U can send me Ur proj.
I might see once I m finished up with my work.
BYe
Supriya Tonape
|
|
|
|
|
Ok i will try it.
Thanks 4 u kind attention.
i am forwarding .zip 4 ur suggetions.
Let me know that if it will run on ur system.
Plz reply when ur free.
Thanks again
Bye
Amit Patil.
|
|
|
|
|
Supriya Tonape wrote:
Have U installed Platform SDK ???
As fas as I know, MFC libraries are not part of the Platform SDK...
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Supriya Tonape wrote:
which OS version U have???
Err... I know you are well intentioned, but this is about Visual C++ installation of MFC libraries; it has nothing to do with the OS...
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Amit j Patil wrote:
but when i run setup(or rerun setup) i doesnot get Add/Remove Features
What do you see in the first screen? Do you see options for 'Typical' and 'Custom' installations?
Try going through the Control Panel - Add or Remove Programs, locating your Visual Studio installation there and invoking the setup from there.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
while installing the VS you need to choose to install unicode libs so that you can develop unicode supported application.
-prakash
|
|
|
|
|
but how to select to install unicode libraries?
|
|
|
|
|
I dont exactly remember now, but you need to do custom installation and check for all sub-installation of each option and check unicode libs, by default it is not checked so you dont get the unicode libs.
-prakash
|
|
|
|
|
I have an SDI application with 2 Splitter window pane [(2x1)(rxc)]. The first row is having a view derived from CListView and second is derived from CFormView.
I want to disable the scrollbar in second row containing the Form.
Thanks.
|
|
|
|
|
|
How can I refresh dialog controls when the program CPU usage is %100?
|
|
|
|
|
Safaei wrote:
the program CPU usage is %100?
What task are you performing.. thats making program CPU usage 100%.. try worker threads for cumbersome task...
reda more about worker thread here
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
You don't know if you can refresh your controls. If some idle process is consuming all the CPU cycles, it won't affect your process. If a process with a higher priority consumes all the CPU, your program won't even run..
If it's your application which consumes all the CPU, I suggest you find out which loop is running like crazy and fix it. Users generally don't like it when a application takes all the CPU..
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
How can I change dialog caption in MFC application with programming?
|
|
|
|
|
Safaei wrote:
How can I change dialog caption in MFC application with programmin
Try SetWindowText api
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
I am using VC++ of Visual Studio .NET.
The problem here is When I create two tool bars and add them to a rebar as follows the two toolbars will be at each side. I want them both to be Left Aligned one after the other.
Note: the very same code works as i want in VC++ 6 of Visual Studio 6.
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
{
TRACE0("Failed to create toolbar\n");
return -1;
}
if (!m_wndClientToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndClientToolBar.LoadToolBar(IDR_CLIENTTOOLBAR))
{
TRACE0("Failed to create toolbar\n");
return -1;
}
if (!m_wndReBar.Create(this) ||
!m_wndReBar.AddBar(&m_wndToolBar) ||
!m_wndReBar.AddBar(&m_wndClientToolBar))
{
TRACE0("Failed to create rebar\n");
return -1;
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators,
sizeof(indicators)/sizeof(UINT)))
{
TRACE0("Failed to create status bar\n");
return -1;
}
Thanks.
|
|
|
|
|
Access violation reading location 0x003261b6
is there any specific reason than what we normally knew abt it..
thanks
Supriya Tonape
|
|
|
|
|
Supriya Tonape wrote:
Access violation reading location 0x003261b6
is there any specific reason than what we normally knew abt it..
You tried to access some memory location which is denied for your Program.. Where do u get this Violation i.e. calling which api or function... if function is your own... show the snippet.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
But why that memeory is denied for I m or my pgm is using the memory which is being assigned to use for it...
I was trying to assign one address to void pointer.
Chalo now bye
Supriya Tonape
|
|
|
|
|
Well, you can't arbitrarily assign an address to a pointer and expect it to work. Did you do something like
void *p = (void *)0x003261b6; ?
Let me try explaining why it doesn't work in the simplest way possible.
Every program has something called a virtual address space allocated to it, to prevent one program from trampling over another program's memory. Now whenever you try to access memory, the OS and the CPU conspire to translate the virtual address to the actual physical address. To do this, the OS has to maintain a mapping between virtual and physical addresses and has to know which virtual addresses have been allocated by the program and which have not.
In your case, you're trying to access an address which has not been allocated to the program and that's why you're getting the access violation error. You must consider yourself lucky it crashed straightaway. Imagine the consequences if it worked on your PC, because by some coincidence that memory *was* allocated somewhere else (by the OS or by you), and it crashed right in front a 100 people when you are giving a demo.
Bottom line : Never do the above unless you are dead sure that address has been allocated.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|