Working Hotkey Base

Posts 31–45 of 46 · Page 3 of 4
Quote Originally Posted by moo9801 View Post
this is what i got for errors:
Code:
1>------ Build started: Project: base, Configuration: Debug Win32 ------
1>  dllmain.cpp
1>c:\users\spencer c\desktop\source\base.h(23): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\spencer c\desktop\source\base.h(24): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  Base.cpp
1>c:\users\spencer c\desktop\source\base.h(23): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\spencer c\desktop\source\base.h(24): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Change project character set to multi byte
Quote Originally Posted by Alessandro10 View Post
Change Character Set Unicode to Multi-Byte!
I'm using MS Visual C++. how would i do that.
Quote Originally Posted by moo9801 View Post
I'm using MS Visual C++. how would i do that.
Project properties
Open Visual Studio (Base)
Go Project
Go Properties
Configuration
General
Character Set
Change to Multi-Byte
Quote Originally Posted by whit View Post


Change project character set to multi byte
thanks my friend

sorry for the spoonfeed request but i went in there and couldnt find anything on that
Quote Originally Posted by moo9801 View Post
thanks my friend

sorry for the spoonfeed request but i went in there and couldnt find anything on that
Open Visual Studio (Base)
Go Project
Go Properties
Configuration
General
Character Set
Change to Multi-Byte
Quote Originally Posted by moo9801 View Post
Facepalm sorry
Lol We all had times when we asked noob questions
Quote Originally Posted by Fabolous View Post


Lol We all had times when we asked noob questions
Should have a fixed topic, explaining the most common errors
Quote Originally Posted by Alessandro10 View Post
Should have a fixed topic, explaining the most common errors
That gives me an idea

Quote Originally Posted by Fabolous View Post


That gives me an idea

Not if i do it first...
Quote Originally Posted by whit View Post


Not if i do it first...
Go sketchers Go sketchers Go
Quote Originally Posted by whit View Post


Not if i do it first...
Posting .........
Fmm... So this works eh?

Congrats Mr Thread Starter.. +1 thanks to you
hey where should i put the code for the hotkey?
Can i put a PTC method in this? where would i place it? do i need this for a PTC?
Posts 31–45 of 46 · Page 3 of 4
This thread is closed for replies.

Tags for this Thread

None

Talk with us