ykay

1

votes
2

answer
1.9k

views

global scope enum and namespace conflict

I have an ATL COM service and in the .IDL file, I've declared an enum like so: In Gourmet.idl typedef enum Food { Chocolate = 0, Doughnut, HotDog } Food; A header file is automatically generated, creating Gourmet_i.h. In another .CPP file (let's just call it Decadence.cpp) of the same ATL COM projec...
ykay
1

votes
3

answer
49

views

Refer to key in value when creating object in javascript

Is there any syntax to do something like the following var obj = {a: this, b: this} and get obj = {a: 'a', b: 'b'}
ykay
17

votes
2

answer
8k

views

How do I remove the branding from tinymce? (Where it says 'Powered by tinymce') [closed]

How can I remove the branding from the bottom of the tinymce editor where it says 'Powered by TinyMCE'?
ykay
7

votes
1

answer
2.8k

views

How to get a Windows symbol server set up

I have a spare server on the network that I'd like to have host all of our build symbols. I already know how to set up a symbol cache on my local development system and pointing my debugger (e.g. Windbg) to that path in 'Symbol File Path'. I presumed that I could do the same with another system on t...
ykay
5

votes
1

answer
1.2k

views

Are environment variables affected after impersonating and loading a user profile in a service?

I have a Windows service running under a LocalSystem account and I am trying to access some user-specific environment variables. When I call ExpandEnvironmentStrings("%AppData%"), I get "C:\windows\system32\config\systemprofile\AppData\Roaming". I figured impersonation and loading the user profile...
ykay
3

votes
2

answer
2k

views

UICollectionView in a UITableViewCell with Accessibility

I'm adding Accessibility support to my iOS app and I'm having trouble with a collection view in one of my table view cells. For example, when the user scrolls (horizontally) from the first cell to the second cell, Accessibility still reads the contents of the first cell. If I try to tap on a view in...
ykay
2

votes
1

answer
3k

views

Switching xeditable off and on using editable(“destroy”);

I am trying to turn xeditable on and off using editable("destroy"). Xeditable turns off but does not turn back on. The function looks like this: $("#changeType").on("change", function () { switch ($(this).prop("checked")) { case true: $("#status").editable("destroy"); $("#status").editable({ showbut...
ykay
2

votes
1

answer
9.1k

views

OData binding with $expand

We have to bind a OData url to UI5's ODataModel https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZCD204_EPM_DEMO_SRV/BusinessPartners('0100000000')/SalesOrders/?$expand=SalesOrderItems We are able to bind root level items that belong to each SalesOrder. However, we are running into problem in case...
ykay
3

votes
2

answer
252

views

A Winform program so simple — but may I have my memory back?

I decided to do a simple Windows Form project with .NET 2.0 in C# to test and see what exactly is causing what seems to be 'growing memory leaks' in my other main UI application. What I did in this simple project was create two forms: Form1 & Form2 Form1 has one big button that pops up a new instanc...
ykay