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
D

Dudi Avramov

@Dudi Avramov
About
Posts
147
Topics
33
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is assignment to int atomic
    D Dudi Avramov

    Is it possible that the mov assembly instruction is not atomic?

    C / C++ / MFC csharp c++ visual-studio question

  • Is assignment to int atomic
    D Dudi Avramov

    Hi, i work in c++ using Visual Studio 2005. I'd like to know if the assignment operation to int (like int i; i=5; ) is atomic. If yes, can you show me proof for that? It is the same in x64 OS?

    C / C++ / MFC csharp c++ visual-studio question

  • Explicitly free byte array
    D Dudi Avramov

    How do i explicitly free byte array?

    C# question data-structures

  • Using the .Net image machanism without extra copy of the source image
    D Dudi Avramov

    Hi, my application grabs an image from a camera. The image might be quite big such as 50MB. The image is represented as a bitmap image with BITMAPINFO as the header and the image data right after that. I have a COM object (writen in native code) which my WPF application uses that holds the image. This COM object can return byte* as the pointer to the image. Is there any way to use the .NET image component or other .NET component that will get just the pointer to my image (byte*) and without copying the whole image to .NET component? Thanks, Dudi

    .NET (Core and Framework) csharp c++ wpf com graphics

  • Getting events from COM object
    D Dudi Avramov

    Hi, i have a COM dll with a COM object that sends events. The COM was written in ATL VC6. in VB6 i get the events by using "Dim WithEvent ..." . I don't know how to do it with C#. The com object is ComApplication and the event is OnIpresult(ComIpResult* pIR). Can you give me the sample code according to my com event? Thanks, Dudi

    C# csharp c++ com tutorial

  • I need stlport_vc6.lib
    D Dudi Avramov

    Can anyone send me stlport_vc6.lib to dudiav@hotmail.com? Thanks, Dudi

    C / C++ / MFC com question

  • Convert pdf to tiff
    D Dudi Avramov

    Does anyone know how to convert pdf to tiff via Acrobat 5 writer automation? I need sources. Thanks, Dudi

    C / C++ / MFC testing tools tutorial question

  • Convert pdf to tiff
    D Dudi Avramov

    Does anyone know how to convert pdf to tiff via Acrobat 5 writer automation? I need sources. Thanks, Dudi

    COM testing tools tutorial question

  • Hooking service is not running automatically after upgrading to XP SP2
    D Dudi Avramov

    I wrote a service that loads a dll for global hook purpose using SetWindowsHookEx function with WH_KEYBOARD_LL parameter. It is defined to run automatically on system startup and to interact with the desktop, as well. It works fine till I upgraded XP to XP SP2. The service starts successfully in manual mode but not automatically on system startup. The event viewer reports the errors event id 7009 and 7000 from the Service Control Manager. Event ID: 7009 Source: Service Control Manager Description: Timeout (120000 milliseconds) waiting for service to connect. Event ID: 7000 Source: Service Control Manager Description: The Certificate Authority service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion. After commented out the hooking function I saw that the services started on system startup. Is there anything that you know regarding to global hooking on XP SP2 that prevent from my service to run on system startup? Thanks, Dudi

    C / C++ / MFC cryptography help question

  • Service is not automatic running after upgrade to XP SP2
    D Dudi Avramov

    Well, i didn't mention that my service loads a dll for system-wide keyboard hooking (using SetWindowsHookEx function with WH_KEYBOARD_LL parameter). I commented out the hooking and the service started on system startup. It seems that there is a problem to hook from service on XP SP2 till the you login. Do you know something about that? Dudi

    System Admin help question

  • Service is not automatic running after upgrade to XP SP2
    D Dudi Avramov

    Hi, i wrote a service process that configured to be automatic on system startup. It worked fine till i upgraded my XP to SP2. It won't start on automatic startup, but manualy it will start. The event viewer report for error event-id 7009 (Timeout (name milliseconds) waiting for service to connect.). Does anyone know how can i solve that problem? Thanks, Dudi

    System Admin help question

  • Printer Monitoring
    D Dudi Avramov

    Try Empower Your Printing with Custom Print Processors

    C / C++ / MFC c++ sysadmin question

  • how can i check whether notepad.exe is running in taskmanager or not
    D Dudi Avramov

    Try How to get handle to any running process by its name

    C / C++ / MFC help question

  • STL or <afxtempl.h>
    D Dudi Avramov

    Read You may experience an access violation when you access an STL object through a pointer or reference in a different DLL or EXE and How to export an instantiation of a Standard Template Library (STL) class and a class that contains a data member that is an STL object

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

  • Who can i get CPU preformance in run time ?
    D Dudi Avramov

    Use this

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

  • CoCreateInstance
    D Dudi Avramov

    I think that you didn't understand me. CoCreateInstance returns HRESULT. you defined hr variable as HRESULT. Typing "hr,hr" in the Debug Watch window shows the error description.

    C / C++ / MFC question com testing beta-testing help

  • CoCreateInstance
    D Dudi Avramov

    In the Debug Watch window type "hr,hr" and you will see the description of error. Nevertheless, don't forget to call CoInitialize(NULL); Dudi

    C / C++ / MFC question com testing beta-testing help

  • How to know the serial number
    D Dudi Avramov

    For cpu-id look for the assembly function cpuid.

    C / C++ / MFC help tutorial question

  • Firing a VARIANT type from ATL project
    D Dudi Avramov

    It is a known bug. Take a look at article Q264985 and Q250847.

    ATL / WTL / STL c++ help question

  • Firing a VARIANT type from ATL project
    D Dudi Avramov

    Hi there, i try to fire a VARIANT from ATL object. So, the ATL wizard creates a xxxCP.h file that implements the Fire_XXX function. However, the wizard writes wrong statement: pvars[0] = &Data; since pvars is CComVariant type then the operator '=' for bool is called instead of the operator '=' for VARIANT. I needed to change the code to 'pvars[0] = Data;' (without the '&'). Changing the xxxCP.h file is dangerous since the ATL wizard can overwrite it. Can anyone help me with this?

    ATL / WTL / STL c++ 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