IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox Group Home
-Collapse +Expand Message Board
-Collapse +Expand Paradox KB
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Paradox Store
PRESTWOODSTORE
-Collapse +Expand Members Only

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding Board     Print This   

Paradox Third Party Software, DLLs, and Controls Topic

Third party software including Workbench for Paradox, DLLs, DLL usage, psSendMail DLL, ActiveX controls, etc.
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

Thread 25 of 25
Thread Starter  

Lars81
GPF when using ActiveX-Objects (MSXML)
hello, im using Microsoft XML Core Services (MSXML) to parse and create XML-documents. when i call certain methods of the oleAuto-objects, Paradox crashes when reaching the endMethod statement, (the code is in the pushButton event of a button). That brought me to the conclusion, that the problem could be the "releasing" of oleAuto-variables. so i´ve put the variable-declarations to the form. if i debug the code, the, GPF doesn´t appear at the endMethod of the Button anymore, but still occurs when exiting the program. So i might be right that the problem is where it comes to release variables.  Explicit close() orders of the OLE-objects do not solve the problem. Anyone got an idea? I really need that MSXML to work :-( Other MSXML-Methods work very well, like searching XML-files via XPath for specific elements etc. . here comes the code and the xml-files., the code validates the xml-file against the xml-schemafile, (code and xml-files are from the microsoft ...
4 months ago
2 replies. Last post:

Lars.8
hello, i just want to give you a short summary of the problem i had and a fix / workaround for it, since it may help with other activex- and general protection faults issues: , when calling certain methods (my assumption is, that maybe pointers are the problem) of activex-objects, paradox crashes, usually with a general protection fault. in most cases, this happens right before the endmethod-statement is reached. that brought me to the assumpti...
112 days ago
Nothing New Since Your Last Visit
357
Hits

Thread 24 of 25
Thread Starter  

kevin_baker
ProView
{Too Long}
47 months ago
7 replies. Last post:

Anonymous
Thanks for this information. I am migrating to Win7 finally, and this was very helpful in saving my bacon, er . . . I mean my ProView.---JoeCoffee
12 months ago
Nothing New Since Your Last Visit
3073
Hits

Thread 23 of 25
Thread Starter  

gbash
Paradox V9.0 Devl Ed
Howdy All, My HeadAche is that I CANNOT locate a (Genuine) Copy of Paradox V9.0!! If anyone can Help With a Genuine Copy, I would be happy to Puchase Same (Manuals Incld) for a reasonable Price. Trying to find the above is like trying to find a needle in a haystack.. NOT that I'm overly SURPRISED. ANYWAY if U Can Help, Please email me direct on gbash@optusnet.com.au with Words Paradox v9 included in the Subject!! thks PSS: Since Posting  2 day agao I HAVE NOW acquired Corel Paradox 9.0 - TKS ANYWAY!
25 months ago
Nothing New Since Your Last Visit
839
Hits

Thread 22 of 25
Thread Starter  

philmarcus
VeryPDF PDF Form Filler SDK
Has anyone used this form filler with Paradox/OPAL?  With success?  If so, any pointers?  Any other PDF form filler one can use programmatically?, Phil,
28 months ago
1 Reply:

mprestwood
Hi Phil, many solutions but PDF995 seems to be what my ObjectPAL developers prefer. Try it out and let me know. It does cost $9.95 but it's well worth it.
28 months ago
Nothing New Since Your Last Visit
865
Hits

Thread 21 of 25
Thread Starter  

davidc
ChimneySweep 6.0
Has anyone else tried this software?I've heard previous versions recommended many times, but I just got the current version (6.0) and I'm having a _lot_ of issues with it.I've sent an email to them about it - waiting for a response.I'd be happy to provide specifics of the issues if it would be helpful. 
29 months ago
2 replies. Last post:

dcheney
Sounds like similar problems to what I was hitting.I also received an email about a "bad build" and I'm awaiting further information.I'm glad its not just me ;-) 
29 months ago
Nothing New Since Your Last Visit
1803
Hits

Thread 20 of 25
Thread Starter  

abp
get going with dll's
{Too Long}
43 months ago
1 Reply:

ric_shumack
Beth, I'd ignore all the info about .tlb files.  These are definition files that let your app see the objects/methods/properties of the objects in the DLL once they are linked.  Unless you need to debug the calls to the dll, you shouldn't need to bother with this. You seem to want a return from the dll - the sample code : GetBatchStatus(status CPTR) String does not retrieve anything from the dll call.  Is it meant to tell you w...
43 months ago
Nothing New Since Your Last Visit
1438
Hits

Thread 19 of 25
Thread Starter  

abp
OLE and Arrays?
{Too Long}
43 months ago
1 Reply:

ric_shumack
Hi Beth, Sounds like the old typeCasting problem.  Don't know if this will help - but can you use a generic type for the argument?  I'm guessing this is Delphi - and it's been a while - but the argument type has to be some thing generic like "anytype".  You can then re-cast it as an array once you have the return value.  Ric
43 months ago
Nothing New Since Your Last Visit
1018
Hits

Thread 18 of 25
Thread Starter  

tim_mott
Database Synchronisation
Does anybody remember a version of Paradox that was shipped with a synchronisation utility?  The utily was a third party app that would sync a local and remote database so changes in data on one would updated to the other.  I am developing an application that would be deployed on laptops and these would sync with a central database as and when convienient - maybe someone knows a better way to to do this?  We have abandoned terminal services, i haven't even attempted a paraodx web app...
48 months ago
Nothing New Since Your Last Visit
1146
Hits

Thread 17 of 25
Thread Starter  

pronegot
Configure, open and read serial port using OPAL?
Hi !, There is a way to configure, open and read serial port using OPAL?, I must send/receive commands to an Electronic Cash Register., Many thanks for your reply. Dumitrescu S.
58 months ago
6 replies. Last post:

pronegot
Interesting, i always want to know the differences  ! You are very amiable and a good teacher. A nice day ! 
58 months ago
Nothing New Since Your Last Visit
2226
Hits

Thread 16 of 25
Thread Starter  

jonm
ActiveX "sometimes" registers
I have an ActiveX component that I wrote in VB to access a BarCode Label product. When I run the following code it registers on some machines, but others I get an error that says component can not self register. Any ideas:, , if RegisterControl(stringVar) then, msgInfo("Congrats", "Control Registered"), else, errorShow(), endIF, , This is for a Paradox 9 app with the latest patch on Win 9x machines.
12 years ago
1 Reply:

mprestwood
Adding to this thread for lurkers... ObjectPAL's registerControl() and unregisterContro() only work if the ActiveX control supports self-registering. Self-Registering means that the control enables ObjectPAL to register and unregister the control at run-time. In other words, you register the control with ObjectPAL if the ActiveX is enabled for self-registering. You don't have to work with the Registry. Although you don't need to know this from ...
59 months ago
Nothing New Since Your Last Visit
983
Hits

Thread 15 of 25
Thread Starter  

Moet
DLL Uses Commands
Hi, , , trying to setup references to DLL file. The DLL has several methods, which i have example code for for Access, VB, ASP not Paradox (surprisingly!) Most of the methods work fine for eg,, , Uses afdnn32, GetPostcode(nnRec CPTR, RecNo CLONG, nnFlags CLONG) CLONG, endUses, , this method in Access looks like this,, Declare Function GetPostcode Lib "afdnn32.dll" (nnRec As nnRecType, ByVal recNo As Long, ByVal nnFlags As Long) As Long, , Not a problem, the problem is the following method, which in MS Access looks like this..., , Declare Function FastFindGetFirst Lib "afdnnfind.dll" (ByVal str As String, ByVal oldpcode As String, ByVal pCode As String, addrNo As Long) As Long, , In Paradox I have,, FastFindGetFirst(str CPTR, oldPcode CPTR, pcode CPTR, addrNo CLONG) CLONG, , the problem with the FastFindGetFirst method in MS Access is the addrNo data type is not declared 'ByVal', my problem is in Paradox I can only seem to declare addrNo as a variable and not a pointer which i think it ...
7 years ago
4 replies. Last post:

stevecaple
I'm glad you found that doc error - I was out of ideas about why it wouldn't work. , , Steve
7 years ago
Nothing New Since Your Last Visit
1756
Hits

Thread 14 of 25
Thread Starter  

RayfromOz
Looking for a Delphi style TreeView component for
Has anyone toyed with a data aware TreeView component activx or ocx Dll etc, that provides functionality similar to the DBTreeView that is in the WllToWll/InfoPower sets for Delphi. Is the List object provided with Paradox 9/10 the answer if so where is the documentation to get indented lists that behave with multiple one to many table structures that would form a drillable outline., , If anyone has please let me know. This is a key missing object in an otherwise pwerfull toolset. , (as I am new to the forum my background in Paradox goes back to building EIS systems in Pardox 3.5 back in 1991 to developement of Enterprise valuation and activity forecasting systems for lage Australian Companies today using Paradox10 and Delphi7)
8 years ago
1 Reply:

raysans
Well, it was late here in oz so I didn't look at the hop to and being a first time user you better tell me where I should stick it? is it Object pal or Paradox power programming? , , Oh by the way thanks for the help I would have thought that given paradox's paradoxical marketing and failing distribution state I might have been greeted with a helpful response rather than another question.
8 years ago
Nothing New Since Your Last Visit
1358
Hits

Thread 13 of 25
Thread Starter  

Meta
Passing parameters to Delphi DLL
I have problems in using DLL written in Delphi., A friend programmed a DLL in Delphi , containing function with parameters:, , RToMR(AURL,ACert,AReq,AResp:PChar;ARespLen:DWORD):DWORD;, , In my script the function is declared in uses block:, Uses rd2mr, RToMR(AURL CPTR, ACert CPTR, AReq CPTR, var AResp CPTR,var ARespLen CLONG ) CLONG, endUses, , In Paradox 9.0 script the function is called:, , retc = RedarstvoToMRVL(AURL,ACert,AReq,AResp,ARespLen), , where variables are declared as follows:, var, AURL String, ACert String, AReq String, AResp String, ARespLen LongInt, retc LongInt, endvar, , AURL, ACert and Areq are filled with values, AResp is filled with number of blanks and ARespLen is the length of AResp., , Still the error occurs:, "Access violation at address 03513577 in module 'rd2mr.dll'. Read of address 00000064" - this is the area of AResp, which I filled with 100 asterisks., , I suppose there's an error in passing parameters - I intended to pass first three parameters by value...
8 years ago
1 Reply:

Tony.M80
I think this is something you are going to need to work out with the developer of the DLL., , Although if I recall correctly I don't use the 'VAR' in the USES section.
8 years ago
Nothing New Since Your Last Visit
1257
Hits

Thread 12 of 25
Thread Starter  

abp
DLL Uses Block
Boy, oh boy, I am having a lot of trouble with this dll business. I've worked a little bit with it in the past regarding Windows user32.dll, but basically I found some code, copied it, pastied it, and poof it worked. Now I'm trying to make heads or tails of it from the small documentation in Paradox 10 and the specs I have regarding the dll file but I just get one GPV after another. Can someone help?, , I'm trying to create the uses block with the following specs (specs from VC Sample Code):, , Boca.dll, , Routine Name: proc_address, Calling Parameters: HINSTANCE hinstLib, Return Value: Integer, , Routine Name: Find_USB_Printers, Calling Parameters: None, Return Value: None, , Routine Name: Locate_Device, Calling Parameters: BOOL fUseDefault, int Index, Return Value: USB_HANDLE hUSB , , Routine Name: Read_Data, Calling Parameters: USB_HANDLE hUSB, PVOID pBuffer, DWORD dwSize, int Pipe, Return Value: None, , Routine Name: Write_Data, Calling Parameters: USB_HANDLE hUSB, PV...
10 years ago
1 Reply:

mprestwood
Any luck with this issue? I've used quite a few DLLs with Paradox and developed quite a few Win32 API calls, are you still having trouble?
9 years ago
Nothing New Since Your Last Visit
894
Hits

Thread 11 of 25
Thread Starter  

abp
DLL & General Protection Errors
Anyone had any experience with General Protection Faults when calling a Windows DLL?, , I'm working on Paradox 10 on Windows XP and I'm using the following command:, , ExitWindowsEx(0,0), , It works in conjuction with the form uses:, , "user32.dll", ExitWindowsEx(uflags clong, dw clong), , This code works just fine in some of my forms but others seems to be problematic. On the problem forms, when the ExitWindowsEx(0,0) line is executed it consistantly produces an Unexpected General Protection Violation Error...lovely. Bomb! , , I just can't figure out how to fix it....any suggestions?, Think! , abp
10 years ago
1 Reply:

Tony.M80
I've seen LOTS of GPF in conjunction with libraries., , Generally, you want to put USES for Windows stuff in its own library. Anything over 64k in size and the GPFs start showing up.
10 years ago
Nothing New Since Your Last Visit
981
Hits

Thread 10 of 25
Thread Starter  

Dieter.Bartmann
How to pass a NULL pointer to a DLL
I need to have access to some system DLLs from Microsoft. In some cases it is possible for example to get the size for a transfer/string buffer by passing first a NULL pointer to the function, later allocating space for that buffer and later call the same function with the address of that buffer., , For the second functionality it is necessary to declare the function in the Uses section with a CPTR argument (instead of CLONG, which allows directly to generate the NULL pointer). By this way every variable is passed by its address. How can I now directly pass a NULL pointer to the function without using an intermediate DLL exporting two different functions covering the two different functionalities by calling the desired function in the original DLL with different arguments?
10 years ago
Nothing New Since Your Last Visit
1509
Hits

Thread 9 of 25
Thread Starter  

sfriedberg
Can't install Paradox Workbench
I just downloaded (twice) the demo version of Prestwood's Paradox Workbench (wb12-beta1.exe)., , Unzipping and invoking setup appear to work normally, and the readme item is added to the NT start menu. But it doesn't seem to hook itself into the Paradox Tools menu item. I have rebooted after installation, to no effect., , Running Paradox 8.00.302 on NT 4.0 w/SP6a., , Any suggestions?
13 years ago
3 replies. Last post:

mprestwood
JimF:, , For now, the Paradox 9 is the only trial version. With 9 I added an "unlock" feature. The previous versions don't have that unlock feature., , Mike
11 years ago
Nothing New Since Your Last Visit
1218
Hits

Thread 8 of 25
Thread Starter  

Sergio
Using External DLL
Hi, i┤m trying to use an external dll to control a hardware system, and i can┤t figer out how it works. The problem is that the manufacture only knows how to use c and has no idea what paradox is!, Here┤s the problem:, I should call a dll function in this way:, , pbGetRawImage(OUT void *image), , Description:Gets an image from the sensor.One byte in image corresponds to one pixel from the sensor. A byte value of 0 means a black pixel, 255 means a white., Parameters:[OUT] *image - pointer to where the image is to be stored. This buffer must be of sufficient size, call pbGetRawImageSize() to determinate the correct number of bytes., , OK! How do I make this work in paradox, and how can i make a file whith the image?, , Any help?, Thanks in advance,, Sergio
12 years ago
1 Reply:

joeng1
Here is an example to use TutilityÆs dll., , Uses Tutil32, TUInit(pTUSession CPTR) CLONG, EndUses, , Your would look something like this:, , Uses your-dll-name-here, pbGetRawImage(OUT void *image), EndUses, , Your parameter, OUT void *image, may not work as is. , , To use it:, Other codes..., PbGetRawImage(whatever parameter here), ...More codes, , Can't help you on the parameter.
12 years ago
Nothing New Since Your Last Visit
935
Hits

Thread 7 of 25
Thread Starter  

deleted_member
Trouble passing floating-point parameters to C++ D
Hi everyone., , , I've been working on a problem off and on for a while now. Perhaps someone here can help me figure out what's going on. I apologize in advance for this being a little long, but I don't want to skip any details that may be important., , Last summer I made an attempt to migrate a Paradox 7 (32-bit) application to Paradox 9. Everything went smoothly, until I noticed a floating-point parameter passing problem between Paradox 9 and a C++ DLL. Any floating-point values that were passed to a function in the DLL were being received as garbage. I finally had to abort the project and stick with Paradox 7, which had no issues with the DLL., , Recently, I have come back to this task with some more ideas, but every attempt I have taken has failed. I have simplified the code down to the extreme basics in order to isolate the problem. Here is what it looks like:, , [i], C++ code, (C++ Builder 4 - Created new DLL, and added the following test function.), [/i], , [b], extern "C...
12 years ago
1 Reply:

deleted_member
Well, here's an update: I haven't figured this one out yet!, , I'm still hoping to find someone who can either (a) back me up on this one and say, "Yeah, I tried that too and it's just not happening with Paradox 9" or (b) point me in the right direction., , I've spent more time than I care to admit working on this problem. Extensive research through books, the Internet, and my own posted questions have gotten me nowhere. I called Corel about th...
12 years ago
Nothing New Since Your Last Visit
834
Hits

Thread 6 of 25
Thread Starter  

rt
A pain in the...[Workbench]
Not wishing to be a pain in the.. ummm .. because you are are such busy people, but did you have a chance to look at the couple of problems I sent in regarding the Workbench. Do you want me to send 'em in again?, rt
12 years ago
4 replies. Last post:

rt
Did you ever get a chance to look at this one? I f you need the original question then let me know!, rt
12 years ago
Nothing New Since Your Last Visit
1136
Hits

Thread 5 of 25
Thread Starter  

DELTASOFT
Use DLL with callback function
Sorry for my poor English ...., , I need to use a function into a DLL, the function has as parameter :, a callback function declared in C/C++, int(CALLBACK *func)(long len) int flag), a callback function declared in VB, byval func as long)(byval len as long )as long, , How to convert the type of parameters ?, , How to call the function with a function ?, , I am halted !!!!, , Thanks
12 years ago
2 replies. Last post:

DELTASOFT
Thank,, , But its not possible to use this DLL ???, , I must to resolve this problem by another way !
12 years ago
Nothing New Since Your Last Visit
1062
Hits

Thread 4 of 25
Thread Starter  

DELTASOFT
Uses DLL with Callback function
Sorry for my poor English ...., , I need to use a function into a DLL, the function has as parameter :, a callback function declared in C/C++, int(CALLBACK *func)(long len) int flag), a callback function declared in VB, byval func as long)(byval len as long )as long, , How to convert the type of parameters ?, , How to call the function with a function ?, , I am halted !!!!, , Thanks, , , ------------------, LD, , [This message has been edited by DELTASOFT (edited March 05, 2001).]
12 years ago
Nothing New Since Your Last Visit
788
Hits

Thread 3 of 25
Thread Starter  

rt
Workbench
Mike Prestwood, Can I repost the 2 queries I sent a while ago both regarding the workbench. I know I have changed email address's so if you have replied, whoops in advance otherwise .., , 1. A little problem occurs when using the Workbench to view the source code for a query via the Inspector module, the message is -, "Error occurred trying to execute the specified program., #FormData1:mouseExit::0", , 2.This is the more important topic at the moment ... is there any way when, using the data fill option for a table, that the "fill" that is inserted can be made to abide by the various field entry mask/criteria that I have put on the various table fields rather than just swamping all fields with arbitary "fill". I would not mind even if I had to blast the table a few times to fill it up as at least it would also give the data entry masks etc a good workout!, And finally, dare I mention did you ever did get the chance to do anything on the PDE chapter!, Actually I dont know how you do an...
12 years ago
Nothing New Since Your Last Visit
1008
Hits

Thread 2 of 25
Thread Starter  

manuzzi
C++ DLL's
I am new to Paradox 9 and would like use C++ and the BDE to directly import a 20,000 record flat file right into a table. I have two questions, 1st, is this possible (with C++ Builder I assume..) and on a much more basic level, how to I access a C++ compiled DLL? I have started with:, , extern "C" int SomeFunct(void);, , int SomeFunct(), {, return 50;, }, , In the TESTDLL dll which I have in the uses block of the object. It compiles fine but I keep getting the message "Cannot find reference 'SomeFunct' in DLL." It appears to load and find the DLL but can't find the function. I'm currently using MSFT Visual C++ for this simple test. Any help appreciated.
12 years ago
3 replies. Last post:

Dieter.Bartmann
It seems to be related to case sensitivity., As long as you use the standard type of use endUse block like, , Use, Myfunc (wparam1 CWORD,, dwParam2 CLONG,, lpszParam3 CPTR, ) CWORD, endUses, , Paradox translates this to MYFUNC. , C or C++ however by default uses case sensitive exports (MyFunc). You have to declare the exported functions with all UpperCase in the module definition file and probably to tell the linker to ...
12 years ago
Nothing New Since Your Last Visit
1191
Hits

Thread 1 of 25
Thread Starter  

abp
ActiveX Progress Bars
I'm looking to find info on how to work with ActiveX Progress Bars, and for that matter the other ActiveX tools too. I can't seem to find anything. Does someone have any info for me or atleast point me in the right direction?
12 years ago
1 Reply:

pedrogato
method arrive(var eventInfo MoveEvent), VAR, uole , uole2 oleauto, d1 date, T1 , T2 TCURSOR, S , S1 , sact STRING, dd smallint, n,M longint, FS FILESYSTEM, ENDVAR, t1.open("frirot"), n=t1.nrecords(), uole2.attach(vpro2), uole2.setrangeandstep(1,n,0), uole2.pos=1, M=0, t1.edit(), t2.open("clientes"), scan t2 for t2."importar" = "N":, WHILE T1.LOCATE("NEXP", t2."codigo"), t1.deleterecord(), T1.POSTRECORD(), MESSAGE(T2."CODIGO",T1."NEXP"...
12 years ago
Nothing New Since Your Last Visit
799
Hits

New Thread
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


803 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech