I am facing the following issue when deploying a com-exposed assembly to my client's. The COM component should be consummed by a vb6 application. Here's how it's done
1) I have one c# project which has a class with a couple of methods exposed to COM
2) The project has references to multiple assemblies
3) I compile the project, genera...
public object MethodName(ref float y)
{
//method
}
How do I defined a Func delegate for this method?
...
I had never had this error before, and I didn't move any file, or exclude any reference.
I'm getting this error (link).
In the ajaxcontroltoolkit.dll.refresh file, I get a path to the DLL, but it is a path that was located in someone else's computer (who no longer is in charge of this).
It might as well work if I just re-do the refere...
I have a solution with several projects and one website.
The website uses some third-party DLLs.
I have to place the DLLs in the bin folder under the website. This is the same bin where the DLLs from the other projects get auto-loaded.
Is there a way I can place the third-party DLLs in a separate folder?
If I 'Add Reference' to the DLL ...
I have got as follows:
use constant ABC => ('one', 'two', 'three');
and I want to pass this constant to variations_with_repetition(\@data, $k) subroutine as @data.
How should I do that?
...
Hello,
cant seem to work out how i grab multiple nids of a node reference field.
$node->field_name[0]['nid'] picks up the node id of the cck node reference field.
however when that cck node reference field has more than one value i get stuck!
my php is abit sketchy atm so working with arrays and loops is being quite difficult!
here ...
Hi,
I wrote a long table with a label in a tex file and \input it into my main tex file. The reference in the main tex file to the table, however, does not show the numbering of the table but the one of the next table that are written directly in the main tex file. All long tables that are written directly in the main tex file have corr...
We had a very interesting problem with a Win Forms project. It's been resolved. We know what happened, but we want to understand why it happened. This may help other people out in the future who have a similar problem.
The WinForms project failed on 2 of our client's PCs. The error was an obscure kernel.dll error. The project ran fine o...
I'm a bit confused about handling an array of objects in C++, as I can't seem to find information about how they are passed around (reference or value) and how they are stored in an array.
I would expect an array of objects to be an array of pointers to that object type, but I haven't found this written anywhere. Would they be pointers,...
I'm trying to find a nice inheritance solution in C++.
I have a Rectangle class and a Square class. The Square class can't publicly inherit from Rectangle, because it cannot completely fulfill the rectangle's requirements. For example, a Rectangle can have it's width and height each set separately, and this of course is impossible with ...
Hello everyone,
I would just like a push in the right direction here with my homework assignment. Here is the question:
(1) Write a C function called input which returns void, this
function prompts the user for input of
two integers followed by a double
precision value. This function reads
these values from the keyboard an...
#include<iostream.h>
int main()
{
int a=10;
int &b=a;
cout<<"B"<<'\n'<<b;
cout<<"A"<<'\n'<<a;
b=100;
cout<<"B"<<'\n'<<b;
cout<<"A"<<'\n'<<a;
int c=20;
b=c;
cout<<"C"<<'\n'<<c;
cout<<"B"<<'\n'<<b;
}
...
Is there a difference between foo and bar:
class A
{
Object __o;
void foo(Object& o)
{
__o = o;
}
void bar(Object o)
{
__o = o;
}
}
As I understand it, foo performs no copy operation on object o when it is called, and one copy operation for assignment. Bar performs one copy operation on object o when it is ...
We're trying to debug a WCF service that is being consumed by a smart device project.
The problem is that the service never gets debugged, only stepped over.
Similarly, when trying to add a class library to a smart device project, the following error is seen:
Cannot add a reference to a desktop project from a smart device project.
An...
Say there are two objects, A and B, and there is a pointer A.x --> B, and we create, say, WeakReferences to both A and B, with an associated ReferenceQueue.
Assume that both A and B become unreachable. Intuitively B cannot be considered unreachable before A is. In such a case, do we somehow get a guarantee that the respective references...
I'm not even sure how I should phrase this question. I'm passing some CustomStruct objects as parameters to a class method, and storing them in a List. What I'm wondering is if it's possible and more efficient to add multiple references to a particular instance of a CustomStruct if a equivalent instance it found.
This is a dummy/exampl...
I am trying to run a function of the main class, but even with casting it does not work. I get this error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at rpflash.communication::RPXMLReader/updateplaylist()
at rpflash.communication::RPXMLReader/dataHandler()
at flash.events::EventDispatcher/dispa...
I have trouble getting a custom ObjectDataSource for an asp:ListView control to work. I have the class for the DataSource in the App_Code directory of the web application (as required by the asp:ListView control).
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
...
In C++, if you need to have 2 objects modified, you can pass by reference. How do you accomplish this in java? Assume the 2 objects are primitive types such as int.
...
I successfully stored and retrieved a reference to an NSManagedObject using the example found in this site http://cocoawithlove.com/2008/08/safely-fetching-nsmanagedobject-by-uri.html
The problem is, the app crash whene triying to retrieve an NSManagedObject which has been deleted.
I tried the method isFault on the object, but it alway...