Solved

please compile it for me to delphi

Posted on 2004-04-19
6
161 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
How our DevOps Team Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

825 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