--- 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
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
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
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.
This is the console app:
,
| #include
|
| int main (int argc, char * argv[]) {
| int fd;
| char
4 matches
Mail list logo