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 / final exe compiling with dlls not working

Author
Message
Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 1st Dec 2011 04:59
So I've been trying to get a program working where I can distribute it, it is a program which includes 3d stuff. I am trying to get it to wok on a windows 7 computer. I know I have to install directx9.0c so I did that. Then I got an error about msvcp71.dll not found. So I put it in the exe's folder. Then I got the same error about d3dx9_31.dll. Put it in the exe's folder.

Now it says something alone the lines of "failed to load dll 1: dbprosetupdebug.dll". I tried just messing around for a while, one time I tried to look inside it with dark explorer, and I noticed the dlls dbprosetupdebug and dbprocore seemed to be in the wrong order. shouldn't the setup one be first? Anyway, I really need to get this figured out so I can actually make and distribute games.

If anyone can help please reply.

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 1st Dec 2011 05:16
My first diagnostic... Try compiling on a fresh install... Preferably on a seperate system... What method of export are you using? Exe or media? Try a mixture and make sure to clear the export folder of previously created game files...

Arw you uaing something like amart packer peo? Might want to look into it you can export using the demo so give it a try...

Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 1st Dec 2011 05:38
I just reinstalled dbpro like a month ago, and I feel like everything is correct there. I'm going to try moving the stuff over to a different computer and compiling there, after all I heard that having a weird directx while compiling can be a problem, and the other computer has a brand new directx. It is a media exe, but I have had this problem with regular exes too, so it shouldn't matter. And no, I don't use smart packer pro, and that doesen't seem like it's for dbpro specifically so it proably won't help.

Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 2nd Dec 2011 03:24
Ok, I just compiled it on a different computer. The computer had a brand new directx 9.0c installation with no previous directx 9 files on it. The exe the other computer made didn't have the physics dlls in it, which was weird. Anyway, the exe worked on both my computer and the other computer, but then I put it in a 3rd computer, and I got the same dbprosetupdebug.dll error!

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 2nd Dec 2011 03:34
Which installer are you using? Just curious... Also when installing disable your antivirus ... And make sure to run as an administrator...

What antibirus if any are you using?

Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 2nd Dec 2011 03:37
Not using an installer, just a standalone exe. That should work right?

The antivirus didn't come up with an error and I can't imagine why admin mode would fix it...

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 2nd Dec 2011 03:41
I think you misunderstood... Recompile the exe on a fresh install... I think your compiler is faulry... At least diagnose this... If it helps you can send out the exe and have others test it for you

Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 2nd Dec 2011 04:03
I just reinstalled dbp like 2 weeks ago to fix a different problem, nothing has changed except I got dark imposters. So the compiler really can't be the problem. The exe is here:

http://forum.thegamecreators.com/?m=forum_view&t=191917&b=5

Now I wouldn't be surprised if the program works for other darkbasic users, because we all have the darkbasic stuff on our computers. But I want to actually distrubute software to any windows computer, like you are supposed to be able to do.

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 2nd Dec 2011 04:04
Will try it tomorrow if I can remember this thread...

Fingers crossed lol

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 3rd Dec 2011 09:46
Just ensure that all machines have directx9.0c installed. (Even windows vista and 7 need it, it will run alongside directx 10 and 11)

Ensure that the Visual C++ runtime files (vcredist_x86) have been installed. (Not always needed, but if your getting the msvcp71.dll error you'll need it.

DO NOT include those dll files in the exe folder. That's not the way to do it and is in violation of Microsoft's EULA.

My signature is NOT a moderator plaything! Stop changing it!
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 3rd Dec 2011 15:12
No way Mobiious is that true...? Please link.......

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 3rd Dec 2011 15:18
Is what true?

Link to what?

My signature is NOT a moderator plaything! Stop changing it!

Login to post a reply

Server time is: 2026-07-11 04:23:26
Your offset time is: 2026-07-11 04:23:26