|
Let me know the details. I'll try help you.
Have a great day ahead!
Regards,
Sohail Kadiwala
(My Blog - http://blogs.wdevs.com/sohail/[^])
modified 21-Apr-21 21:01pm.
|
|
|
|
|
I can ,but how i help you.
I'm chinese, email me(wlwlxj@163.com) when you have troubles.
ddddddddddddddddddddd
|
|
|
|
|
THX
----------------------------
Jerry yu
Chinese
programming fans
|
|
|
|
|
use W2T
"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
|
|
|
|
|
W2A
ddddddddddddddddddddd
|
|
|
|
|
I have a class written in WTL 7.0 but I want to use it in my MFC application.How can i do that. The class use WTL CString but I think it isn't recognized in MFC
I tried to add the class into my project but I got the following code when I conpiled:
fatal error C1010: unexpected end of file while looking for precompiled header directive
Can you help me?
Thanks a lot!
|
|
|
|
|
That depends on what WTL features it uses. WTL::CString is a clone of MFC::CString so that won't be a problem to drop it into an MFC project. If it uses windowing classes, it will depend on whether it's a stand-alone control (like say CHyperLink ).
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | NEW~! CP SearchBar v3.0 | C++ Forum FAQ
There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.
|
|
|
|
|
hi all,
i want to pass a struct parameter ,but i don't known what data type i should use for my custom struct,thank you!
Any help would be greatly appreciated!
|
|
|
|
|
I think SAFEARRAY can be used here.
Have a great day ahead!
Regards,
Sohail Kadiwala
(My Blog - http://blogs.wdevs.com/sohail/[^])
modified 21-Apr-21 21:01pm.
|
|
|
|
|
hi Sohail Kadiwala,
thanks for your help,the problem has been solve d, i'm thank you very very much!
|
|
|
|
|
you can convert pointer to long ,and convert to former pointer after passed
ddddddddddddddddddddd
|
|
|
|
|
A new Java-like framework has just been released by SwingC.com.
SwingC is a great UI framework that can be used in place of MFC, or any other GUI framework. It has a java-like syntax, and works flawlessly.
|
|
|
|
|
|
Al Baraki wrote: A new Java-like framework has just been released by SwingC.com.
HeartFriend wrote: where can i get it?
|
|
|
|
|
<quote>
How You Can Use SwingC.
You have, subject to the terms and conditions of this Agreement, a non-exclusive, non-transferable personal license to use the Software for your own Non-Commercial Purposes.
"Non-Commercial Purposes" means use of the Software by an individual for publishing that does not directly or indirectly support any commercial efforts. Use of the Software for any purpose by any non-individual entity, including but not limited to any commercial entity, corporation, non-profit organization, educational institution, governmental body or group, is not permitted under this Agreement. If you wish to use this software in commercial applications, we offer a commercial license for that purpose.
Agnitech reserves the right to determine whether your use is for a Non-Commercial Purpose. Agnitech owns all rights, title and interest in and to the Software, including all intellectual property rights, and reserves all rights to the Software not expressly granted in this Agreement.
|
|
|
|
|
I have created ATL Composite control in VC++, it is running fine from Activex control test container. I have created a VB client program for the control it is running fine if i press F5 inside VB. but when I generated a .exe file of the vb program it generates an assertion.
assertion details:
if (m_spInPlaceSite->GetWindow(&hwndParent) == S_OK)
{
m_spInPlaceSite->GetWindowContext(&spInPlaceFrame,
&spInPlaceUIWindow, &rcPos, &rcClip, &frameInfo);
if (!m_bWndLess)
{
if (m_hWndCD)
{
ShowWindow(m_hWndCD, SW_SHOW);
if (!::IsChild(m_hWndCD, ::GetFocus()))
::SetFocus(m_hWndCD);
}
else
{
HWND h = CreateControlWindow(hwndParent, rcPos);
</code><FONT color=red>ATLASSERT(h != NULL); </font><code>
ATLASSERT(h == m_hWndCD);
h;
}
}
pIPO->SetObjectRects(&rcPos, &rcClip);
}
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: D:\Work\vbtemp5\Debug\Project1.exe
File: c:\program files\microsoft visual studio\vc98\atl\include\atlctl.h
Line: 842
Expression: h != 0
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
|
|
|
|
|
Hi,
ASSERTS are part of Debug builds. Are you mixing Debug and Release (from VB's perspective) versions?
Jeff
|
|
|
|
|
though it doesn't been covered.
|
|
|
|
|
|
i use AtlAxCreateControlEx to create a flash activex control and attach it to m_wndChild. I can receive the IUnknown of the created control, but how can i get the hwnd of this control?
code like this:
AtlAxCreateControlEx(
wszClsid,
m_wndChild.m_hWnd,
NULL,
NULL,
&m_spControl,
Flash::DIID__IShockwaveFlashEvents,
(IUnknown*)(IDispEventImpl<1, CFlashWindow, &Flash::DIID__IShockwaveFlashEvents, &Flash::LIBID_Flash, 1, 0>*)this
);
-- modified at 3:41 Monday 10th October, 2005
|
|
|
|
|
hi
i m new to the atl i want to know would i need to install extra software for the atl programming in visual c++6 or 7. and if its documnetation or help is present in the msdn2004. like mfc help present is msdn
ddd
-- modified at 4:11 Friday 7th October, 2005
|
|
|
|
|
tasleem143 wrote:
i m new to the atl i want to know would i need to install extra software for the atl programming in visual c++6 or 7.
No.
tasleem143 wrote:
and if its documnetation or help is present in the msdn2004. like mfc help present is msdn
Yes.
Kevin
|
|
|
|
|
Anyone know of a good book covering Boost?
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
|
Hello,
I just switsched from C++ 6.0 to VS .NET, and some code that compiled before does not compile any more:
CString cNum = "123";
unsigned short* ss;
DWORD dwRet = (DWORD)wcstod(cNum.GetBuffer(0),&ss);
error C2664: 'wcstod': conversion of parameter 1 von 'ATL::CSimpleStringT<basetype,t_bmfcdll>::PXSTR' into 'const wchar_t *' impossible
What do I have to do? I do NOT want to use the .NET framework nor ATL, only MFC? I suppose I have to switch some compiler parameters?
Thanks a lot!
Martin
|
|
|
|