Page 4 of 7
Posted: Sat Aug 09, 2008 7:03 am
by inc.
When its bugfree you can provide it via your webspace as its still your core. I would apreciate it. The link further below in the gui also points to your realsorce.de webspace.
Posted: Sat Aug 09, 2008 11:44 am
by ts-soft
Okay, i will add it to realsource.de the next days, thanks
Posted: Sat Aug 09, 2008 1:01 pm
by SFSxOI
@inc;
in the include you posted for download there is a problem with this procedure:
Code: Select all
Procedure GetNumberOfParam(Pointer.l)
This line: Pointer = DisASMCommand(Pointer)
throws an invalid memory access error here on Vista
Posted: Sat Aug 09, 2008 7:33 pm
by byo
One thing:
If you load a DLL that depends on another DLL the program will not load either of them and will show an error message.
Posted: Sat Aug 09, 2008 10:40 pm
by inc.
SFSxOI wrote:@inc;
in the include you posted for download there is a problem with this procedure:
Code: Select all
Procedure GetNumberOfParam(Pointer.l)
This line: Pointer = DisASMCommand(Pointer)
throws an invalid memory access error here on Vista
The Include is ok, no Problem here.
Thats due a problem with the PB's OnError Lib of current 4.20 v.. Do search in the forum for a bugfixed version provided as separate download.
Posted: Sat Aug 09, 2008 10:42 pm
by inc.
byo wrote:One thing:
If you load a DLL that depends on another DLL the program will not load either of them and will show an error message.
What kind of dlls? Do provide both of them.
... and what kind of error message???
Posted: Sat Aug 09, 2008 10:45 pm
by Inf0Byt3
I got this message too... It's when you load a DLL that is directly connected to another (not from the system). DLL2PBLib says that the dll could not be found if you load one of them. The solution is to copy DLL2Pblib's executable in the same directory as the DLL's and it will work.
Posted: Sun Aug 10, 2008 12:31 am
by inc.
Did it work with the old previous version, means DLL2Lib (coming with the light yellow IconList background)
Posted: Sun Aug 10, 2008 1:00 am
by ts-soft
I think a simple "SetCurrentDirectory" before load the DLL should solve the
problem, but i have no time at the moment.
Posted: Sun Aug 10, 2008 11:12 am
by inc.
Try this one, as beside implementing "SetCurrentDirectory_(...)" it got some additions:
http://www.file-upload.net/download-103 ... 6.zip.html
Version 1.5.6
- Code is Unicode compatible
- For PB function names the underscore "_" prefix will only be deleted on StdCall naming decorated dll function names
- Functions coming with a "?" as first letter will be unchecked per default as these do result from C++ non 'Extern "C" {...}' exported functions.
- support of Quad and Double return types
- Functionpointer check in the resulting inlcude code now only uses 'Debug' and 'CallDebugger' in case of functionpointer is zero.
If the issue regarding a 'dll called from the loaded dll' is still present, I need from byo or Inf0Byt3 those two -from each other dependand- dlls to test.
Posted: Sun Aug 10, 2008 1:48 pm
by Little John
inc. wrote:Try this one, as beside implementing "SetCurrentDirectory_(...)" it got some additions:
http://www.file-upload.net/download-103 ... 5.zip.html
- Code is Unicode compatible
- For PB function names the underscore "_" prefix will only be deleted on StdCall naming decorated dll function names
- Functions coming with a "?" as first letter will be unchecked per default as these do result from C++ non 'Extern "C" {...}' exported functions.
- support of Quad and Double return types
- Functionpointer check in the resulting inlcude code now only uses 'Debug' and 'CallDebugger' in case of functionpointer is zero.
Since there seem to be significant changes, wouldn't it be better to use a new version number in order to avoid confusion?
Regards, Little John
Posted: Sun Aug 10, 2008 1:53 pm
by inc.
Yes, I forgot ... thanks for the hint.
done.
Posted: Sun Aug 10, 2008 3:14 pm
by SFSxOI
inc. wrote:SFSxOI wrote:@inc;
in the include you posted for download there is a problem with this procedure:
Code: Select all
Procedure GetNumberOfParam(Pointer.l)
This line: Pointer = DisASMCommand(Pointer)
throws an invalid memory access error here on Vista
The Include is ok, no Problem here.
Thats due a problem with the PB's OnError Lib of current 4.20 v.. Do search in the forum for a bugfixed version provided as separate download.
I can't find any official updated OnError Lib in the forums. Did I miss something?
EDIT: never mind, found it, it was in...wait for it....Duh!
http://www.purebasic.com/update/windows/ < in case the rest of the class needs it also

Posted: Sun Aug 10, 2008 3:53 pm
by byo
Hi, inc.
Thanks for the update. Now it's working great with the same DLLs I mentioned.
Some sugestions:
- Could you please add the option for the user to resize the window or maximize it? I like to work with the project maximized no matter what resolution I choose.
- In the File menu, "projekt" should be "project" if the language selected is English.
- How about an option to choose between Prototype and CallFunctionFast ways of exporting functions? Although prototyped functions are great, they don't appear in the IDE as procedures making it difficult to look for a specific procedure.
Keep up the good work, buddy.

Posted: Sun Aug 10, 2008 4:22 pm
by inc.
byo wrote:Although prototyped functions are great, they don't appear in the IDE as procedures making it difficult to look for a specific procedure.
You also should put that on the whishlist for the next PB release.