Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-08-13 Thread Felipe Monteiro de Carvalho
Yes, that was it =) Excellent. I assumed it wasn't merged because no answer was given to my e-mail. This is pretty good for that part of the book =) thank you, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-08-13 Thread Marco van de Voort
Yes, that was it =) Excellent. I assumed it wasn't merged because no answer was given to my e-mail. This is pretty good for that part of the book =) Well, that fix, and the win32/win64 can use more than 2GB fix (peflags directive) should be the only differences between rc2 and the final

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-28 Thread Felipe Monteiro de Carvalho
Reminder, thanks On Tue, Jul 22, 2008 at 12:58 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 10:59 AM, Marco van de Voort [EMAIL PROTECTED] wrote: Fixed, added some more clsid constants in the process r11434 Could the fix be merged to 2.2.2? I would like

[fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Felipe Monteiro de Carvalho
Hello, I created a very simple program to create a shortcut in the desktop, but it crashes with EOLESysError (nothing else in the error message). I tryed to google, but it didn't show much. Am I missing some kind of initialization call that should be made? thanks, here is the full program. {

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Marco van de Voort
I created a very simple program to create a shortcut in the desktop, but it crashes with EOLESysError (nothing else in the error message). I tryed to google, but it didn't show much. Am I missing some kind of initialization call that should be made? thanks, here is the full program. I'm no

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Felipe Monteiro de Carvalho
Thanks, but it didn't solve it. The same code (+coinitialize) works in Delphi 5. Maybe it's the dispinterfaces problem in fpc? Is it expected to work in 2.2.2 or in 2.3.1? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Marco van de Voort
Thanks, but it didn't solve it. The same code (+coinitialize) works in Delphi 5. Maybe it's the dispinterfaces problem in fpc? Is it expected to work in 2.2.2 or in 2.3.1? I suspect it is in the classid. (the clsid_ constant). Apparantly when I converted the headers, I thought there only was

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Marco van de Voort
DEFINE_SHLGUID(CLSID_ShellLink, 0x00021401L, 0, 0); // 00021401---C000-0046 while the iid starts with 000214EE Fixed, added some more clsid constants in the process r11434 ___ fpc-pascal maillist -

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Inoussa OUEDRAOGO
Apparantly when I converted the headers, I thought there only was one ID. However it seems that classids, and the ids in interfaces are different. I don't know enough from com to understand the difference, classids are used to identify implementation objects, while iid identify interfaces as

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Marco van de Voort
Apparantly when I converted the headers, I thought there only was one ID. However it seems that classids, and the ids in interfaces are different. I don't know enough from com to understand the difference, classids are used to identify implementation objects, while iid identify

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Inoussa OUEDRAOGO
2008/7/22 Marco van de Voort [EMAIL PROTECTED]: Apparantly when I converted the headers, I thought there only was one ID. However it seems that classids, and the ids in interfaces are different. I don't know enough from com to understand the difference, classids are used to identify

Re: [fpc-pascal] EOLESysError calling CreateOLEObject

2008-07-22 Thread Felipe Monteiro de Carvalho
On Tue, Jul 22, 2008 at 10:59 AM, Marco van de Voort [EMAIL PROTECTED] wrote: Fixed, added some more clsid constants in the process r11434 Could the fix be merged to 2.2.2? I would like to use the example in the Lazarus book, which will most likely come after 2.2.2 thanks, -- Felipe Monteiro