please compile it for me to delphi

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.
MohammadrezaHAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mbprogrammerConnect With a Mentor Commented:
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
 
mokuleCommented:
Doesn't it work?

function GetYahooStrings(password,seed,result_6,result_96: PChar;  challengemode: integer): BOOL; stdcall;
0
 
MohammadrezaHAuthor Commented:
My problem not solved
delphi show a exception to me for : Access violation for write on part of memory.

tanx
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
mbprogrammerCommented:
maybe your dll is invalid , or something like this , cause I'm using this funciton and it works with above prototype.
0
 
mokuleCommented:

Do You allocate memore before call ?
0
 
MohammadrezaHAuthor Commented:
can you give me this dll + pas  file that work properly for YMSG V11.

tanx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.