logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
SMenday  
#1 Posted : Tuesday, September 1, 2009 2:03:05 AM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

Hi all

I have written an MSX dll in c++, it all works fine on my machine. I have tried to give a friend a copy using the self installing exe option, it doesn't seem to work. It copies all the indicators etc but not the dll. Placing a copy of the DLL manually in "External Function DLLS" doesn't work either, MS doesn't seem to be able to see it.

Any ideas as to why it isn't working?

Cheers

Stew

wabbit  
#2 Posted : Tuesday, September 1, 2009 3:40:50 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Has your friend shut down and restarted MS? DLLs are loaded when MS starts, so any libraries added after MS has started will not be referenced.


wabbit [:D]

SMenday  
#3 Posted : Tuesday, September 1, 2009 7:34:08 PM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

He has restarted MS. I gave a copy to another person sometime ago and they had the same problem. Any other ideas?

Cheers

Stew

wabbit  
#4 Posted : Wednesday, September 2, 2009 6:22:59 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
I assume you've thoroughly tested the library with MSXTest?


wabbit [:D]

SMenday  
#5 Posted : Wednesday, September 2, 2009 8:07:08 PM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

The DLL works fine in MSXTester and my version of MS.

Cheers

Stew

wabbit  
#6 Posted : Thursday, September 3, 2009 2:42:44 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Does your dll call any other dlls, such as an OS dll which the user might not have due to different OS? You could add some code to write to a log file when MS attempts to load the dll to see if it's failing initialisation.

Can you send the dll to someone else and have them try?


wabbit [:D]

underground  
#7 Posted : Monday, September 14, 2009 8:15:33 PM(UTC)
underground

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/23/2005(UTC)
Posts: 37

Im having the same problem. http://forum.equis.com/forums/thread/30723.aspx For some reason it works fine for me but my friend can not get MS to see the dll on startup. Its placed in the correct subfolder and theres no other dll required to use but for some reason MS wont recognize it grrrr...
SMenday  
#8 Posted : Monday, September 14, 2009 8:36:39 PM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

I sent my friend a copy of MSXTest to see if that could load it, it gets the following error

DLL Name BBTT.dll <- my dll

ISystem error loading DLL:

This application has failed to start because the application configuration is incorr...

You cannot get what comes after incorr...

I haven't looked into this error message as yet.

If you find a solution can you let me know?

I am using Microsoft Visual C++ 9.0 express edition

Cheers

Stew

wabbit  
#9 Posted : Tuesday, September 15, 2009 12:41:04 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Vista??


wabbit [:D]

SMenday  
#10 Posted : Tuesday, September 15, 2009 12:51:00 AM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

We are both using XP
Tremo  
#11 Posted : Tuesday, October 20, 2009 5:46:10 AM(UTC)
Tremo

Rank: Newbie

Groups: Registered, Registered Users
Joined: 10/20/2009(UTC)
Posts: 1

Does your friend have other DLLs in the External Function Dlls folder that he has brought in as yours that are working?

If not-

Check that there is no other folder in the equis folder that contains DLLs - if there is get your friend to insert there.

Sometimes package suppliers put their special DLLs in there own folder within the equis folder but before the External Functions DLL folder.
SMenday  
#12 Posted : Tuesday, October 20, 2009 5:49:31 PM(UTC)
SMenday

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/21/2008(UTC)
Posts: 24

He has other DLLs in the directory which MS can see just fine.

He has just loaded the DLL with Dependancy Walker and has sent me the report, I am about to have a look at it.

Cheers

Stew

RudyK  
#13 Posted : Monday, June 20, 2011 8:19:03 PM(UTC)
RudyK

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/21/2011(UTC)
Posts: 1

It caused you build with the debug version. You should build with the release version. But in release version, i am getting an error in MSXTest: assumed non-MSX DLL (missing required exports) Any suggestions?
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.