[fpc-pascal] PIC returns in 2.4?

2007-11-18 Thread urbansound
Hi, Currently the FAQ shows Position Independent Code generation is "currently broken" in the creation of shared libraries, (Future Plans shows 2.4 working to recover it). I tried to search the web site but the search system gives an error right now. Please, what version did PIC last work i

[fpc-pascal] fpc exec/shell vs win32API

2006-04-28 Thread urbansound
Hi, On XP/98, I've coded some successful file and directory action a couple of different ways with exec and the native Dos commands in FP that are working OK, but as I approach having to modify some current Windows run-time, the adopted Comspec, is not going to let me get to the current Win32

[fpc-pascal] Doc file errors

2006-04-25 Thread urbansound
Hi, I spent time yesterday trying to look up DOS commands on the FPC website and was unable to reference DosExitCode, Exec and some others I knew should have been there on the live pdf files. They're popping up in the PDF by search with a numeric hyperlink, but the hyperlinks are not referencing

Re: [fpc-pascal] Windows Type LPARAM, WPARAM

2005-09-02 Thread Urbansound
Please ignore this.  FPC has generated this as an error.  This is an old discussion from August - Original Message - From: Urbansound To: fpc-pascal@lists.freepascal.org Sent: Tuesday, August 16, 2005 9:25 PM Subject: [fpc-pascal] Windows Type LPARAM, WPARAM

Re: [fpc-pascal] Extended float to single and pchar types

2005-09-02 Thread Urbansound
Please ignore this. It is an FPC mailing list error, repeated from August - Original Message - From: "Urbansound" <[EMAIL PROTECTED]> To: Cc: "Matt Emson" <[EMAIL PROTECTED]> Sent: Tuesday, August 02, 2005 1:41 PM Subject: Re: [fpc-pascal] Extended

[fpc-pascal] Windows Type LPARAM, WPARAM

2005-09-02 Thread Urbansound
Hi,   I've been working with FPC 2.0.0 and Dev-Pas for some GUI efforts and another programmer pointed out an interesting thing, regarding the LPARAM and WPARAM types.  I hope I'm not kicking up old dust, but for the sake of clarification if we may...   The Microsoft architecture affiliates t

[fpc-pascal] HeapError variable access

2005-08-20 Thread Urbansound
Hi, I'm working with a unit someone developed for FPC in 2001. Compiling under FPC 2.0.0, I'm getting the following error... wErrors0.pp(279,23) Error: Identifier not found "HeapError" From this code segment... procedure SetHeapErrorHandle; //=== // Defin

Re: [fpc-pascal] Extended float to single and pchar types

2005-08-02 Thread Urbansound
- Original Message - From: "Matt Emson" <[EMAIL PROTECTED]> To: "Urbansound" <[EMAIL PROTECTED]>; "FPC-Pascal users discussions" Sent: Tuesday, August 02, 2005 11:26 AM Subject: Re: [fpc-pascal] Extended float to single and pchar types Ar

[fpc-pascal] Extended float to single and pchar types

2005-08-02 Thread Urbansound
Hi, I have a stdcall reference to a c based dll. called target.dll In c the setup is ... float Get_l1_BidPriceSingle(void* p); The Pascal reference is... function Get_l1_BidPrice(p : pointer) : single; stdcall; external 'target.dll' name 'Get_l1_BidPrice'; The end result is to allow a usage i

[fpc-pascal] C++ > C wrapper callback > Pascal Continues UPDATE

2005-07-27 Thread Urbansound
See bottom post - Original Message - From: "Urbansound" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 27, 2005 11:05 PM Subject: C++ > C wrapper callback > Pascal Continues Reply Peter and Tomas, is below, each... Thread pruned. 2. Re: C++ > C

[fpc-pascal] C++ > C wrapper callback > Pascal Continues

2005-07-27 Thread Urbansound
Reply Peter and Tomas, is below, each... Thread pruned. 2. Re: C++ > C wrapper callback > Pascal Continues (Peter Vreman) 3. Re: C++ > C wrapper callback > Pascal Continues (Tomas Hajny) -- Message: 2 Date: Wed, 27 J

[fpc-pascal] C++ > C wrapper callback > Pascal Continues

2005-07-27 Thread Urbansound
// PASCAL WRAPPER function being called is below DllExport void SetL1Callback(TL1Callback p) { DasApi.m_pL1Callback=p; }; SUMMARY: There seems to be nothing I can find that would cause a Runtime 217 in the layout and now finding C conversion of same is wor

[fpc-pascal] C++ > C wrapper callback > Pascal Continues

2005-07-26 Thread Urbansound
Urbansound wrote: Hi List, A Windows pascal application is recieving data from a C++, VisC API, which is set up as a class, and a conventional C wrapper, attempting to extend functionality into Pascal. C++ and C are vis 4.2 MFC function L1_Callback(quote : pointer) : integer; stdcall

[fpc-pascal] C++ > C wrapper callback > Pascal

2005-07-25 Thread Urbansound
Hi List, I'm probably over my head on this one and some of the FPC forum entries talk about limited functionality toward C++, but here goes. A Windows pascal application is recieving data from a C++, VisC API, which is set up as a class, and a conventional C wrapper, attempting to exte

[fpc-pascal] Re:MSG variable type, Windows GUI

2005-07-23 Thread Urbansound
Luiz wrote: active : BOOLEAN; message : MSG; hWindow,msg1 : hwnd; this should work Luiz Thumbs up Luiz, thank you. The second usage with msg1 was a typo on my part. Understandable that this was changed in the compiler. ;) active : BOOLEAN; mssg : MSG; hWindow : hwnd; Mike ___

[fpc-pascal] MSG variable type, Windows GUI

2005-07-22 Thread Urbansound
Hi, I encountered an FPC Win32, tutorial that uses the a declaration of variable "msg", declared as a MSG type, shown below. Dev-Pas IDE, FPC 2.00 gives an "error in type definition" and I find no doc references to MSG, variable type. Was this an earlier convention in FPC and if so, how was

[fpc-pascal] FPC 2.0.0 - Win32 and MySql 4.xx

2005-06-25 Thread Urbansound
Hi, I've battled over trying to figure out how to compile units and examples in FPC for MySql, until I'm blue in the face for hours. There are few examples or comments on Google that afford any straight answers, otherwise conflicted with older revs. I'm working from Dev-Pascal's IDE, on FPC