CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: vad_sh

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    2,446

    Trim to BSTR or WCHAR* buffer

    If somebody have API function or code, which do trim(remove spaces) to BSTR or WCHAR* buffer send me please.

    Thanks.
  2. Thread: Encode URL

    by vad_sh
    Replies
    7
    Views
    1,867

    Re: Encode URL

    Maybe exist same other way do encode URL in VC,
    which solve this problem?
  3. Thread: Encode URL

    by vad_sh
    Replies
    7
    Views
    1,867

    Re: Encode URL

    I don't undestend:
    This problem impossible solve?
    Or this means that I don't need encode "?"
    But I tryed and see that this symbol do problems, it remove all data after
    symbol "?"

    ...
  4. Thread: Encode URL

    by vad_sh
    Replies
    7
    Views
    1,867

    Re: Encode URL

    I try it also with flag 0,
    but I hava same problem.

    There is my test code:

    char lpszBuffer[100];
    BOOL res;
    unsigned long* i;
    i = new (unsigned long);
    *i = 255;
  5. Thread: Encode URL

    by vad_sh
    Replies
    7
    Views
    1,867

    Encode URL

    I have following problem:
    I must encode URL parameters.
    I use function InternetCanonicalizeUrl(), but I detect that
    this function is not Encode characters "?" + "#".

    I must...
  6. Thread: MSMQ Security

    by vad_sh
    Replies
    0
    Views
    407

    MSMQ Security

    I have following problem:

    I must create MSMQ queue, with all permissions for user
    Everyone.

    When I create queue , by use method Create() of mqoa.dll
    created queue set all permissions for...
  7. Replies
    0
    Views
    627

    MSMQ queue Security

    I have following problem:

    I must create MSMQ queue, with all permissions for user
    Everyone.

    When I create queue , by use method Create() of mqoa.dll
    created queue set all permissions for...
  8. Replies
    0
    Views
    964

    Convert variant to array of bytes

    I have following problem:
    In my application in VB I receive out parameter from Activex DLL written in ATL.
    ATL dll return variant, which store in BSTR binary information.

    I must convert received...
  9. Replies
    1
    Views
    612

    Sample code mail by SMTP protocol, in MFC

    I need samples in MFC of sending mail by SMTP protocol.
    I need following abilities of the maining : support atachment,support meny addressers sent.

    Where I can find this samples.
  10. Replies
    0
    Views
    706

    ATL Events with free threaded marshalling

    I have following problem :

    I have ATL object, which support Free Threading Model and Free Treaded
    Marshaling.
    I want send events from this ATL object.
    But my client recive event...
  11. Replies
    3
    Views
    704

    Re: Atl Events with BSTR

    What you Email Address?

    I shall attach my project files.

    Thanks
  12. Replies
    3
    Views
    704

    Atl Events with BSTR

    I have following problem:

    I have ATL object with connection point that fire event:

    This is definition event in idl file.
    [id(2), helpstring("method RequestComplette")] HRESULT...
  13. Replies
    5
    Views
    852

    Re: Enumaration in ATL

    This don't help.See pleas my .idl file.
    Maybe you have idea?

    #include <olectl.h>

    // enum.idl : IDL source for enum.dll
    //

    // This file will be processed by the MIDL tool to
    // produce...
  14. Replies
    5
    Views
    852

    Re: Enumaration in ATL

    This don't help , i insert in folowing .idl file:

    typedef enum tagDAYSOFWEEK
    {
    Monday = 1,
    Tuesday = 2,
    Wednesday = 3,
    Thursday = 4,
    Friday = 5,
    Saturday = 6,
  15. Replies
    5
    Views
    852

    Enumaration in ATL

    I have following problem:

    I want do enumeration definition in ATL object(dll).
    I need user see this enumeration in client.
    For example in VisualBasic on enter class name display list of...
  16. Replies
    1
    Views
    597

    Fire Event Asynchronly

    I have following problem:
    1.I create ATL object with event and connection point.
    2.I want fire event asynchronly.
    That mean from other thread.

    I don't know how i must to do it,but I do it
    in...
  17. Replies
    1
    Views
    1,362

    Fire Event from ActiveX Dll (ATL)

    I must fire event from ActiveX dll written in ATL.
    How I do it if this possible?
    If you have address example with this problem ,take me.

    Thanks.
  18. Thread: ATL Thread

    by vad_sh
    Replies
    2
    Views
    2,580

    Re: ATL Thread

    I must create thread not as function , but as class that can recive
    messages . Can I do it with function CreateThread()?
  19. Thread: ATL Thread

    by vad_sh
    Replies
    2
    Views
    2,580

    ATL Thread

    How I can create thread in ATL object without using MFC.

    I need create not function as thread , I need create thread that can recive
    message but to be invisible.(like to CWinThread in MFC...
  20. Replies
    1
    Views
    656

    Parameter object to ATL method

    How I can pass parameter object into ActiveX Dll (in Atl).
    For example I create Activex dll in VB and want pass this object to other created ActiveX Dll (written in ATL).

    What data types I...
  21. Thread: CHTTPFile

    by vad_sh
    Replies
    0
    Views
    736

    CHTTPFile

    I want use CHttpFile class.
    I want get file by http.

    What format I must write in method AddRequestHeaders to pass patemeters
    whit "Get" and "Post".

    For example i must pass form with two...
  22. Thread: CHTTPFile Class

    by vad_sh
    Replies
    0
    Views
    499

    CHTTPFile Class

    I want use CHTTPFile Class.
    And I want get same file from internet server.
    I must send to this page paremeter.

    What I must write in metodAddRequestHeaders for pass parameters to page
    ...
  23. Thread: CHTTPFile Class

    by vad_sh
    Replies
    0
    Views
    525

    CHTTPFile Class

    I want use CHTTPFile Class.
    And I want get same file from internet server.
    I must send to this page paremeter.

    What I must write in metodAddRequestHeaders for pass parameters to page
    ...
  24. Replies
    0
    Views
    565

    Internet Transfer File Cintrol (Inet)

    I wand delete file on remote computer.
    I use microsoft Internet Transfer Control.
    I use following code :

    Inet1.URL = "FTP://62.0.31.141"

    Inet1.UserName = "XXX"
    Inet1.Password =...
  25. Replies
    1
    Views
    545

    Use external dll .

    I try to call from VB the following function written in VC dll:

    int MyBeep (long i)
    {
    MessageBeep((WORD) i);
    return 1;
    }

    I use the following code in VB:
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured