View Single Post
Author Message
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 10-30-2018 , 16:02   Need help about Module parachute not compiling
Reply With Quote #1

Hey guys
the parachute source file from this post https://forums.alliedmods.net/showth...dule+parachute

i cant compile it im using VS 2013 plus i did everything downloaded the latest HLSDK,metamod,amxx sources

The errors
Code:
1>------ Build started: Project: ConsoleApplication8, Configuration: Release Win32 ------
1>  parachute.cpp
1>d:\amx module compile\metamod\metamod\osdep.h(155): error C2664: 'HMODULE LoadLibraryW(LPCWSTR)' : cannot convert argument 1 from 'const char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\amx module compile\metamod\metamod\osdep.h(496): error C2664: 'DWORD GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR *)' : cannot convert argument 1 from 'const char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\amx module compile\metamod\metamod\osdep.h(504): error C2664: 'HANDLE FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW)' : cannot convert argument 1 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Ali0mer is offline
Send a message via Skype™ to Ali0mer