Solved

please compile it for me to delphi

Posted on 2004-04-19
6
164 Views
Last Modified: 2010-04-05
i want to use this function of dll.

BOOL __stdcall GetYahooStrings(const char * username
                              ,const char * password
                              ,const char * seed
                              ,      char * result_6
                              ,      char * result_96
                              ,      int   challengemode
                              );

i don't know how can i give string values from dll(result_6,result_96).
please help me.
0
Comment
Question by:MohammadrezaH
[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
  • 2
  • 2
6 Comments
 
LVL 17

Expert Comment

by:mokule
ID: 10858378
Doesn't it work?

function GetYahooStrings(password,seed,result_6,result_96: PChar;  challengemode: integer): BOOL; stdcall;
0
 
LVL 4

Accepted Solution

by:
mbprogrammer earned 125 total points
ID: 10858945
you can try this if you are using yahoov12.dll

 function GetYahooStrings(Username, Password, Seed: string; Result1, Result2: PChar): Integer; StdCall; external 'yahoov12.dll' name 'Getyahoostrings';
0
 

Author Comment

by:MohammadrezaH
ID: 10866441
My problem not solved
delphi show a exception to me for : Access violation for write on part of memory.

tanx
0
Technology Partners: 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!

 
LVL 4

Expert Comment

by:mbprogrammer
ID: 10867100
maybe your dll is invalid , or something like this , cause I'm using this funciton and it works with above prototype.
0
 
LVL 17

Expert Comment

by:mokule
ID: 10867130

Do You allocate memore before call ?
0
 

Author Comment

by:MohammadrezaH
ID: 10867477
can you give me this dll + pas  file that work properly for YMSG V11.

tanx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

631 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