E
ebobnar
I need to call the function LoadImage which take a LPCTSTR argument to
specify the path to the image to load. However, I need to create this
path dynamically from user input by concatenating strings together.
I'm using visual c++.net 2003. I've tried using the String class to
put the image path together and then cast the String to a LPCTSTR, but
that cast is forbidden.
Since I'm using visual c++.net should I not be using functions like
LoadImage that take LPCTSTR arguments, or is there a way to
concatenate LPCTSTR's?
Thanks
specify the path to the image to load. However, I need to create this
path dynamically from user input by concatenating strings together.
I'm using visual c++.net 2003. I've tried using the String class to
put the image path together and then cast the String to a LPCTSTR, but
that cast is forbidden.
Since I'm using visual c++.net should I not be using functions like
LoadImage that take LPCTSTR arguments, or is there a way to
concatenate LPCTSTR's?
Thanks