| Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 | 1. Creating an external function DLL in C #13351 | I am trying to create an external function in C and creating a DLL. I am following an old procedure I found that references the Reginald developer's Kit. I create a new empty Win32 DLL Project. I add the dll1.c and dll.def files to the project. I add the REXXSAA.h and Reginald.lib, both found on the kit. I compile. No errors. But when I craete my script and load the dll using the LIBRARY directive, I get.
The procedure entry point RexxAllocateMemory could not be located in the dynamic link library Reginald.dll
Any ideas?Chuck Simmons | 2. #13353 | Reginald uses a new format for add-on DLLs. I thought the latest version of the devkit has the tutorial and examples. | 3. #13354 | Got it. Thanks Jeff. Chuck Simmons | 4. #13356 Posted by: PeterJ 2010-08-09 20:24:58 | Chuck, were you able to open (import) one of the projects (xxxx.MDP) of DEVKIT? I tried it with Visual C++ 2010 Express and get conversion errors: e.g. "The following erro occurred during XML parsing: File xxxxx, Line 1 Column 1 Error Message: Incorrect document syntax, xxxx has failed to load. | 5. #13357 | I used VS 2008 and it converted and compiled perfectly. Chuck Simmons | 6. Got it running with Visual Express! #13358 Posted by: PeterJ 2010-08-12 15:21:13 | After a painful exercise I got the samples running with Visual C++ Express 2010, which is a limited but free version of Visual Studio. I may create a brief description if someone is interested. In fact it's a variation of Jeff's DLL walkthrough. | 7. #13470 Posted by: rxguy 2011-04-12 04:50:11 | I am trying to make dll as well using Visual Studio (VS) C++ 2008.
I've got version: 0.0.0.8 of rexx gui , 5.5.4 of reglite 13 Oct 2008 , 0.0.1.1 of Programmer Center
Did compile dll1 from devkit. VS 2008 made an upgrade report which looks like it needed to update fonts and colors.
Having trouble but maybe I don't have latest version of devkit. Where is that latest version? Can't find it on website.
I notice that RPC crashes (when it needs to save changes) quite a lot on Win 7.
And yes Peter I would be interested in your walkthrough. | Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 |
|
|