?
Solved

translate c++ to delphi

Posted on 2003-03-18
2
Medium Priority
?
348 Views
Last Modified: 2010-04-04
Hi EveryBoody,

how can I translate this declaration into Delphi?


STDMETHODIMP StoneCreateInstance(HINSTANCE hinst, DWORD dwStoneVer, interface IStone **ppStone, UNKNOWN punkOuter);

This methode located in a dll file, and give me a typed pointer for IStone interface.

Thank you.

Stonecastle
0
Comment
Question by:stonecastle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:smurff
ID: 8165643
listening
0
 
LVL 21

Accepted Solution

by:
ziolko earned 330 total points
ID: 8166354
something like this:
StoneCreateInstance(hinst: HINSTANCE; dwStoneVer: DWORD; var ppStone: IStone;punkOuter: IUnknown);stdcall;

ziolko.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question