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
E

eusto

@eusto
About
Posts
124
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CreateThread with more than one parameter
    E eusto

    You're right. I've reread my message and I sounded like such a Troll. There are situations in which using globals is not a bad idea. If you have something like: static const std::string application_name = "MyApplication"; passing it as a parameter is counter productive. So this is a situation in which you SHOULD use globals. However, most times, passing variables as arguments rather than using globals is a better design choice.

    C / C++ / MFC

  • CreateThread with more than one parameter
    E eusto

    Try avoiding using globals at all costs. There are very few situations in which you have to use global variables.

    C / C++ / MFC

  • regenerate wrappers for ocx library
    E eusto

    Thanks for the suggestion. Do you guys have any idea why removing does not work? Do you know where visual studio keeps this info? Thanks, Eugen

    COM question csharp visual-studio com

  • regenerate wrappers for ocx library
    E eusto

    How can i get Visual Studio to regenerate wrapper classes for an activex control? The control has updated but removing it from my project and adding it back does not generate the wrapper classes.

    COM question csharp visual-studio com

  • 0xC0000138: Ordinal Not Found
    E eusto

    Ok, at this point i'm almost sure this is a vendor issue because recompiling my application on the target machine gets rid of the problem. I'm now betting on a weird licence implementation issue. Thanks again for your help David. Regards, Eugen.

    C / C++ / MFC csharp visual-studio com help

  • 0xC0000138: Ordinal Not Found
    E eusto

    Thank you for your answer, Dependency Walker is cool, i didn't know about it. Unfortunately, there doesn't seem to be any missing stuff on that ocx. I've contacted the vendor and asked them about it Regards, Eugen

    C / C++ / MFC csharp visual-studio com help

  • 0xC0000138: Ordinal Not Found
    E eusto

    Hi, I'm getting "0xC0000138: Ordinal Not Found" when deploying an executable that uses an ActiveX control on another machine. I have no idea where to start debugging this problem. Basically, what happens is that the visual studio output window displays "Loaded (correct)path_to_ocx file" "First-chance exception at 0x7c964ed1 in project_name.exe: 0xC0000138: Ordinal Not Found." "project_name.exe: Unloaded 'path_to_ocx'" The problem is that this does not happen on the development machine Any kick in the right direction would be a godsend. Thanks

    C / C++ / MFC csharp visual-studio com help

  • Why C++ doesn't use the parent's class function? (C++ question)
    E eusto

    just put that line in your B implementation and it should work

    C / C++ / MFC question c++ help

  • Why C++ doesn't use the parent's class function? (C++ question)
    E eusto

    assignment operator works like the constructor when it comes to inheritance. You should read more about this. Also read about: using A<T>::operator =; which should be placed in the declaration of B

    C / C++ / MFC question c++ help

  • How to free LPTSTR varaibles
    E eusto

    LPTSTR variables are actually TCHAR* variables and you should work with them just as if you would work with TCHAR*. SO yes, you MUST free the allocated memory

    C / C++ / MFC performance tutorial

  • Getting response from aspx page
    E eusto

    use CHTTPFile and CHTTPConnection.

    C / C++ / MFC c++ tutorial

  • How to add copy and paste functionality for CListCtrl
    E eusto

    see CWnd::PreTranslateMessage and use GetKeyState for VK_CONTROL to see if Ctrl key is pressed

    C / C++ / MFC c++ windows-admin help tutorial question

  • Send request to open a http link
    E eusto

    1. '/' is not an escape character so your url should be "http://101.16.0.42/..." not http:////... 2. Depending on what that the script at that url does, what you're trying to do might or might not work. Read about the HTTP protocolhere in very simple terms, when using a http connection, you're making a request (that might contain some parameters - see GET/POST methods) and you receive a response - the html code that you see in your browser I hope this helps :)

    C / C++ / MFC c++ help tutorial question

  • Can Signnal'ed Event Generate a User Message
    E eusto

    If i understand your question, you should be able to intercept the event and generate the message yourself.

    C / C++ / MFC c++ design json question

  • CString convert error in Embedded Visual C++
    E eusto

    _itot does not accept a CString as parameter. you have to pass a TCHAR* as the second parameter. Why don't you use CString::Format?

    C / C++ / MFC c++ question hardware help tutorial

  • Send request to open a http link
    E eusto

    See CHttpConnection and the other classes that help you do this

    C / C++ / MFC c++ help tutorial question

  • enum in .c-file
    E eusto

    that's not standard C.You have to also declare a variable

    C / C++ / MFC question c++ help tutorial

  • RasDial() howto
    E eusto

    Thanks man. I'll try to read further on this matter and i'll post my answer here

    C / C++ / MFC sysadmin help question

  • RasDial() howto
    E eusto

    The difference is in the way i specify the connection to use. I'm telling RasDial to use the strPredefinedConnectionName (ex: a connection named MyDialup that appears in network connections) from the specified phone book. I've read that in MSDN also but i couldn't find the dialog for this setting. Do you think that the blue screen error is caused by the fact that my default user does not have a phonebook configured?

    C / C++ / MFC sysadmin help question

  • RasDial() howto
    E eusto

    Yes, it is not returning. My whole computer dies. The fix for me is to use the phone book feature of windows:

    RASDIALPARAMS rdParams;
    rdParams.dwSize = sizeof(RASDIALPARAMS);
    
    //set the szEntryName to an already defined connection 
    lstrcpy(rdParams.szEntryName,strPredefinedConnectionName);
    //not using these features because they're already defined in that connection
    rdParams.szPhoneNumber\[0\] = 0;
    rdParams.szPhoneNumber\[0\] = 0;
    rdParams.szUserName\[0\] = 0;
    rdParams.szPassword\[0\] = 0;
    rdParams.szCallbackNumber\[0\] = '\\0';
    rdParams.szDomain\[0\] = '\\0';
    
    HRASCONN hRasConn = NULL;
    dwRet = RasDial( NULL,
        "C:\\\\Documents and Settings\\\\"
            "All Users\\\\Application Data\\\\"
            "Microsoft\\\\Network\\\\Connections\\\\Pbk\\\\rasphone.pbk", //the system path to the phone book
            &rdParams, 
            NULL, 
            NULL, 
            &hRasConn 
            );
    

    It's a bit frustrating that i can't use this to work with "on the fly" dialup connections. The windows blue screen really scares me :sigh:

    C / C++ / MFC sysadmin help question
  • Login

  • Don't have an account? Register

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