|
by: Ian Adams |
last post by:
How do I do this in Python?
hres = pObj->QueryInterface(IID_MyIntf1, (void **) &piMyIntf1);
piMyIntf1->QueryInterface(IID_MyIntf2, (void **) &piMyIntf2);
piMyIntf2->SomeMthd(args);
Also, how do I call/manage smart pointer interfaces?
|
by: Jason |
last post by:
I'm writing a small console app in .NET that needs to reference a 3rd
party dll.
I wrote the app by adding a reference to the 3rd party dll in my
project and my code builds and executes perfectly. However, when I
made a setup file and installed it on another box, I get:
System.InvalidCastException: QueryInterface for interface...Failed.
when the console app tires to reference the dll. I can see that the
|
by: Julien |
last post by:
Hi !!!
I hav a problem when I try to initialize my workbook (opening or creation)
in my windows form...
I got the Exception
'System.InvalidCastException' : QueryInterface for interface
Excel._Application failed
I tried to change de CultureInfo but it doesn't work better.
|
by: Ram |
last post by:
I am running a test web site on my own Win2k professional computer. I
have a VB6 COM component (running on COM+) on a seperate application runnint
as "Server".
When running an ASP.NET page calling this component, it works fine, but When
I try and debug the Com+ process using the VB6.0 IDE, I get the following
error:
"Exception Details: System.InvalidCastException: QueryInterface for
interface MyObject._MyCls failed."
When I the same...
|
by: Michal |
last post by:
Hi.
I've been searching all over the internet, and I didn't find solution of my
problem :( I hope someone can help me here...
The problem is:
Im writing a library in C# (COM Library). This library will be used by an
application, which is wrote in VB6. I will call it "MainApp".
|
|
by: Michael |
last post by:
Hello all and thanks in advance,
I'm running a vb.net program and part of it copies files
from one server to another.
It generally works fine but once in a while I get this
error:
System.InvalidCastException: QueryInterface for interface
Scripting.IFileSystem3 failed.
|
by: Geoff Kell (Lockdesign Ltd) |
last post by:
I have just started using VB.Net and I am developing a class to provide data
to clients from an IBM-MQ queue.
I have developed a class which connects to the queue and issues a read. When
a message comes in an event is raised back to the client containing (at the
moment) only the message id.
This all works fine but the MQ read call blocks and prevents other processing.
To overcome this I have created the object and then start the...
|
by: lynng_stottlerhenke |
last post by:
Hi,
Our app uses a 3rd party dll with ActiveX controls that is installed and
registered by the setup.
We have a customer who has installed on Win2k and is getting this exception
when the app tries to use the dll (stack trace below). Other features
of our app work correctly. We have not been able to repro the issue on our
own
Win2k test box. Below the stack trace are some notes about things we tried and
the results. Any help will be...
|
by: =?Utf-8?B?RCBKYXJ2aWU=?= |
last post by:
A VB.NET 2003 application accesses a custom VB 6 DLL. It has run successfully
several months, and has been modified without problem a few times during that
period. Recently another set of changes were made to both the VB.NET code and
the DLL. The new version was successfully installed on our production server,
and ran without problem for 2 weeks until a scheduled reboot of the server
occurred. Since the reboot, the application always fails...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|