ManicQin
ManicQin

Reputation: 159

Why do I get "The procedure entry point CreateVssBackupComponentsInternal could not be located in the dynamic link library VSSAPI.DLL."

Hello everybody let me give you the background first: I'm working on a project that is build with vs2005 on a winxp sp3 with the windows sdk 7.0 and most important the hotfix, that is targeted to work from win xp (sp 0) -> windows 7.

part of the project is querying the snapshots and play with the a bit. On my development environment everything is ok, on windows 7 everything is ok (Kinda ok but it's not the point).

On clean xp machines (sp3 & 2) I get: "The procedure entry point CreateVssBackupComponentsInternal could not be located in the dynamic link library VSSAPI.DLL" when I start the application - Even before I get to the part in the code that is related to the VSSAPI...

1) how can it raise the message before I get to the invocation? 2) Does anyone has an idea why it doesn't work?

thanks

Upvotes: 1

Views: 2200

Answers (1)

torhu
torhu

Reputation: 432

1) Because the DLL is loaded when your application starts, not when it's first needed. Look up delay-loading or the LoadLibrary system call if you want to load it later, or even conditionally.

2) I don't know, but someone asked the same question before: Why does my Volume Shadow Copy Service requester fail: cannot find CreateVssBackupComponentsInternal

Upvotes: 2

Related Questions