Re: cdecl support
- Posted by euman at bellsouth.net Feb 25, 2002
- 404 views
I was trying to follow the CAB file SDK. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q310618 I wanted wrappers written in Euphoria bypassing everything but the cabinet.dll file Euman euman at bellsouth.net Q: Are we monetarily insane? A: YES ----- Original Message ----- From: "Brian Broker" <bkb at cnw.com> To: "EUforum" <EUforum at topica.com> Sent: Monday, February 25, 2002 4:10 PM Subject: RE: cdecl support > > I looked at Mic's routines but they left me confused and it looked like > a bit of a hack job. > > For working with cab files, you might want to look into the Setup API: > > >From SDK: > You can extract files from a cabinet in two ways. The first and simplest > way is to take advantage of the automatic cabinet processing built into > the setup functions. > > <snipped details> > > The second way to extract files from a cabinet is by using > SetupIterateCabinet. This function iterates through each file in a > cabinet, sending a notification to a callback routine for each file > found. The callback routine then returns a value that indicates whether > the file should be extracted or skipped. > > I haven't used them myself but I don't think they require cdecl calls > (being Windows CALLBACKs and all...) > > -- Brian > > Euman wrote: > > Hi Brian > > > > I gave up about a week ago trying to get it to work properly. > > I tried Matts routines, Mic has some routines in his GLU project > > and some of my own routines that never seemed to work right. > > > > I can get handles to the Euphoria routine but when a .dll requires > > that these routines (Eu routines) be cdecl also, I threw up my hands. > > > > I too would like a work around cause I wanted to use cabinet.dll > > to extract files from compressed MS-Cab's. > > > > Euman > > euman at bellsouth.net > > > > Q: Are we monetarily insane? > > A: YES > > ----- Original Message ----- > > From: "Brian Broker" <bkb at cnw.com> > > To: "EUforum" <EUforum at topica.com> > > Sent: Monday, February 25, 2002 3:16 PM > > Subject: cdecl support > > > > > > > For Matt Lewis and/or Euman: Did you guys come up with a relatively > > > clean solution for defining cdecl callbacks? > > > > > > For Robert Craig: How long before a 2.4 alpha with cdecl support? > > > > > > For anybody with source: Anybody willing to build me a PD interpreter > > > with cdecl support? I'm getting frustrated without it. > > > > > > Thanks, > > > -- Brian > > > > > > > > >