Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Warning: DLL may not be compatible

Discussing issues that occur during plugin development.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
sevensins
Posts: 2
Joined: May 18th, 2008, 6:26 am

Warning: DLL may not be compatible

Post by sevensins »

Hi everybody,
I am having some weird problem.
As per the topic here http://forums.lcdsmartie.org/viewtopic.php?t=1194 i compiled the source using Microsoft Visual C++ 2005 Express Edition, Microsoft ? Windows Server? 2003 R2 Platform SDK, and LibUsb-Win32.

The resulting DLL works perfectly fine on the machine on which i compiled the DLL. But when every i try it on my other machine the same DLL gives me the error Warning: DLL may not be compatible. The other machine also has .NET 2.0 framework installed. :(

Am i missing something while compiling the DLL??
Steps that i have done while compiling:
1.Placed a copy of usb.h at "C:\Program Files\Microsoft Visual Studio 8\VC\include"
2.Placed a copy of libusb.lib at"C:\Program Files\Microsoft Visual Studio 8\VC\lib"

In the project properties i have defined
Linker >> Input >> Additional Dependencies >> libusb.lib
and
Linker >> Input >> Module Definition File >> LCD2USB.def

Hoping that someone will help me with the weird problem. :cry:

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Is your other machine running Server2k3 also?

Have you tried the ready compiled dll?

What gives you that error? LCDSmartie? Haven't heard of this kind of error in smartie though. Maybe it's thrown as an output of that dll.

sevensins
Posts: 2
Joined: May 18th, 2008, 6:26 am

Post by sevensins »

Both my machines are running Windows XP SP2 and not Server 2k3. The Microsoft ? Windows Server? 2003 R2 Platform SDK is required for compiling the DLL.

The error is given by LCDSmartie when i select the compiled DLL from the display driver list drop down menu.

As for the precompiled DLL yes it works on both the machine.
But since i made some changes i needed to recompile the DLL. The recompiled DLL works fine in the development machine but LCDSmartie gives that error when i select the same DLL in the other machine.

Any ideas/possible solution as to why?? :(

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Sorry, wasn't too careful when reading your first post about the server2k3.

You can try to contact the developer of the board/plugin or see if you don't miss something on the second machine, like some redistributables from VC or from the 2k3 SDK.

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

The problem must be on the Framework...
Check the following
http://msdn.microsoft.com/en-us/netfram ... 31542.aspx

Post Reply