Solved

please compile it for me to delphi

Posted on 2004-04-19
6
160 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
calling Tcolordialog in dll make the form disappear 8 103
Delphi TcxGrid group footer summary 3 210
Simple Delphi Question 9 83
can't find the executable in Simulator 1 80
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now