CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    5

    Obtaining the calling application name from within a DLL?

    I've got a DLL which is used between 7 applications which provides the main shared functionality between these applications (eg setting user names, passwords etc), however I have a bug somewhere in the code which is causing certain data to get reset.

    I would like to be able from the DLL to find out which application has called it and if anyone can supply me the code to do this it would be much appreciated

    Thanks in advance

    Andy

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Obtaining the calling application name from within a DLL?

    Regards,
    Ramkrishna Pawar

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Obtaining the calling application name from within a DLL?

    Seems this answer is very popular today...
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  4. #4
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Obtaining the calling application name from within a DLL?

    Quote Originally Posted by cilu
    Seems this answer is very popular today...
    ... Or the question ?
    Regards,
    Ramkrishna Pawar

  5. #5
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Obtaining the calling application name from within a DLL?

    The question is not necessary the same, but the answer for these question is identical...
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured