Click here to Skip to main content
15,902,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I create vb.net application on windows 8,and in my application I used faxcomex.dll and faxcom.dll it works fine on windows 8,but when I copy debug file of project to windows xp and run it I get error about dlls,I do not know why they happen,can anyone help me?
thanks
Posted

1 solution

"I get error about dll" - that's not a good way to ask for help: you get an error message, and you can copy it verbatim here.
I guess that there is a version issue: you developed on Windows 8, hence the dlls might have a newer version (and hence different Guids) than on Windows XP.
To circumvent that, you could develop on XP, or create some Primary Interop Assemblies (PIA) on XP and use them for development on Windows 8. Both ways assume that the newer dlls are backward-compatible at least to XP.
 
Share this answer
 
Comments
Angela 10293848 7-Jan-14 2:51am    
Thanks Bernhard
but faxcomex.dll and faxcom.dll ther are in both OS why that happen
Angela 10293848 7-Jan-14 7:19am    
Iget this error:

error number D,unable to cast COM object of type 'FAXCOMEXLIB.Faxserverclass' to interface type FAXCOMEXLIB.IFaxServer2 this oparation failed because the quary interface call on the COM component for the interface with IID '{571CED0F-5609-4F40...}' failed due to the following error : no souch interface supported (Exception from HRESULT"0x80004002(E_NOINTERFACE))
Bernhard Hiller 7-Jan-14 9:32am    
That's what I meant with version issue: you use functionality which is present in the Windows 8 version of the dll but not in the XP version. That the dlls have the same name, does not matter at all - the version (i.e. the contents) matters.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900