by: banski |
last post by:
Hi,
Im trying to find out how to convert a SYSTEMTIME to BSTR. Cant find
out how to do that.
Hopefully some of you could help me out.
Best regards
Thomas
|
by: Volker Kugler |
last post by:
Hi,
i want to transmit a string from a C++-COM-DLL to C#. I wrote this
code:
STDMETHODIMP CWinpcap::hrGetAdapterNameFromAdapterNumber(int
iAdapterNumber, BSTR * AdapterName)
{
int index =...
|
by: Michael C |
last post by:
I'm trying to convert this interface over to C# but can't get any of the
functions to work at all. I'm just trying as a start to get the get_Name
function to work but can't get anything out of it...
|
by: Michael Tissington |
last post by:
I have a C++ function in a DLL of the form
BSTR WINAPI DoSomeWork(LPCSTR szConnection, LPCSTR szGUID)
I use SysAllocStringByteLen to return a BSTR.
For the most part this works accept when...
|
by: Edwin Knoppert |
last post by:
I'm currently using a wrapper which converts an ANSI BSTR from a dll.
(Yes, singlebyte but BSTR ! )
This works fine and i'm aware BSTR's returned must be destroyed by the
caller, which i do.
...
|
by: Jason Chrin |
last post by:
Hello. I've been trying to use a 3rd party API within a console application.
The program runs fine, but when it exits, I get a Memory cannot be read
error. I've searched for the past few days,...
|
by: Lucy Ludmiller |
last post by:
How can I write a function like this:
BSTR Greeting(BSTR name)
{
//return "Good Morning : " + name ;
}
In short I'm looking for a quick tutorial on using BSTR - Google is not
bringing up...
|
by: Jason Smiley |
last post by:
So I have a function that is called from a COM object that has a BSTR as an out paramater. A code snippet looks like this:
MyComLib.MyComInterface tester = new MyComLib.MyComInterface();
// ...
|
by: SantaClaus |
last post by:
Hi all,
I'm using a BSTR as an out parameter in a function which reads a file. Here is my code.
HRESULT __stdcall CA::getFile(BSTR bstr,BSTR *fileCont)
{
if (!fileCont)
return E_POINTER;...
|
by: sandeepkavade |
last post by:
hi all,
i am having a sdk with fires an event.
i am trying to catch that event in other C++ console application,
i have derived my CEventSink class from IDispEventImpl
EventSink.h:
#pragma...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|