Questions tagged [user-object]

34 questions
7
votes
1 answer

How to find a leak in User Objects

Our .Net 4.0 application has a leak that causes it to crash after extended use. Upon investigation I determined that "User Objects" were leaking. A User object is a windows resource as described…
Mitch
  • 1,173
  • 1
  • 10
  • 15
4
votes
3 answers

Java Swing: how do I define how a JTree displays the "user object"?

When using a JTree, a "user object" of a DefaultMutableTreeNode can be set. This can be of any kind, but to display it, its toString() value is used. This is not what I need. How can I change the way a user object is displayed? NOTE: My user object…
java.is.for.desktop
  • 10,748
  • 12
  • 69
  • 103
3
votes
1 answer

user object with TreeNode in C#

Can i tie a user object to a TreeNode in C#?
user34537
2
votes
1 answer

JTree set node name as one of UserObject attribute

I'm using JTree to create tree view and add node to its root as following: String nodeName = "node1"; DefaultMutableTreeNode child = new DefaultMutableTreeNode(nodeName); root.add(child); The UserObject for each node now has type of String. It…
baizen
  • 304
  • 6
  • 14
2
votes
1 answer

User info not returning get_currentuserinfo()

I am trying to query a working WP install for user info to be used with an api. When I place the code below in the "text" portion of the new page editor the page displays normally except the area of the page containing the code remains blank and…
2
votes
0 answers

Compiled Matlab mat file corruption

I have a compiled application which cannot properly save some user defined objects. When I try to load the mat file in the program it crashes with an Access Violation error. The mat file cannot be loaded in Matlab either (appears to be corrupt).…
2
votes
1 answer

MVC 5 - retrieving the ApplicationUser object

I am developing a MVC 5 internet application and have a question in regards to having a custom object in the ApplicationUser object. I have a public virtual Account account object in the ApplicationUser object that holds many maximum count variables…
Simon
  • 7,991
  • 21
  • 83
  • 163
1
vote
1 answer

PHP Memcache user created objects

Need some help about with Memcache. I have created a class and want to store its objects in Memcache, finding trouble doing so please tell me where am I going wrong. Following is my code // Class defined by me class User { public…
Zaje
  • 2,281
  • 5
  • 27
  • 39
1
vote
0 answers

Avoid multiple calls to is_user_logged_in() & wp_get_current_user()?

I originally created a single .php file with multiple functions to integrate Gravity Forms into the needs of a website. The plugin grew to 8000 lines before I broke it up into several files in the same folder; it was just too much scrolling and…
fxrgc
  • 110
  • 8
1
vote
1 answer

updating a user using APIVIEW fails. User object either already exists or creates new user

I am using django rest framework and I have created a view to update a user. Here is my view: def put(self, request, *args, **kwargs): authorization =UserSuitsPermissions().superuser(request.user) userpk = kwargs.get('pk', 0) user =…
user9487981
1
vote
1 answer

Using the extensionAttributes in Active Directory

So I'm working on expanding the data stored about User Objects in an Active Directory, but we are looking for possible candidates to store the data in, as a lot of the fields have already been used. We found the fields 'extensionAttribute(1-15)' and…
Dylan
  • 323
  • 2
  • 5
  • 17
1
vote
1 answer

Clarify a line/s --> setting sql data into object variables

This is my first question here and I will try to clarify it as much as possible. I am a begginer and I am going through lynda - beyond PHP MySQL lessons when I got to this part. Code is working just fine, I just need better explanation for myself to…
GoFgO
  • 21
  • 7
1
vote
0 answers

Dynamically created TFrame causes Windows user object leak

In a C++ Builder 6 test project, I try to understand the relation between the TWinControl classes of the VCL and Windows user objects, because I'm hunting a leak of user objects in my original application where I use some levels of nested frames,…
Wolf
  • 9,679
  • 7
  • 62
  • 108
1
vote
1 answer

Not enough memory or not enough handles?

I am working on a large scale project where a custom (pretty good and robust) framework has been provided and we have to use that for showing up forms and views. There is abstract class StrategyEditor (derived from some class in framework) which is…
Nayan
  • 3,092
  • 25
  • 34
1
vote
1 answer

How Clean GDI objects and User Objects

I Have an windows form app which generate dynamically tabpages,controls,datagridviews and all the events are dynimically using so when control generate GDI objects and User objects does not clean everytime current objects plus in previous objects…
1
2 3