Questions tagged [com+]

1

votes
1

answer
1.4k

Views

Parse.com with TypeScript: Extend Parse.Object

Disclaimer: I know, Parse.com shuts down it's hosted service. Still, we will continue to use the framework for a while, so this question is still important to us. Recently, I started playing around with TypeScript and figured it might enhance my productivity for parse cloud code a lot. So I did some...
dpoetzsch
1

votes
1

answer
80

Views

“Server is started without SSL support” error when trying to save or retrieve data from parse server with MongoDB

I'm trying to use parse locally (with MongoDB) with my iOS mobile app. I've installed node, mongo, parse, parse dashboard. I've created a pod file for my iOS project (XCode), installed parse with it. I put this code into the application didFinishLaunchingWithOptions method of the AppDelegate:...
Tio
1

votes
2

answer
140

Views

python win32com: Delete multiple emails in Outlook

I need to delete multiple email messages in Outlook from python via win32com module. I understand there is a VBA method MailItem.Delete() available to win32com via COM and it works; but it is VERY VERY slow when deleting more than one email since one would have to delete emails sequentially ie lo...
JavaFan
0

votes
0

answer
9

Views

Does the API Platform framework fully support HATEOAS?

Currently I am working on a REST API and noticed, that for real REST it is essential to provide the possible HTTP operations of the resource within the HTTP response (e.g. in JSON-LD format). After playing around with Swagger, I got to JSON-LD and Hydra, which in combination provide the foundation f...
Chris
4

votes
0

answer
134

Views

Unable to use a certificate to login to a website via com-interop in Windows 10 1809

The C# code below, which logs in to a website, Works when called on computer A from Excel 2010 VBA via com-interop Works when called on computer B from a C# console application, but Fails when called on computer B from Excel 2010 VBA via com-interop The main difference between computer A and compute...
Stochastically
1

votes
1

answer
1.1k

Views

How do I properly register a .NET assembly during an installation without calling RegAsm?

I have a .NET COM-visible out-of-process server, let's call it Server.exe. I need to be able to register it on systems that may have different versions of the .NET framework installed, so I'd like to avoid calling RegAsm by it's full name (which tends to contain the version number of the .NET frame...
Wug
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
0

votes
0

answer
12

Views

Why is the parser API not working with Long Content?

I am using parse server to send push notification to Android and IOS app. I am using parse/php-sdk. When I send small content the push notification is received in both Android and IOS devices. But when I send long content, the notification is received in Android but not in IOS. Below is my code to s...
user3427657
1

votes
1

answer
644

Views

AngularJS $location.path doesn't work on Parse Promise

My parse/AngularJS application is using Promises. The login function was suppose to redirect the user with $location.path, BUT I had to tweak it to make it work according to this post: $location.path doesn't change in a factory with AngularJS According to this SO user, you need to replace the call...
orberkov
1

votes
1

answer
134

Views

COM References and TFS build definition

I have a C# project in which I have a COM Reference. It compiles fine when opened in VS 2013. But, it fails as part of TFS build definition. TFS version : 2013 TFS Build Controller & Agent : 2013 VS version : 2013 The failure message says that it could not find the Interop dll. I cannot manually cre...
kvk938
1

votes
1

answer
229

Views

Set boolean on object change Parse.com

Situation: I have a database at Parse.com. In this database I have objects which have an Array and a boolean. Wanted Result: I want the boolean to be set to true if the Array length is bigger than 0. And false if the size is 0. Problem: I do not want to set this boolean on adding/deleting from array...
R. Adang
1

votes
1

answer
216

Views

All-in-one add-in for outlook

I want to develop all-in-one add-in for Outlook. This means that this add-in will be available for all Outlook clients (desktop, web). I read here that i can do this. I already created add-in for Outlook Web Application and tried to deploy it to desktop client, but didn't figure how to make it. So h...
getupandgo
1

votes
1

answer
1.4k

Views

Salesforce Formula Field always equals null in Apex code

I have a formula field "Asset MRR" defined for the Asset object. The value of this field is defined to always equal 100: But when I try to access "Asset MRR" field in Apex, asset.Asset_MRR__c equals null for some reason: static testMethod void assetTriggerTest2() { Account account = new Account(Name...
Sergey
1

votes
2

answer
59

Views

Getting Error with PFAnonymousUtils.logIn

The Code below returns an error: Cannot Covert value of type '(PDUser!, NSError!) -> Void' to expected argument type 'PFUserResultBlock' PFAnonymousUtils.logIn{ (user: PFUser?, error: NSError?) -> Void in if let user = user { if user != nil { println("Success") } } else { println("Failed") } } I lo...
1

votes
1

answer
696

Views

Office (Excel) COM interop on Mac OSX using .NET Core?

I work for a team that currently specializes in creating windows desktop applications in C#/.NET that interwork with local user instances of Microsoft Excel via Office COM Interop. I am currently charged with specifying a new product but I’ve been told that the project will not go ahead unless the...
Geoffff
1

votes
1

answer
636

Views

Where can I write Parse Cloud Code functions for android?

Is it possible to write a cloud code function directly into android studio? If not where could I write one? I can't find it on my parse dashboard thanks
Adam J
1

votes
1

answer
55

Views

Downside to calling FirebaseApp.initializeApp more than once?

Just a simple question today. Is there a downside to calling FirebaseApp.initializeApp twice? We use the urban airship sdk which handles the init but we noticed some crashes coming in from background services because FirebaseApp.initializeApp was not called. My solution is to put FirebaseApp.initia...
Psest328
1

votes
2

answer
4.6k

Views

Lotus Notes Interop.Domino.dll [closed]

Where can the Lotus Notes (Interop.)Domino.dll be downloaded ? Must I have installed a Lotus Client?
Kottan
1

votes
1

answer
1.7k

Views

Is it better using Parse than setting my own authentication? [closed]

I am using Parse service for my authentication in my iOS application. I am beginner and I do not have enough information for setting my own authentication server. So far I have made some progress with Parse in my application. So my question is the following. Should I train myself for learning settin...
ananana
1

votes
1

answer
754

Views

How to convert VARIANT_BOOL* to bool*

I found this question, but they aren't using a pointer. I have a method that my COM method calls that requires a pointer to a bool. This bool is used to cancel the long running process (video recording, if you must know) from the caller. Can I cast it somehow, but still have VARIANT_BOOL equate to F...
Paul Knopf
1

votes
2

answer
611

Views

How to get PFFile from disk?

I want to get a PFFile from disk. I learned here that Parse caches all PFFiles as they are downloaded. I am wondering now how to retrieve that cache. What is the correct path. The path I use is suggested here NSString *path = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainM...
KKendall
1

votes
2

answer
450

Views

Can a native application use registration-free COM to consume a .NET COM component?

Q: Can I make a native client that consumes a .NET COM component, using reg free COM? I.e. Can I make a C++ application with COM info in its manifest, instead of registering the component (COM 'stuff') in the registry? Note: I started looking at reg free COM with this question in mind, and didn't fi...
Daryn
2

votes
1

answer
33

Views

Use custom normalizer, and normalization support

I want to (de)normalise my data following the "example" found in the doc here, but the supportNormalization method of AbstractItemNormalizer always returns false. As the doc is completely unhelpful about what should be done, and how, could anyone help me here? I cannot find a working example anywher...
Shautieh
-1

votes
1

answer
61

Views

PHP - Parse SDK query on ParseGeoPoint doesn't work properly

I've got an issue that I can't fix, it's been weeks I'm trying to do so but I just can't figure out what I'm doing wrong, or if there's something wrong in the Parse PHP SDK. I have built a website with Parse Server as the backend, it's a listing website with location detection, and I'm working on Ch...
xscoder
0

votes
0

answer
4

Views

Is a per entity Normalizer possible?

Is it possible to create a Normalizer that is only applied to a particular resource? The best I have seen is a normalizer that is run against all resources and in the normalizer, the code checks for a particular resource type: https://api-platform.com/docs/core/serialization/#changing-the-serializat...
Jim
1

votes
1

answer
2.9k

Views

Access Custom Field Salesforce

I have a created a custom field in Contacts object in Salesforce whose API name is "Resume_Text__c" and I'm making a SOAP call to get the value of that filed using Java Implementation by writing a following SOQL. SELECT Resume_Text__c FROM Contact But execution of query throwing following exceptio...
Vardan Gupta
1

votes
2

answer
892

Views

Android “Urban Airship” - GCM - No active device tokens found

Ok I have recently upgraded the app from C2DM to GCM. For some reason I keep getting - 'No active device tokens found for alias' intermittently. I observed it happens when you leave the phone for some time or restart the phone. When i connect the adb I can see "com.zeebox.android.caa:com.urbanairshi...
Ash
1

votes
2

answer
441

Views

Reentrancy on a Single-Threaded Application

Writing a Winforms application over .NET 4.0 (using VB2010). It has a single form, including an ActiveX COM control asynchronously raising events. The events are handled by hook functions on form's code-file. Application does NOT start any threads (except the main one, ofcourse). Should I guard from...
Bliss
1

votes
1

answer
590

Views

COM Object vs Automation Object

I am creating a COM Object in Delphi XE2. I am trying to create the methods using safecall, but the default is stdcall. When i use Automation Object is possible to use safecall. For performance questions, i am using COM Object. Is it possible to use safecall on it? Thanks
p.magalhaes
1

votes
1

answer
683

Views

Implement DISPID_VALUE in C# and call it from C++

I have a C++ COM module that accept IDispatch interfaces and on certain condition invoke them using DISPID_VALUE. This method work very well in C++. Now I have a client in C# and I want to implement an object that implement IDispatch and have a method with DISPID = 0(DISPID_VALUE). I already tried t...
BigBoss
1

votes
2

answer
326

Views

Is it possible to grab an external image and send it over a REST API via Javascript only?

I have a form where users can paste the external url of an image. Is it possible via javascript to go and grab that file and then POST it to a REST API? I'm using parse.com for the rest api.
brianandrich
1

votes
1

answer
3.3k

Views

Set up urban airship push notifications with phonegap on android

I have a PhoneGap / Cordova app, and would like to add push notifications using the urban airship plugin for PhoneGap. It looks promising. I try following the instructions from Urban Airship and look at the example at GitHub. The problem is that I am a html5-css3-JavaScript developer, not a Java / A...
ʕ ᵔᴥᵔ ʔ
1

votes
1

answer
906

Views

Why is a value copy of MainForm created when method is called or invoked cross thread?

Update: I think it has something to do with lazy instantiation of the window handle for MainForm - but haven't been able to work out quite how that would result in the behavior seen here. The application requests data via 3rd party COM interface providing a callback to process the results. In the c...
Pauli Price
1

votes
1

answer
405

Views

In VB6, do I need to call SysFreeString on strings allocated with SysAllocString?

I have a VB6 app which uses a C++ COM DLL and BSTRs are passed between the two. I return BSTRs from the C++ DLL with return ::SysAllocString(L"example");. Do I need to call SysFreeString on such a string in the following example? Sub Main() Dim own_str As String Dim dll_str As String own_str = "my o...
Felix Dombek
1

votes
2

answer
14.1k

Views

C# - Add reference for both MS Excel 12.0 object library and MS Excel 14.0 object library?

I have recently developed a small tool that uses Microsoft.Office.Excel.Interop, and according to my References folder I have added the reference to the Microsoft Excel 14.0 Object Library. I should also mention that I have MS Office 2010 on my machine, so the tool works just fine there. However I h...
sergeidave
1

votes
1

answer
2k

Views

Can Visual Studio 2010 Express automatically register 64-bit DLLs?

I've been following the beginner's tutorial for building SW Addins at Angel Six. I'm trying to get Visual Studio to automatically register the DLL, but I'm using 64 bit SolidWorks on a 64 bit machine, and it doesn't seem to want to do it automatically. I've performed the two steps described in the...
Valkyrie Savage
1

votes
1

answer
507

Views

Navision 5 and COM Interop

While trying to understand how Navision 5 can communicate with an external application through COM interop, i found the following example: http://msdn.microsoft.com/en-us/library/aa973247.aspx The second case implemented is exactly what I want to do. I tested the code (with minor modifications - add...
Manolis
1

votes
1

answer
409

Views

how to ildasm/ilasm round trip a dll exposing COM objects

I want to round trip a dll that exposes COM objects (interop). With ildasm i dumped the dll. In the ildasm dump i renamed all occurances of the class name. An Ilasm with DLL switch and inclusion of the resources produced the new dll. I dont know how to register this new dll (Win7). Regasm/Regedit co...
Seppe Soleme
1

votes
2

answer
698

Views

Parse Facebook Dialog Delegate methods not being called

I'm using the Parse SDK to implement a Facebook apprequests dialog in my app. For all intents and purposes it just wraps the Facebook SDK, prefixing Facebook methods with PF_. I use this code to prepare and raise the dialog: NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAnd...
John H
1

votes
1

answer
4.9k

Views

Salesforce: System.LimitException: Too many SOQL queries: 101

Everything worked fine a couple of days ago, no new changes have been made to the system except from the profiles. Suddenly I got this error message: Error: Invalid Data. Review all error messages below to correct your data. Apex trigger generateUniqueBidId caused an unexpected exception, contact...
user2063927

View additional questions