Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questiontest.c: In function `CreateShortcut': test.c:14: incompatible type for argument 1 of `CoCreateInstance' test.c:14: incompatible type for argument 4 of `CoCreateInstance' test.c:17: structure has no member named `QueryInterface' test.c:18: structure has no member named `SetPath' test.c:18: structure has no member named `SetDescription' test.c:20: structure has no member named `Save' test.c:21: structure has no member named `Release' test.c:23: structure has no member named `Release' test.c: In function `WinMain': test.c:27: parameter name omitted test.c:27: parameter name omitted test.c:27: parameter name omitted
test.c: Error E2342 test.c 14: Type mismatch in parameter 'rclsid' (wanted 'const _GUID * const', got '_GUID') in function CreateShortcut Error E2342 test.c 14: Type mismatch in parameter 'riid' (wanted 'const _GUID * const', got '_GUID') in function CreateShortcut Error E2451 test.c 17: Undefined symbol 'QueryInterface' in function CreateShort cut Error E2451 test.c 18: Undefined symbol 'SetPath' in function CreateShortcut Error E2451 test.c 18: Undefined symbol 'SetDescription' in function CreateShort cut Error E2451 test.c 20: Undefined symbol 'Save' in function CreateShortcut Error E2451 test.c 21: Undefined symbol 'Release' in function CreateShortcut Error E2451 test.c 23: Undefined symbol 'Release' in function CreateShortcut Warning W8057 test.c 25: Parameter 'szflSrc' is never used in function CreateSho rtcut Warning W8057 test.c 25: Parameter 'szTooltip' is never used in function CreateS hortcut Error E2287 test.c 28: Parameter 2 missing name in function WinMain Error E2287 test.c 28: Parameter 3 missing name in function WinMain Error E2287 test.c 28: Parameter 4 missing name in function WinMain Warning W8057 test.c 34: Parameter 'hInstance' is never used in function WinMain