User Profile

Collapse

Profile Sidebar

Collapse
peppebck
peppebck
Last Activity: Feb 19 '08, 07:13 PM
Joined: Sep 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • peppebck
    replied to unmanaged dll calls and locks managed dll
    in C
    Weak, the code is working, probably is not that smart but LoadLibrary works, it loads the handle and I can use it to GetProcAddress and so on. (I've also changed in multy and removed the L)

    Arunmib
    The managed dll is only called by the unamanged dll.
    To be sure I've done something else:
    I've built another application (managed exe) which simply calls and release the dll.
    Nothing changed using the appdomains,...
    See more | Go to post

    Leave a comment:


  • peppebck
    replied to unmanaged dll calls and locks managed dll
    in .NET
    Hi Plater
    Thanks for you answer.

    First of all I missed an important information. There's a cad Program (NX) which executes the unmanaged dll (which calls the managed)

    1) The file is locked by the cad. Restarting the cad the file comes deletable.the unmanaged dll is not locked.

    2) FreeLibrary(pp) ; was a copy\paste error, in the code is FreeLibrary(mod ule); The unmanaged dll frees the library....
    See more | Go to post

    Leave a comment:


  • peppebck
    replied to unmanaged dll calls and locks managed dll
    in C
    Hi Arunmib
    Thanks for you answer.

    First of all I missed an important information. There's a cad Program (NX) which executes the unmanaged dll (which calls the managed)

    1) When I say "dll locked and can't modify it" I mean that dll file is locked and I can't delete it or overwrite with the new version. I'm able to access to "myproc". The file is locked by the cad. Restarting the cad the file...
    See more | Go to post

    Leave a comment:


  • peppebck
    started a topic unmanaged dll calls and locks managed dll
    in .NET

    unmanaged dll calls and locks managed dll

    Hi everybody.
    I'm trying to call a managed dll from an unmanaged dll.
    Everything is working fine except for the fact that after the execution the managed dll remains locked and I can't modify it. This is a big problem for what I've got to do.
    what happens int the managed seems to be uninfluent.
    here's a piece of my code in the unmanaged (calling) dll, :

    unsigned __stdcall dlg2( void *ch )
    {
    ...
    See more | Go to post

  • peppebck
    started a topic unmanaged dll calls and locks managed dll
    in C

    unmanaged dll calls and locks managed dll

    Hi everybody.
    I'm trying to call a managed dll from an unmanaged dll.
    Everything is working fine except for the fact that after the execution the managed dll remains locked and I can't modify it. This is a big problem for what I've got to do.
    what happens int the managed seems to be uninfluent.
    here's a piece of my code in the unmanaged (calling) dll, :
    [code=cpp]
    unsigned __stdcall dlg2( void *ch )
    ...
    See more | Go to post
    Last edited by sicarie; Sep 25 '07, 03:46 PM. Reason: Code tags
No activity results to display
Show More
Working...