Re: Can open() from console app, not from dll

2003-04-01 Thread Danny Smith
--- Massimiliano Mirra <[EMAIL PROTECTED]> wrote: > Danny Smith <[EMAIL PROTECTED]> writes: > > >> I am able to open a file and write into it from a console application, > >> but the same fails when done from within a function that is stored in > >> a DLL and called from a Visual Basic applicatio

Re: Can open() from console app, not from dll

2003-04-01 Thread Massimiliano Mirra
Danny Smith <[EMAIL PROTECTED]> writes: >> I am able to open a file and write into it from a console application, >> but the same fails when done from within a function that is stored in >> a DLL and called from a Visual Basic application. > > VB expects stdcall convention. > Try adding WINAPI to

RE: Can open() from console app, not from dll

2003-04-01 Thread Danny Smith
From: Massimiliano Mirra > I am able to open a file and write into it from a console application, > but the same fails when done from within a function that is stored in > a DLL and called from a Visual Basic application. VB expects stdcall convention. Try adding WINAPI to OpenSomething You wil