Page 1 of 1

PureBASIC 4.20 DLL Vs VISTA crashs ..

Posted: Tue Jun 17, 2008 10:11 pm
by freddix
Hi all,

I have a .DLL I develop that work perfectly under Windows XP
Then problem is that under Windows VISTA it crash.
The only solution to fix the crash is to run it in Windows 98 compatibility mode under Windows VISTA.

Does someone have any clue from where it can came ?

Thank you.

Regards,
Fred

Posted: Tue Jun 17, 2008 10:14 pm
by ts-soft
Where is the code? What API a using, DirectX using? and so on

The informations to small to help you
:wink:

greetings
Thomas

Posted: Tue Jun 17, 2008 10:20 pm
by freak
Please only post in the Bugs section if you are certain it is a bug.

Also read this:
http://www.purebasic.fr/english/viewtopic.php?t=4701

Posted: Tue Jun 17, 2008 10:23 pm
by freddix
@ts-soft:
it's a simple calculation DLL there are no API calls, no DirectX calls ...
The most strange is that it's a group of DLL I've created and only 1 of them does not work ...

@freak:
It's a group of 21 DLLs I've created for various wrapping/calculations.
20 of them work perfectly on Windows XP and Windows VISTA
1 of them crash (at setup apparently) on Windows VISTA. If I use Compatibility mode set to Windows XP, it crash too, if I use compatibility mode set to windows 98, it work ...
Personnaly I think it's a bug ... as each 21 DLL use the same setup scheme ... and 20 of them works perfectly on each OS ...

1.PureBASIC 4.20 version
2.No TPC lib used.
3.Yes, it work on Windows XP and on Windows VISTA compatibility to 98.
4.I Agree that I miss this is a MOD want to move this thread to the QUESTION SECTION, do this.
5.It's ok with this. not a problem of that kind.
6.All users that use my DLLs report the same issue with the same DLL file.
7.I will try to make changes in the DLL setup to check if the problem is here ...
8.I can't distribute the code cos it's a commercial product.
9.PureBasic 4.x
10.Dual Boot WINDOWS XP PRO + Windows VISTA ULTIMATE
11. already done.
12.ok

Posted: Tue Jun 17, 2008 10:37 pm
by blueznl
Show source.

Posted: Tue Jun 17, 2008 11:02 pm
by srod
I am currently developing a rather sizeable dll which is very complex indeed. It runs fine under Vista / XP / ...

As has already been said, we need to see some code.

Posted: Tue Jun 17, 2008 11:19 pm
by Kale
If its a commercial product and your sure you've run up against a bug you can always discreetly send code directly to Fred for review. I know he has said this before in the past.

Posted: Wed Jun 18, 2008 2:54 am
by Rook Zimbabwe
He has never breathed a word of my code! 8)

But lets face it he was probably giggling his head off at it! :oops:

Posted: Wed Jun 18, 2008 9:53 am
by srod
:lol:

Posted: Wed Jun 18, 2008 10:08 am
by freddix
it's what I'll do.
I will send directly the code to Fred.

thank you all.