Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Romiks

@Romiks
About
Posts
30
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Subscribe to HTMLInputTextElementEvents??? [modified]
    R Romiks

    Thanks, I found the error.

    COM question

  • Subscribe to HTMLInputTextElementEvents??? [modified]
    R Romiks

    Hi all, I am trying to subscribe for events like this:

    CComPtr<IDispatch> spDisp;
    HRESULT hr = m_spWebBrowser2->get_Document(&spDisp);
    if (SUCCEEDED(hr) && spDisp)
    {
    CComQIPtr<IHTMLDocument2, &IID_IHTMLDocument2> spHTML(spDisp);
    if (spHTML)
    {
    CComQIPtr<IHTMLElement, &IID_IHTMLElement> spElem;
    hr=spHTML->get_body(&spElem);
    if (SUCCEEDED(hr))
    {
    IConnectionPointContainer* pCPC = NULL;
    hr = spElem->QueryInterface(IID_IConnectionPointContainer, (void**)&pCPC);
    if (SUCCEEDED(hr))
    {
    IConnectionPoint* pCP = NULL;
    hr = pCPC->FindConnectionPoint(DIID_HTMLInputTextElementEvents2, &pCP);
    if (SUCCEEDED(hr))
    {
    ....
    }
    }
    }
    }
    }

    FindConnectionPoint fails. Please show me where I am wrong or how else I can subscribe? :(

    modified on Monday, August 4, 2008 7:38 AM

    COM question

  • Return map&lt;cstring,&gt; from com atl????
    R Romiks

    Thanks for help, I found the following article on MSDN about collections http://msdn.microsoft.com/en-us/library/3stwxh95(VS.71).aspx and tried. All works fine.

    ATL / WTL / STL question c++ com

  • Return map&lt;cstring,&gt; from com atl????
    R Romiks

    Hi all, I've created simple ATLproject from VS2008 and added a simple object. The object should return the map<> collection through interface method. How can I do this? Maybe I should use SAFEARRAY? :^) If it is possible please point me to the article about using this.

    ATL / WTL / STL question c++ com

  • WCF exeption??????
    R Romiks

    Ok, I'll try to do this. If it's possibly, please send me to losqut@yandex.ru

    WPF csharp wcf help wpf game-dev

  • WCF exeption??????
    R Romiks

    Brian thanks for help. Here is the cut of my server app.config file:

    <bindings>
    <wsDualHttpBinding>
    <binding name="WSDualHttpBinding_IPref">
    <security mode="None"/>
    </binding>
    </wsDualHttpBinding>
    </bindings>

    Here is is the cut of my client app.config file:

       <bindings>
            <wsDualHttpBinding>
                <binding name="WSDualHttpBinding\_IPref" closeTimeout="00:01:00"
                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                    maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                    messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
                    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                    <reliableSession ordered="true" inactivityTimeout="00:10:00" />
                    <security mode="Message">
                        <message clientCredentialType="Windows" negotiateServiceCredential="true"
                            algorithmSuite="Default" />
                    </security>
                </binding>
            </wsDualHttpBinding>
        </bindings>
    

    If I change

    <security mode="Message">
    <message clientCredentialType="Windows" negotiateServiceCredential="true"
    algorithmSuite="Default" />
    </security>

    to

    <security mode="None">
    </security>

    It fails with something like this: "Operation of opening doesn't complete in the course of defined period 00:01:00" :( even if the server and the client are running on my machine.

    WPF csharp wcf help wpf game-dev

  • WCF exeption??????
    R Romiks

    Hi all, I am trying to build a game based on the WPF and WCF. Client and server work fine on my machine(Vista 64), they are connected successful. But when I am trying to run server on the LAN machine(WinXp) and client on my machine(Vista 64), after calling service metod from client application I get exception: "Fail agreement of mode security SOAP from "http://192.168.0.55:8080/Pf\\" for object "http://192.168.0.55:8080/Pf\\"."???? Help please to resolve the problem.

    WPF csharp wcf help wpf game-dev

  • Convert TIFF to bmp
    R Romiks

    Now I need to show TIFF, but I have another problem with scalling the image. Is it possable to scale the image by libtiff? My TIFF is width:13700; height:9300.

    C / C++ / MFC tutorial question

  • Convert TIFF to bmp
    R Romiks

    Many thanks :), I'll try it.

    but, there are plenty of libraries out there that can do all of for you.

    I need it for my cross-platform application, which uses wxWidgets library.

    C / C++ / MFC tutorial question

  • Convert TIFF to bmp
    R Romiks

    Hi all, I need to convert tiff file to bmp file. I found libtiff library. Maybe anybody using this library? If it possable, give me some ideas how to do that? (TIFF encoded to CMYK)

    C / C++ / MFC tutorial question

  • CListBox how to set single selection?
    R Romiks

    You are quite right, thanks I'll try to find another way.

    C / C++ / MFC question tutorial learning

  • CListBox how to set single selection?
    R Romiks

    Ok, I did single select ListBox and trying to add styles like this: m_listFiles.ModifyStyle( 0, LBS_EXTENDEDSEL | LBS_MULTIPLESEL ); m_listFiles.UpdateWindow(); SPY shows me LBS_EXTENDEDSEL and LBS_MULTIPLESEL styles present, but actually the list is single select :confused:

    C / C++ / MFC question tutorial learning

  • CListBox how to set single selection?
    R Romiks

    This one doesn't work m_listFiles.ModifyStyle( 0, LBS_EXTENDEDSEL | LBS_MULTIPLESEL ); :(

    C / C++ / MFC question tutorial learning

  • CListBox how to set single selection?
    R Romiks

    Hi all, I have CListBox with selection set to Extended in resource editor. In my prog I need to set selection to single. Please point me, how can I do this?

    C / C++ / MFC question tutorial learning

  • CFileDialog how to select file
    R Romiks

    Hi all, I need to select only exact file from directory. For example file.ttt. I am trying the following: CFileDialog fileDialog( TRUE, NULL, "file.ttt", NULL, "file.ttt" ); But there is no visible files. Please help me to resolve the problem.:(

    C / C++ / MFC help tutorial

  • CToolBar disable/enable buttons
    R Romiks

    If you have working dialog based project, could you please send me? my mail:losqut@yandex.ru As for me, buttons are not greyed :(

    C / C++ / MFC com help tutorial

  • CToolBar disable/enable buttons
    R Romiks

    Ok... I have dialog based MFC application ;) There is no ON_UPDATE_COMMAND_UI command :(

    C / C++ / MFC com help tutorial

  • How to do transparent color in the CBitmapButton? [modified]
    R Romiks

    Hi all, I have created the button in my project like this: CBitmapButton m_mainSettings; DDX_Control(pDX, IDC_MAIN_SETTINGS, m_mainSettings); m_mainSettings.LoadBitmaps(IDB_BITMAP1); m_mainSettings.SizeToContent(); All works good, except greyed frame arround bitmap. So I need to add a transparent color for the bitmap. Please help me to resolve the problem. -- modified at 14:38 Sunday 17th June, 2007

    C / C++ / MFC help graphics tutorial question

  • CToolBar disable/enable buttons
    R Romiks

    Hi Mark, If I ommited the last parameter, buttons are not disabled. :(

    C / C++ / MFC com help tutorial

  • CToolBar disable/enable buttons
    R Romiks

    Mark, many thanks for help. I have tried to omit the last parameter, but it doesn't work :doh:. I will try to use CButton instead of tool bar.

    C / C++ / MFC com help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups