|
The error message seems to be saying:
A function with the signature int __cdecl RecordExceptionInfo(struct _EXCEPTION_POINTERS *,char const *) is referenced in the file "ExceptionAttacher.???" from the function int __stdcall AfxWinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,wchar_t *,int) . Clearly the function int __cdecl RecordExceptionInfo(struct _EXCEPTION_POINTERS *,char const *) is declared or we would have a compiler error instead, but it's not defined or the file it's defined in is not included in the project because the linker can't find it.
PS: Why the function AfxWinMain defined in "ExceptionAttacher.xxx"? This function is part of the MFC framework and not meant to be user defined.
Steve
|
|
|
|
|
hello all,
I want to get search update for remote machine.Means how many updates it wants and all.
how do i use WUA API for remote machine please help me .I Visited microsoft website but not get proper idea.
|
|
|
|
|
Hi,
I want to hide 'X'-box or Close-box (which we can find at the Top-right corner of a Dialogbox).
Only i need to remain Minimize-box in my dialog. Can any one please help me ,what should be the code to hide this box in MFC.
please let me know as soon as possible.
Thanks in advance
modified on Wednesday, April 29, 2009 2:20 AM
|
|
|
|
|
Under dialog properties set the System Menu to false.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Actually i need to vanish the 'X'-box from the system menu & keep only Minimize-Box in the menu bar.
as U sent a code stuff,which i observed -only disabling the X-box not vanishing from the menu bar.
So is there any way to totally clear this X-box.If then plz repay as soon as possible.
Thanks for your last reply
and thanks in advance for your up-comming replay
|
|
|
|
|
[^].
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]
|
|
|
|
|
Hi out there-
I have a UNC path \\192.168.0.100\share and would like to convert it to the network name. i.e. \\SERVER\share
WNetGetUniversalName doesn't like it and is reporting "The specified device name is invalid".
Is there an easy way to deal with this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
If you are simply wanting to convert an IP address to its host name, use gethostbyaddr() .
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I would like to copy file from local to remote machine using WMI in C++. Not quite sure how to do this.
According to MS doc, "Win32_Directory" can be a good candidate. Anybody got idea? Thanks in advance.
Jack Rong
|
|
|
|
|
Must be URGENT
|
|
|
|
|
led mike wrote: Must be URGENT
Must be URGENTZ
fixed.
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]
|
|
|
|
|
CPallini wrote: fixed
tnk u plzzzzzzzz
|
|
|
|
|
Jack Rong wrote: Anybody got idea?
Such as this?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
My application uses a dialog with CListCtrl in report view, this list control gets updated heavily and frequently.
To stop flickering i have used SetRedraw(FALSE) before the update operation, like-
SetRedraw(FALSE);
SetRedraw(TRUE);
Invalidate();
This trick is working fine with Win XP, but its unable to stop flickering on Vista.
I have also tried LockWindowUpdate(), but the problem remains.
Is there any known issue with using CListCtrl on Vista?
What else could be tried to stop Flickering?
Siddu
|
|
|
|
|
Member 4682688 wrote: Invalidate();
Is this necessary?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I agree, Invalidate() is not necessary, I'd have put it there while trying to eliminate flickering any how..
I have also tried with Invalidate(FALSE), which i suppose, would have stopped background repaint. With or without Invalidate(), flickering remains on Vista.
|
|
|
|
|
00.Siddu wrote: ...flickering remains on Vista.
How often is the control updated, and with how many items?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
How often is the control updated, and with how many items?
Well, Control is updated as mouse moves over the screen, with 100 to 125 items.
The list gets updated in a loop in which data is being collected in a vector first, and then injected in the list.
|
|
|
|
|
|
Tried, it didn't help, flickring still exist
|
|
|
|
|
may i know how to send email from my application to my rediffmail account,PLZ someone help.thanks in advance.
|
|
|
|
|
This[^] may help. Or this[^]. Or this[^]. Or maybe a basic ability to use search engines might help you?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hello
I am attempting to build a console application that depends on 4 other libraries using Visual Studio 2008. I was able to build the application in a previous version of Visual Studio.
3 of the libraries are in C code and the other is in C++.
I have checked (more than once) that all the libraries and my application are all compiled using the multi-threaded DLL (/MD). My command line compile options for each library and my application are as follows:
Lib1: /Ox /Op /MD
Lib2&3: /Od /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /FD /EHsc /MD /W3 /c /Tc
Lib4: /MD /EHsc /RTC1 /D "WIN32" /D "_MBCS" /W2 /DNDEBUG
App: /Od /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /FD /EHsc /MD /W3 /c /TP
Link: /INCREMENTAL /MANIFEST:NO /NODEFAULTLIB:"libcpmt.lib" /NODEFAULTLIB:"libc.lib" /NODEFAULTLIB:"libcmt.lib"
I get 25 LNK2005 errors regarding basic_string already being defined in my application. I suspect it has something to do with lib4 because when I take it out of the project the LNK2005 errors go away and I get unresolved external errors for the functions I use out of that library (although I'm not sure what order those errors are generated in).
I have tried ignoring msvcprt.lib but I get unresolved externals for other functions.
I have turned on verbose to see what libraries are being included and they are as follows:
lib4
lib2
lib3
lib1
zlib1.lib
szlibdll.lib
OLDNAMES.lib
MSVCRT.lib
msvcprt.lib (where the errors are given)
uuid.lib
kernel32.lib
|
|
|
|
|
Wow - you've already done a lot more investigation than most people who ask questions here
What can I suggest....
1. I notice that some of your libs use "/Od" and others don't and others use "/Ox". This will affect how methods of template classes (like std::basic_string) are inlined in your libraries - it's possible (I think) that a std::basic_string method may be embedded in an object file and then re-exported from a library?
2. I'd be tempted to use dumpbin (it comes with VS) or objdump (comes with GCC, if you have that installed) to dump various properties of the lib files (use dumpbin /all library-name ) and then search through the resultant text for names of basic_string methods that look like they're defined rather than referenced?
3. Or maybe delete lib4, then add object files back into lib4 one by one, to see when the LNK2005 occurs?
So - no concrete answers, just possibilities
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thank you for your comprehensive reply
Suggestion 1 didn't work, but it is probably better to have them all the same anyway, considering what affect that option has.
I used dumpbin on the offending library. It looks to me like it is defined but I would just like to check.
In the exports table the functions (e.g. resize) that the linker complains about are external and prefixed with __imp_. Is this why the linker is complaining?
Basically, one of the files in lib4 creates its own class which inherits from std::string. For older versions of C++, it has the lines
#using std::string
#define std_string string
in the header file.
For newer versions of Visual C++, it simply has
#define std_string std::string
What is the difference between these two?
As far as I can see, the header file calls the functions in inline functions without the specifier std::
Other than that those functions aren't overridden or referred to anywhere else.
|
|
|
|