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
Y

yoti11

@yoti11
About
Posts
16
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • OCS 2007, WMI
    Y yoti11

    Hello, I'm writing an application to plugin into OCS server in order to receive SIP events. When I create a ManagmentClass to MSFT_SIPApplicationSetting class it failed. Does anyone know what can be the reason for it? When I tried to do the same with Win32_Environment it passed OK. Where can I check if this class is configured? And if not how can I configure it? Thanks ahead,

    C# question sysadmin

  • calling c++ function from c.
    Y yoti11

    Hi, Thank for your reply. I already use variables in c stale.

    C / C++ / MFC c++ question

  • calling c++ function from c.
    Y yoti11

    Hello, I've a program written in c and now I want to add functionality that already written in c++. Can I call c++ functions from c? Does anyone have article about it? Thank you.

    C / C++ / MFC c++ question

  • Virtual Memory
    Y yoti11

    Hi, Does anyone knowes how can I obtain the virtual memory size of the process I'm running in? Thanks,

    C / C++ / MFC question performance

  • Execute managed function from unmanaged
    Y yoti11

    I still get the error Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'D:\Dev\Test_TA.exe'. Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x79f1c189, on thread 0x910. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. This error ocured when the function pointer in the unmanaged code call to the function in the managed code. In the managed code I uesd GCHandle::Aloc(this). thanks

    Managed C++/CLI help com dotnet data-structures question

  • Execute managed function from unmanaged
    Y yoti11

    Hi, Thanks for your reply. I already try that before, but it my case the program structure is little different. The problem is that the program has 2 phases: 1. Managed class creates a delegate and sends it to unmanaged class which assigns it to a function pointer member. 2. The unmanaged class listens to events from other place and when a specific event occurred then the unmanaged class should call the function in the managed class. (From the first phase) Maybe there is no different between cases but I still get this error. Thank you,

    Managed C++/CLI help com dotnet data-structures question

  • Execute managed function from unmanaged
    Y yoti11

    Hello, I’m trying to send delegate to unmanaged code, so when the unmanaged class will catch an event it will execute the proper function in the managed class. I used GCHandle::Alloc() to prevent from the GC to change the position on the heap and Marshel::GetFunctionPointerForDelegate()to convert the delegate to unmanaged function pointer. The main problem is that an error occurred while I tries to execute the function pointer in the unmanage code to the managed code I get that error. “ Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'D:\Dev\Test_TA.exe'. Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x79f1c189, on thread 0x910. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. “ Did anyone encounter this problem? Is it a problem with the Marshel::GetFunctionPointerForDelegate()? Or with the GC? Thanks,

    Managed C++/CLI help com dotnet data-structures question

  • Raise events from unmanaged to managed
    Y yoti11

    Thanks for your reply, I've a delegate instance that lives all the time and I sent it to the unmanaged code using Marshal.GetFunctionPointerForDelegate. But I think there is a problem with the GC since it can be reallocated the delegate on the heap. How can it be handle? Thanks

    C / C++ / MFC question help

  • Raise events from unmanaged to managed
    Y yoti11

    Hi, I tried to raise an event from unmanaged code class to a class in managed code. I passed a delegate pointer (using Marshal) to the unmanaged class but I got an error when the unmanaged class tried to execute the function. I tried to use pin_ptr to the delegate pointer with no results. How can I raise event from unmanaged code class to a managed code class using delegate (managed) and function pointer(unmanaged)? Thanks

    C / C++ / MFC question help

  • NT Service - working directory
    Y yoti11

    Hello, How can change the working directory of NT service from WINNT\system32 to the exe directory (C++ unmanaged)? Thanks,

    C / C++ / MFC c++ question

  • Unmanaged C++, windows service
    Y yoti11

    Hello, Writing windows service in c++.Net 2005 it’s clear, but I’ve problems when I Want to write a windows service in C++.Net 2005 but with unmanaged code. I’ll appreciate if anyone can give me a clue/hint. Thanks

    .NET (Core and Framework) csharp c++

  • Unmanaged C++, windows service
    Y yoti11

    Hello, Writing windows service in c++.Net 2005 it’s clear, but I’ve problems when I Want to write a windows service in C++.Net 2005 but with unmanaged code. I’ll appreciate if anyone can give me a clue/hint. Thanks

    C / C++ / MFC csharp c++

  • c++.net and vc6 atl
    Y yoti11

    Hello, How can I use com written in vc6 from c++.net managed code? Thanks,

    C / C++ / MFC c++ question csharp com

  • include
    Y yoti11

    Hello, I wrote a com object in C++.ATL. I did a small header file for general definitions. When I include that file in other classes I got error such as missing ; etc example of the header file: #ifndef __LIC_T_H #define __LIC_T_H #include using namespace std; #define FILE_BUFFER_SIZE 100 #define ENCRYPT_ELEMENT_NUM 4 struct Lic_t { }; #endif thanks

    ATL / WTL / STL c++ com help tutorial lounge

  • C#-Secured XML
    Y yoti11

    Hello, I tried a small example from msdn of encrypt/decrypt elements in XML file. When I executes the Decrypt there is an exception "Unable to retrieve the decryption key." even so I use the same key name. Platform: .Net 2005, c#. The algorithm is AES, Asymmetric. The example from the msdn. Than you.

    C# csharp algorithms xml tutorial

  • Platform
    Y yoti11

    Hello, How can I check on which paltform the program is running? (Such as: windows 2003, NT, 98 etc). Thanks. -- modified at 9:34 Monday 8th May, 2006

    C / C++ / MFC 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