|
|
Hi,
Did you actually install the 64 bit compiler? I am fairly certain that VS2005 does not install the 64 bit compiler in the 'default' installation. You will need to manually choose the 64 bit compiler during the installation.
Best Wishes,
-David Delaune
|
|
|
|
|
Randor is right. VS2005 does not install the 64-bit C++ compiler by default.
So reinstall VS and this time select custom install and check on the 64-bit compiler in components listed.
|
|
|
|
|
you can add x64 support with a 'repair' or 'modify' (forget what they call it these days). no need to install from scratch.
|
|
|
|
|
except for the Express versions AFAIK, they don't offer any choice and always build for "AnyCPU" (unless you start hacking the project files).
|
|
|
|
|
Hello!
I am woring on an MFC app that previews a html page... it works with CHtmlView which uses Internet Explorer.
Is there a way I could preview using FireFox or any installed browsers? Some sort of ActiveX control...
I would like to stay within the app... and trap events (like form submission and ajax)
Any pointers welcome!
Jerry
|
|
|
|
|
|
Oh you good man! Thank you!
|
|
|
|
|
|
|
Hi!
When I'm running a program, it crashes into the "dbgdel.cpp" file, at hte following line:
<pre lang="c++">_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));</pre>
The Call stack contains the following:
winRTSimpleApp.exe!operator delete(void * pUserData=0x01ae5064) Line 52 + 0x51 bytes C++
winRTSimpleApp.exe!Entity::`scalar deleting destructor'() + 0x3c bytes C++
winRTSimpleApp.exe!Entity::OnDelete(VariantList * pVList=0x06ac0af0) Line 156 + 0x2b bytes C++
winRTSimpleApp.exe!boost::_mfi::mf1<void,Entity,VariantList *>::operator()(Entity * p=0x01ae5064, VariantList * a1=0x06ac0af0) Line 162 + 0x10 bytes C++
winRTSimpleApp.exe!boost::_bi::list2<boost::_bi::value<Entity *>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,Entity,VariantList *>,boost::_bi::list1<VariantList * &> >(boost::_bi::type<void> __formal={...}, boost::_mfi::mf1<void,Entity,VariantList *> & f={...}, boost::_bi::list1<VariantList * &> & a={...}, boost::_bi::type<void> __formal={...}) Line 293 C++
winRTSimpleApp.exe!boost::_bi::bind_t<void,boost::_mfi::mf1<void,Entity,VariantList *>,boost::_bi::list2<boost::_bi::value<Entity *>,boost::arg<1> > >::operator()<VariantList *>(VariantList * & a1=0x06ac0af0) Line 33 C++
winRTSimpleApp.exe!boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,Entity,VariantList *>,boost::_bi::list2<boost::_bi::value<Entity *>,boost::arg<1> > >,void,VariantList *>::invoke(boost::detail::function::function_buffer & function_obj_ptr={...}, VariantList * a0=0x06ac0af0) Line 153 C++
winRTSimpleApp.exe!boost::function1<void,VariantList *>::operator()(VariantList * a0=0x06ac0af0) Line 989 + 0x17 bytes C++
winRTSimpleApp.exe!boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >::operator()<boost::signals::detail::connection_slot_pair>(const boost::signals::detail::connection_slot_pair & slot={...}) Line 120 C++
winRTSimpleApp.exe!boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator>::dereference() Line 61 + 0x1b bytes C++
winRTSimpleApp.exe!boost::iterator_core_access::dereference<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> >(const boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> & f={...}) Line 517 C++
winRTSimpleApp.exe!boost::iterator_facade<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator>,boost::signals::detail::unusable,boost::single_pass_traversal_tag,boost::signals::detail::unusable const &,int>::operator*() Line 634 + 0xe bytes C++
winRTSimpleApp.exe!boost::detail::postfix_increment_proxy<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> >::postfix_increment_proxy<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> >(const boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> & x={...}) Line 145 + 0x2b bytes C++
winRTSimpleApp.exe!boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator>,boost::signals::detail::unusable,boost::single_pass_traversal_tag,boost::signals::detail::unusable const &,int>(boost::iterator_facade<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator>,boost::signals::detail::unusable,boost::single_pass_traversal_tag,boost::signals::detail::unusable const &,int> & i={...}, int __formal=0) Line 734 C++
winRTSimpleApp.exe!boost::last_value<void>::operator()<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> >(boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> first={...}, boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<VariantList *,boost::function<void __cdecl(VariantList *)> >,boost::signals::detail::named_slot_map_iterator> last={...}) Line 49 + 0x12 bytes C++
winRTSimpleApp.exe!boost::signal1<void,VariantList *,boost::last_value<void>,int,std::less<int>,boost::function<void __cdecl(VariantList *)> >::operator()(VariantList * a1=0x06ac0af0) Line 354 + 0xbb bytes C++
winRTSimpleApp.exe!MessageManager::Deliver(Message * m=0x06ac0a78) Line 253 C++
winRTSimpleApp.exe!MessageManager::Update() Line 286 C++
winRTSimpleApp.exe!BaseApp::Update() Line 181 C++
winRTSimpleApp.exe!App::Update() Line 235 C++
winRTSimpleApp.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x002837c5, int nCmdShow=1) Line 1019 + 0x20 bytes C++
winRTSimpleApp.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
winRTSimpleApp.exe!WinMainCRTStartup() Line 182 C
kernel32.dll!7506ed6c()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!76f9377b()
ntdll.dll!76f9374e()
How to solve this Exception?
|
|
|
|
|
By debugging the program, setting a break-point on this line and examining the var pHead->nBlockUse
Failing that, it's hard to say without seeing some actual code. Though from your stack trace it's happening during the action of delete, which has been called from a destructor.
Oh, & I see the editor munched all of your angle brackets too.
|
|
|
|
|
The assertion is about pHead->nBlockUse being an invalid Block. May be it's null?
Did you check the values of pHead & nBlockUse.
|
|
|
|
|
Or it's been deleted already...
|
|
|
|
|
In my function, Im assignning one Global CString to varaible declared in header file.But it shows unhandled exception error.
My code
CString sReceiceStr = _T("");
void CChatServerDlg::AddMsg( userinfo *udata, CString sIP)
{
sReceiceStr.Format("%s : %s : %s : %s : %s",udata->cSessionID ,udata->cTraineeName, udata->cPassword, udata->cClientServerMsg, udata->cInsName);
sTempassign = sReceiceStr;
It shows error in the above line. It shows error in CStringData GetData() function
Kindly help me.
Anu
|
|
|
|
|
Runtime exception or compile error?
You could try to use the _T macro for the format string - _T("%s : %s : %s : %s : %s")
|
|
|
|
|
Run Time error only.
But when i cahnge the calling method og AddMsg,no error is coming.
May be it smy mistake.Now its working.
Anu
|
|
|
|
|
have you check the string formation of variable after string.format ? try using watch
"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
|
|
|
|
|
Is udata non-NULL ? Have you stepped into Format() to see what throws the exception?
"One man's wage rise is another man's price increase." - Harold Wilson
"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
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
cann't ?
the method?
just like xaml in wp7
|
|
|
|
|
XAML is XML.
If you want to do it without using XAML and WPF, then you will need to write a lot of code to translate XML contents into UI elements.
My advice is not to try it because it will become overwhelming.
|
|
|
|
|
though i am agree with superman, however it is possible to make dialog box using xml, for that you have write your own custom class to read, handle and create the dialog box, its a complicated task however doable.
Let me know if you are interested, i can provide you some starting point
"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
|
|
|
|
|
Additionally to what the others said, depending on your actual needs (of which you didn't say much about), you could try writing a converter that can process an XML and generate a resource file (.rc) that can be processed by the resource compiler tool of VS to generate the dialog resource.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> If it doesn't matter, it's antimatter.<
|
|
|
|
|
And yet another addition to the answers above - some 3rd party cross platform windowing libraries use XML for describing their controls and layouts.
wxwidgets[^] has a working XML layout manager which is only minorly painful to use.
Cheers,
Ash
|
|
|
|
|
I'm doing massive testing on the program that I have been writing. This round of test is on fresh OS installations, to see if I'm missing anything.
I made a straight Win32 c++ project, and thought I was c++ redistribution file free. On my first Windows 7 test, the program said the MSVCR100.dll is missing. So I went back to the setup and deployment and added it.
Do I really need that file? I looked in the project and could not find any reference for it. Just curious.
|
|
|
|
|