Sorry, I was pretty frustrated when I wrote it.
AceCoolie
Posts
-
SHFileOperation is pissing me off - won't copy just 1 file -
SHFileOperation is pissing me off - won't copy just 1 fileThanks. I tried that and it and with the extra "\", it's not a vailid file name and generates an error.
-
SHFileOperation is pissing me off - won't copy just 1 fileI'm using SHFileOperation to copy some files. If I set pFrom to a string with multiple, fully quailified filenames, seperated by a NULL with an additional NULL character at the end and pTo to a string with a fully qualified directory with the extra NULL character, it works fine. If my pFrom is only 1 fully quailified filename with the extra NULL character at the end, SHFileOperation instead makes a file with the pTo directory name of the size of the source file. Example... pFrom = c:\pictures\pic1.jpg, c:\pictures\pic2.jpg, etc... pTo = d:\jpg When I check the drive, I'll have d:\jpg folder containing all my files pic1.jpg, pic2.jpg, etc. If I'm only copying 1 file, pFrom = c:\pictures\pic1.jpg pTo = d:\jpg This time, I'll check the drive and I'll have file called jpg in d:\ with the size of pic1.jpg. I'm pulling my hair out trying to figure out whats going on. I've checked and I have the buffers set up correctly with additional NULLs at the ends etc. Anyone know what the problem is? Thanks, Steve
-
Trouble linking with particular libsThanks. I added #define GL_APIENTRY __stdcall to my header file and it seems to have fixed the problem.
-
Trouble linking with particular libsHi. I'm having trouble linking with particular libs. I have an OGL ES app that needs functions in libGLES_CM.dll. I have two versions of this dll and the corrisponding libs. The first I got from the Khronos site. This version works. The second, I'm building from source. This version doesn't. The problem is unresolved externals. If I look at the lib files in Visual studio, the function names seem to be decorated differently. In the Khronos version, it looks like this... __imp__glTranslatex._glTranslatex In the version I build from source, it looks like this... __imp__glTranslatex@12._glTranslatex@12 What do I need to do to my app or visual studio to be able to link to the second version that I build from source? Thanks!