Can Access Outside Dll's Friend Functions On Own Class

Can Access Outside Dll's Friend Functions On Own Class?
For Example:
System.Web.Util's SecUtility ?SecUtility is : internal static class SecUtility

See the answer by nobugz to this
thread.

Similar Messages

  • I cant access my facebook through my iphone and ipad but i can access it through my friend's laptop

    i cant access my facebook through my iphone and ipad but i can access it through my friend's laptop

    Facebook has a feature that requires you to authorise a new device, which could be causing an issue. Check your account settings when you're signed in on the computer, and see if it has anything along the lines of 'App Passwords'

  • Regarding "Friend Function" in Object oriented Abap.

    Hi! Every Body,
    I need to know about this friend function in ooabap.
    1. Clear Definition.
    2. i need program too.
    3. What is the use Of friend function?
    4. wht is the difference from java and ooabap using this function.
    if any body replies for my query , i really thank full to u.
    regards,
    M.swapna.
    [email protected]

    Hi Swapna,
    Usually private components of a class can be accessed by methods of that class only..Sometimes, it is necessary for two classes to work so close to each other that one class needs to access the private attributes of the other.
    In that case, you can make the former class, a friend of the latter class.
    Suppose class A is made as a friend of class B.
    Then A and its subclasses can access the private or protected components of the class B.
    But they cannot access the private or protected components of subclasses of class B.
    You can refer this link for more help.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/693ec8185011d5969b00a0c94260a5/content.htm
    Award points if found useful.
    Regards,
    SP.

  • Can't use Find My Friends on iPhone due to Apple ID not being verified. Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!

    Can't use Find My Friends on iPhone due to Apple ID not being verified.
    Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!
    So my options are:
    Create a new Apple ID, use that and lose all the apps I've purhcased with it (a fairly substantial amount)
    Somehow Migrate these purchases over to a new Apple ID
    Apple let me change the primary ID for the account
    Anyone else ran into this before?
    I've tried accessing the mail through a mail application using the correct server information, and trying both the old 6 character password and the one I had to change it too after they updated the security guidelines - neither work.
    Help would be greatly appreciated as I can see more services down the line not working without the address being verified!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You should not need to verify the old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Trying to access my 851w from outside my lan, but can access inside fine

    Hi,
    I purchased a 851w to use as my home router and to learn more about the cisco IOS. I have been spending some time studying for CCENT/CCNA and so far I have enjoyed learning as I go. However, I am having problems accessing this router from a remote location via ssh. I can access it just fine from my lan, but not outside it from another location. Currently, I am not using this router for internet access or anything else other than learning about the IOS, and it is connected to a basic dlink wireless router dir-615. I have port forwarding setup on the dlink that any traffic coming in on port 22 is directed to the 851w at 192.168.0.150. I also have the 851w connected with a crossover cable to a switch that is connected to the dlink router.
    Like I said, I can connect just fine from my lan, but can't connect from outside. I have tried a few different things but nothing works. I also use Teraterm to connect, but have tried Putty too. I also use ddns to access it, but I have also tried the wan ip address of the dlink with no luck.
    Could someone please take a look at my very basic running config and explain what I might need to do different?
    Thanks in advance.
    Sean

    Hi and thanks a bunch for your quick response.
    No, I can't ping anything other than my main router which I have setup as the gateway so why is that? For example,
    ip default-gateway 192.168.0.1
    Wouldn't it automatically send anything it doesn't know about to the 192.168.0.0/24 router?
    I have one of the switch ports, Fast Ethernet 0, connected to another switch connected to the dlink router. I have tried different ports but it didn't change anything. I don't have anything connected to the wan port of the 851w. I was trying to simulate remote access of a switch on an internal network. My next step would be to make the 851w my default router and then try to access it from the outside, but I wanted to succeed this way first.
    optimus#show ip int br
    Interface IP-Address OK? Method Status Protocol
    Dot11Radio0 unassigned YES unset administratively down down
    FastEthernet0 unassigned YES unset up up
    FastEthernet1 unassigned YES unset down down
    FastEthernet2 unassigned YES unset down down
    FastEthernet3 unassigned YES unset up down
    FastEthernet4 unassigned YES unset administratively down down
    Vlan1 192.168.0.150 YES manual up up
    Yes, my internal pc is on the 192.168.0.0/24 subnet.
    Best Regards,
    Sean

  • Can information in cache accessed outside of Oracle DB after shutdown?

    Hi All,
    I read that the information in caches can be accessed outside of Oracle DB and the buffered Cache must be emptied at shut down of Oracle DB.
    Questions:
    1. Is it possible to access cache outside of Oracle DB? If yes, how can one read it?
    2. Is the information in the cache stored on a persistent storage (file) and can be accessed if the user has permissions on the OS?
    Thanks,
    Hozy
    Edited by: Hozy on Jul 3, 2009 12:38 PM

    1. It is possible to access SGA of a running instance with C code but this is not supported by Oracle. See http://oraperf.sourceforge.net/presentations/SGA_access.ppt
    2. I don't think this is possible.
    Edited by: P. Forstmann on Jul 3, 2009 9:13 AM

  • I have recently given away my old mac air to a friend. I want to change the mail settings so he can access his emails and not access mine

    I recently gave my old mac air (purchased new 2011) to my friend. I want to change the mail settings so that he can access his mail from the application and not mine. So far we have gone to mail then preferences then general and changed the email address to his but upon relaunching the mail application, it didn't seem to have worked. The mailbox was empty of either his or my emails. Ali

    Follow these instructions: What to do before selling or giving away your Mac.
    Your friend will need to install his own OS X system as weill as purchase his own App Store software. He/She cannot use yours. Since the machine has been wiped your friend can configure his/her own Mail account.

  • I'm in London for a semester and I met someone here. My iMessage has been useful for chatting with friends from home, but I'd like to add this guy to my contacts and iMessage him. I can't iMessage him (he has functional iMessage on his iPhone).

    I'm in London for a semester and I met someone here. My iMessage has been useful for chatting with friends from home, but I'd like to add this guy to my contacts and iMessage him. I can't iMessage him (he has functional iMessage on his iPhone). Why doesn't my phone recognize him to have iMessage? Do I have to turn my data on and my airport off to send a message before it recognizes that he has iMessage?

    Call AppleCare, because, according to Apple, removing the devices from your support profile should have fixed this issue. You can also try changing your Apple ID password, but given what you've done, I doubt this will help.

  • I cannot access my words with friends on my ipad.  For a brief second it shows a saying "updating this will take a few minutes".  It has now been 15 hours.  What can I do?

    I cannot access my words with friends on my ipad.  For a brief second a screen will come saying "updating this will take a few minutes" .  It has been 15 hours!  What can I do?

    That means the person you are playing doesn't have the app on their phone!!  And they can only play on the PC?
    How about asking the person your playing if they have the app or not.
    If you don't want help here, you can more than ask the WWF developer why your having trouble.
    You can take your attitude somewhere else!!

  • Can I share a folder on my mac so others (outside my home) can access it

    I am working on a family project on Power Point and was wondering if there was a way to share this over the Internet so family can access it to help me with some editing etc.

    Yes, use Goodreader on iPad, there you can sync anything over iTunes

  • How to load function from derived class from dll

    Dear all,
    how to access extra function from derived class.
    for Example
    //==========================MyIShape.h
    class CMyIShape
    public:
    CMyIShape(){};
    virtual ~CMyIShape(){};
    virtual void Fn_DrawMe(){};
    // =========== this is ShapRectangle.dll
    //==========================ShapRectangle .h
    #include "MyIShape.h"
    class DLL_API ShapRectangle :public CMyIShape
    public:
    ShapRectangle(){};
    virtual ~ShapRectangle(){};
    virtual void Fn_DrawMe(){/*something here */};
    virtual void Fn_ChangeMe(){/*something here */};
    __declspec (dllexport) CMyIShape* CreateShape()
    // call the constructor of the actual implementation
    CMyIShape * m_Obj = new ShapRectangle();
    // return the created function
    return m_Obj;
    // =========== this is ShapCircle .dll
    //==========================ShapCircle .h
    #include "MyIShape.h"
    class DLL_API ShapCircle :public CMyIShape
    public:
    ShapCircle(){};
    virtual ~ShapCircle(){};
    virtual void Fn_DrawMe(){/*something here */};
    virtual void Fn_GetRadious(){/*something here */};
    __declspec (dllexport) CMyIShape* CreateShape()
    // call the constructor of the actual implementation
    CMyIShape * m_Obj = new ShapCircle();
    // return the created function
    return m_Obj;
    in exe there is no include header of of ShapCircle and ShapRectangle 
    and from the exe i use LoadLibrary and GetProcAddress .
    typedef CMyIShape* (*CREATE_OBJECT) ();
    CMyIShape*xCls ;
    //===================== from ShapeCircle.Dll
    pReg=  (CREATE_OBJECT)GetProcAddress (hInst ,"CreateShape");
    xCls = pReg();
    now xCls give all access of base class. but how to get pointer of funciton Fn_GetRadious() or how to get access.
    thanks in advance.

    could you please tell me in detail. why so. or any reference for it. i love to read.
    i don't know this is bad way.. but how? i would like to know.
    I indicated in the second sentence. Classes can be implemented differently by different compilers. For example, the alignment of member variables may differ. Also there is the pitfall that a class may be allocated within the DLL but deallocated in the client
    code. But the allocation/deallocation algorithms may differ across different compilers, and certainly between DEBUG and RELEASE mode. This means that you must ensure that if the DLL is compiled in Visual Studio 2010 / Debug mode, that the client code is also
    compiled in Visual Studio 2010 / Debug mode. Otherwise your program will be subject to mysterious crashes.
    is there any other way to archive same goal?
    Of course. DLL functionality should be exposed as a set of functions that accept and return POD data types. "POD" means "plain-ole-data" such as long, wchar_t*, bool, etc. Don't pass pointers to classes. 
    Obviously classes can be implemented within the DLL but they should be kept completely contained within the DLL. You might, for example, expose a function to allocate a class internally to the DLL and another function that can be called by the client code
    to free the class. And of course you can define other functions that can be used by the client code to indirectly call the class's methods.
    and why i need to give header file of ShapCircle and shapRectangle class, even i am not using in exe too. i though it is enough to give only MyIShape.h so with this any one can make new object.
    Indeed you don't have to, if you only want to call the public properties and methods that are defined within MyIShape.h.

  • Access a dll file for an oracle adf app deployed on weblogic on linux box

    Hi:
    My department is trying to move an oracle adf application from oracle application server to weblogic 10.3 application server. After trying for a few weeks, everything looks fine except that the application is not able to access a dll file. For this adf application we use a dll file which is a C program to allow us to grab ip address and mac address for every user's computer for security reason. On our oracle application server on a linux box, everything is fine and the application is able to use access the dll fine. Technically, it is how the dll work. In our login.jspx, we declare a object:
    <OBJECT id="objMacAddr" height="0" width="0" classid="CLSID:D69161F0-C2BB-4212-9B67-62B908A07726" codebase="RMacAddress.dll#Version=1,0,0,1">
    when the user access our web application, the browser grab the dll file from the server while loading the page and a java script function in the page uses the dll file to grab the ip address and mac address for user's computer.
    It works on oracle application server. However, it does not work on Weblogic 10.3 server. Does anyone have similar experience? We have been told by oracle support that Weblogic 10.3 server does not recognize the dll file at all. One thing I don't understand is that both our oracle application and weblogic 10.3 are on linux box. Why dll works on oralce application server but not on weblogic 10.3 server? This issue has bothered us for quite a few weeks already. I just hope that anyone on this forum gives us some kind of hint or direction.
    Thanks,
    Jack

    Also,
    I checked the "monitoring" window of my datasource on weblogic server and saw that there are no failed database connections. So, the problem of a broken database connectivity can be ruled out.
    --Vivek                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to access function from Top Class to Function of class that contain the the member variable of TopClass

    Dear All,
    is there any way that i can access function or member variable of aggregate class.
    i am working in Visual Studio 2010 
    and making win32 dll with mfc Support. i am new in dll system. just learning and doing.
    previously all in exe and i am working this like
    CTestDoc*pDoc = (CTestDoc*)GetTestDocument();
    somevar = pDoc->xDoc.mVar.GetValue (); 
    now i am trying to put all in dll. so getting problem 
    will i get help on this. thanks in advance.
    below code is just an example.
    for example
    // dll 1
    class aaa : public BaseClass
    public:
    int Index;
    char *cName;
    void doSometing()
    if (GetCurBColor() == 125) // how to access GetCurBColor function of the
    color = GetCurBColor();
    long color;
    // dll 2
    class bbb :public BaseClass
    public:
    int Index;
    long lSize;
    long color;
    void doSometing();
    // dll 3
    class DDD
    public:
    vector <aaa> va;
    vector <bbb> vb;
    int cura;
    int curb;
    long GetCurBColor ()
    return vb[curb].color;
    };// MFC doc/view support
    /// in exe in document
    class inExe
    public:
    DDD d;
    void addB()
    { bbb bb;
    bb.color = 152;
    d.vb.push_back(bb);
    bb.color = 122;
    d.vb.push_back(bb);
    bb.color = 1232;
    d.vb.push_back(bb);
    d.curb = 1;
    void addA()
    { aaa aa;
    aa.color = 152;
    d.va.push_back(aa);
    aa.color = 1232;
    d.va.push_back(aa);
    aa.color = 1542;
    d.va.push_back(aa);
    aa.color = 15;
    d.va.push_back(aa);
    d.cura = 2;
    d.va [1].doSometing ();

    Dear All,
    is there any way that i can access function or member variable of aggregate class.
    i am working in Visual Studio 2010
    and making win32 dll with mfc Support. i am new in dll system. just learning and doing.
    previously all in exe and i am working this like
    CTestDoc*pDoc = (CTestDoc*)GetTestDocument();
    somevar = pDoc->xDoc.mVar.GetValue ();
    now i am trying to put all in dll. so getting problem
    What problem?
    The rules of C++ do not change because some of the code ins in a DLL. But the classes in a DLL need to be exported. See for example
    https://msdn.microsoft.com/en-us/library/81h27t8c.aspx
    You should also supply a macro so that the class header can be used in both the DLL and the client. See for example
    http://stackoverflow.com/questions/14980649/macro-for-dllexport-dllimport-switch
    If  you exchange memory between the DLL and the client (as your example will do, because of the std::vector content), you should also be sure to use the same version of the compiler for each module, and to dynamically link to the CRT.
    I would also advise you to start with a less complicated scenario, with just one DLL.
    David Wilkinson | Visual C++ MVP

  • COM DLL tester,My plan is to invoke our DLL COM server functions with some tool.

    Hello All,
    Sorry for the inconvenience,but according to this link,there is plenty of tools that are available to test
    DLL COM server's functionality.
    We would like to call/test our COM server's functionality.
    http://zone.ni.com/devzone/cda/tut/p/id/2981
    I would need this kind of tool.
    Any help will be appreciated.
    Thanks for in advance.
    Szabolcs

    What is it you are trying to test exactly?
    Is it a pure COM server or does it have an Active X interface?
    ActiveX is using COM as its binary interface but defines an additional interface description standard, so that other languages than C(++) can access it. LabVIEW supports accessing ActiveX interfaces but can't access COM interfaces directly as it does not understand the C(++) headers nor any possible IDL file, and that would be very hard anyhow.
    If what you want to test is the actual COM interface of your server itself then I would recommend to really write a test framework in C++ as that is the best way to go about that. If it is some functionality in the COM server you have two options if you insist in using LabVIEW. You can add the necessary ActiveX definitions to your COM server and register them in your system so you can use the LabVIEW ActiveX nodes to access your server objects and their methods and properties. In that way you can create your LabVIEW VI library to do what you want.
    Another less common method would be to create a sort wrapper DLL in C(++) that accesses your COM server directly and exports according standard C functions that you can invoke in LabVIEW through the Call Library Node.
    Message Edited by rolfk on 03-17-2010 12:59 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Cant access msmdpump.dll setup in IIS from a box other than localhost

    I configured access to SQL Analysis Services via IIS on one of my machines, as per the following instructions:
    http://mglaser.bloggingabout.net/2008/08/15/configuring-http-access-to-sql-server-2008-analysis-services-on-microsoft-windows-server-2008/
    I tested using Excel on the same machine and it works fine. I access using the following url (I can access without using localhost on that machine):
    http://10.3.29.79/OLAP/msmdpump.dll
    But when I try it from any other machine on the same network using Excel it does not work. Now I know you cant use IE for testing but I just watned to see if I could resolve to even the error you normally get in IE.  Something along the lines of:
    - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap:Body>
    - <soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>XMLAnalysisError.0xc10e0002</faultcode>
    <faultstring>Parser: The syntax for 'GET' is incorrect.</faultstring>
    - <detail>
    <Warning WarningCode="1090584599" Description="The 'Invariant Language' locale for UI is not supported." Source="Unknown" HelpFile="" />
    <Error ErrorCode="3238920194" Description="Parser: The syntax for 'GET' is incorrect." Source="Unknown" HelpFile="" />
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    But all I get when I access from other machines is an error 500, internal server error.  I'm not worried about it not working in IE as I know it cant, but I do think there's an issue accessing from any box except the host. 
    Thanks for any advice!

    Hi Rmccabe,
    Try Turning off the Friendly errors in IE and then launch this URL to find the exact error.
    Try  changing the Authentication Mode in IIS XMLA Virtual Directory to Anonymous Aurthentication and try launching the URl.
    you can even try connecting the Analysis Server With SSMS by giving the XMLA URL  "http://10.3.29.79/OLAP/msmdpump.dll"
    in the Server Name Text box.
    Try Disabling Firewall- It it works then Add the Proper port no to get rid of this issue.
    Since you are able to access the cube with the Local Server (Localhost). These are the common reasons for these error.
    Please vote as helpful or mark as answer, if it helps Regards, Anand

Maybe you are looking for

  • SAP MSS and personnel change requests

    Hi, Could anyone post me links related to MSS or some details or any threads regarding personnel change requests. Regards, Vijay

  • 7.1.2 Upgrade

    I just upgraded to 7.1.2 and now when I send a text message with picture, to someone who doesn't have I phone, the message doesn't go through.

  • Making link open new tab/window?

    I am fairly new to dreamweaver (just started website construction this year, only go to it every other day) and in that time I believe I have already learned quite a bit. I already know how to use spry efficiently which I believe nobody else in the c

  • Cannot make a photobook, calender etc. Yosemite.

    I have installed Yosemite, in order to get rid of a problem that already showed up in Mavericks; When trying to make a new photobookor calender in Iphoto (latest update installed), i can click on create a new book, choose the booklayout i want, choos

  • BW system copy with change of SID

    Hi, want to create a new system (Oracle) based on a source, but with a change of SID. Is this possible via the full offline database copy method? Or just via the SAPinst export / import way? Have got nearly there, but tablespace names contain the SID