I'm working on a card game for fun and I'm using Microsoft's cards.dll for graphics. On the development machine, the VB app can find the DLL which is present in c:\WINNT\system32\cards.dll. On a test machine, the DLL is not found but it's present in c:\Windows\System\cards.dll.
Here's some code that hits the DLL:
Private Declare Function cdtInit Lib "cards" ( _
lngDeckWidth As Long, _
lngDeckHeight As Long _
) As Long
I would assume that VB looks first in the computer's system folder for any file named "cards" with a DLL extension. This folder could be different between machines.
What's the problem?