
Convert 16 to 32 Bit's Api's-Urgent
This are the declares i need:
Declare Function GetProfileString Lib "Kernel" (ByVal AppName$, ByVal
KeyName$, ByVal Default$, ByVal RetStr$, ByVal nSize%) As Integer
Declare Function CreateDOC Lib "GDI" Alias "CreateDC" (ByVal lpDriverName$,
ByVal lpDeviceName$, ByVal lpOutPut$, x&) As Integer
Declare Function DeleteDC Lib "GDI" (ByVal hdc As Integer) As Integer
Declare Function OpenJob Lib "GDI" (ByVal lpDriverName$, ByVal
lpDeviceName$, ByVal LpHdc%) As Integer
Declare Function StartSpoolPage Lib "GDI" (ByVal HPJOB%) As Integer
Declare Function EndSpoolPage Lib "GDI" (ByVal HPJOB%) As Integer
Declare Function WriteSpool Lib "GDI" (ByVal HPJOB%, ByVal lpString As
String, ByVal nCount%) As Integer
Declare Function CloseJob Lib "GDI" (ByVal HPJOB%) As Integer
Declare Function DeleteSpoolPage Lib "GDI" (ByVal HPJOB%) As Integer
Declare Sub AnsiToOemBuff Lib "Keyboard" (ByVal lpAnsiStr$, ByVal lpOemStr$,
ByVal nLength%)
Some are equal only change for exemple GDI to GDI32 but the other's....
Thank's
Quote:
> You have to be a bit more specific... like what declares are
> you having trouble with. No one is going to list thousands
> of APIs here.
> Michael
> > I in Access 2.0 use Api's and work fine, when i convert to
> access 97 dont.
> > Some functions in 16 Bit's don't exist in 32 bit's, what
> are the
> > equivalenci?
> > Sorry my english