Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

CallDLLFx fails under win95


1 reply to this topic

asdch

asdch
  • Members
  • 2 posts

Posted 16 March 2002 - 06:35

Please help me about this weird problem.....
//////
szProgram = SRCDIR^COMP_UNINSTALL;
szProgram = szProgram^NICu_DLL;
LongPathToShortPath ( szProgram );
if (CallDLLFx(szProgram, "IsNIC9X", nTest, szTest) > 0) then
//////
I used the DLL(for simplification i combine the custom DLL with uninstall DLL) to scan pci bus, and return specific device id information by nTest/szTest.
CallDLLFx works fine under 98/me(i got correct nTest/szTest returne), but return -1 under 95.

Is that illegal Path??
Or i should use useDLL/UnuseDLL instead CallDLLFx??

asdch

asdch
  • Members
  • 2 posts

Posted 18 March 2002 - 03:52

I think that i find the problem.
As i apply to UseDLL way.there is a error msg.
"error code 485 ERROR_DLL_NOT_FOUND"
And i try Dependency Walker to check the DLL.
The Dependency DLL in 95 seems uncompatible to my
DLL whick builded in win2000 pro.