Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / compiled exe problem

Author
Message
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 1st Apr 2014 20:54
Hi guys.

unfortunately I can't demonstrate code because the project is very big.

however, the compiled exe for the project works fine on my computer at work (win 7 business edition ) and for home (win 8.1 home edition.)

the company I work for, have purchase new (win 7 laptops business edition) and so the compiled exe does not execute at all, NOT EVEN WITH ERROR MESSAGE.

my colleague noticed that the executable doesn't work when the CPU is intel i7. (I don't think somrthing to do with it but maybe).

any one familiar with the problem?

tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 1st Apr 2014 20:58
My PC is an i7 so that's probably a coincidence.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Apr 2014 00:00
I too have an i7 and don't have any problems. You could try installing DX 9.0c and see if that helps.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 2nd Apr 2014 01:14
Quote: "unfortunately I can't demonstrate code because the project is very big."


Have you checked to see whether you get the same problem with a short test program? Perhaps the program's size , etc, is irrelevant? Run as administrator, etc, perhaps?



Powered by Free Banners
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 2nd Apr 2014 03:17
You might have turned UAC off on your development rig and forgotten about this, if the program is accessing system DLL's this might be what is causing it, if not this think further, what external dependencies are there, also yeah DX9.0c

I am just thinking off the top of my head on the above, further digging may find a solution...

basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 2nd Apr 2014 10:36
@Green Gandalf: I already tried some sample programs and worked.

just about to go work now, I think the whole day will be spent on trouble shouting.

I will leave comment if any solution because the problem is only on the latest computers from dell or HP.

tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 2nd Apr 2014 11:11 Edited at: 2nd Apr 2014 11:12
Quote: "@Green Gandalf: I already tried some sample programs and worked."



Quote: "my colleague noticed that the executable doesn't work when the CPU is intel i7. (I don't think somrthing to do with it but maybe)."


I7 has the highest number of physical cores.

Concurrent processing related issue perhaps?

Edit: Depends on plugins.
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 2nd Apr 2014 16:29
Ok guys, I located the fault.

it is caused by:

1 - using BBB gui. (when the exe is double clicked.)

2- using the command "Set Message Callback" from matrix utility plugin. to contentiously reading the shell32 drag and drop files.

Now funny enough the both work on some systems but none work on latest models system.

thanks.

basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 2nd Apr 2014 20:19
Ok:

To drag and drop files to a DBpro I use "Shell32" and Matrix uniliti function "Set Message Callback filename$" as follows:



now some new systems the command from matrix utility is causing crash. So I need another solution.

I know that there could be a solution in the Styx library using function call back but the only available example is on kernel32, and I couldn't figure out how to use it with SHELL32.

Login to post a reply

Server time is: 2026-07-06 05:02:05
Your offset time is: 2026-07-06 05:02:05