Re: Pointer to an array of pointers
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Wed, 10 Aug 2005 17:27:16 +0100
> I used a direct declaration, no alias :
>
> Public Declare Function AVISaveV Lib "avifil32.dll" (ByVal szFile As String, _
<snip>
Be very careful when using this function declaration since you don't know whether you're calling the ASCII or Unicode
version of the call (it depends what compile flags were set when the DLL was built..) To be on the safe side it's best
to explicitly call the ASCII version of the call (or Unicode if you require wide string support), grab the function
declaration from my prior post if you need it. The two versions of the call are dealt with differently from VB which is
why you need to know which version you're calling.
> Yes, i tried the Mike solution, but it is crashing VB6 (?!?!).
>
> But after your post and other Mike´s post i´m sure that this is the way. I
> will try to bypass this, i need to think.
>
> Thanks you all guys, i will return to this issue if it melt my brain
Have a look at the comments in Ray's code on the subject:
http://www.shrinkwrapvb.com/avihelp/mAVIDecs.bas
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: Pointer to an array of pointers
- From: E Camargo
- Re: Pointer to an array of pointers
- References:
- Pointer to an array of pointers
- From: E Camargo
- Re: Pointer to an array of pointers
- From: Mike D Sutton
- Re: Pointer to an array of pointers
- From: E Camargo
- Re: Pointer to an array of pointers
- From: YYZ
- Re: Pointer to an array of pointers
- From: E Camargo
- Pointer to an array of pointers
- Prev by Date: Re: Printer.Font.Name funnies
- Next by Date: Re: Convert String to Code
- Previous by thread: Re: Pointer to an array of pointers
- Next by thread: Re: Pointer to an array of pointers
- Index(es):
Relevant Pages
|