Solved

please compile it for me to delphi

Posted on 2004-04-19
6
158 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 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 tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

13 Experts available now in Live!

Get 1:1 Help Now