Search:
Type: Posts; User: drwbns
Search:
Search took 0.05 seconds; generated 25 minute(s) ago.
-
Hello, I was curious about what you guys think would be the appropriate windows controls to use to create an excel-like spreadsheet layout with some columns being text and some columns being a...
-
January 12th, 2013, 10:41 AM
I found a better way of how to open a file. But I need help trying to match a url using boost::xpressive. I got the following off the web that doesn't match anything, other examples I tried throw a...
-
January 11th, 2013, 03:53 PM
Is there a way to get a const char * from a std::string::iterator when iterating over a std::string?
-
January 11th, 2013, 12:25 PM
Hi, like the title says, I'm trying to open a file and perform a regex on it, then print the matches, but I'm not sure if I have it right. I think I need to remove the line -
[for (...
-
January 10th, 2013, 04:04 PM
Ah ok, I changed it to a StringClass
-
January 10th, 2013, 02:09 PM
Ok thanks, is this ok to do? Also, why is it that I'm only calling dir.push_back once, yet I have 2 elements? The first is empty, the 2nd is my push_back call.
TCHAR SomeArray[_MAX_PATH];...
-
January 10th, 2013, 11:38 AM
dir is a StringVector like you suggested - but I'm getting a crash after calling buttonPush -
bool buttonPush(HWND hWnd, StringVector &dir ) {
BROWSEINFO bi;
TCHAR szDir[MAX_PATH];
...
-
January 10th, 2013, 08:36 AM
yes, sorry. I'm just trying to understand TCHAR and it's correct usage for the most part. Is it possible to make a vector containing a TCHAR[] array or is that just a no no? I tried Paul's...
-
January 10th, 2013, 08:16 AM
TextArea is a textBox
bool ListFiles(TCHAR* path, std::vector<TCHAR *> &files, std::vector<TCHAR*> &directories) {
HANDLE hFind = INVALID_HANDLE_VALUE;
WIN32_FIND_DATA ffd;
TCHAR...
-
January 10th, 2013, 12:02 AM
I tried using a reference instead of a static var for my files vector like so -
bool ListFiles(TCHAR* path, std::vector<TCHAR *> &files) {
but when I use it, I have a bunch of valid file names...
-
January 9th, 2013, 02:23 PM
Ah ok i was just curious. thanks
-
January 9th, 2013, 11:48 AM
Theres no problem with that. i was just wondering why you cant append with a simple plus sign
-
January 9th, 2013, 10:43 AM
Ah ok, is there any way to append to a TCHAR* without using a function?
-
January 9th, 2013, 10:15 AM
Hi, I'm using the following code to capture all files in a directory -
but when I pass the "path" var such as "C:\SomeDir" ffd.cFileName is just simply "SomeDir" and is seen as a valid folder and...
-
January 9th, 2013, 10:11 AM
-
January 8th, 2013, 08:54 PM
Thanks for the help, making the var static works. I might switch it to a function argument if that's smarter though. Is it?
-
January 8th, 2013, 10:36 AM
Hello, I'm trying to get a Browse Directory dialog to update a text box with the path selected. I had it working fine in Unicode build but now using TCHAR - I see the variable contains the correct...
-
November 28th, 2012, 11:00 AM
The overall design was to have a loop through a number of meshes to process, and the data stored for each loop ( mesh ). I've simplified the design now based on your feedback and you brought up a lot...
-
November 27th, 2012, 09:29 PM
Well, I tried to also initialize the members in the constructor, and it's still crashing. I think I'll give it a rest and try again tomorrow, thanks.
-
November 27th, 2012, 08:45 PM
you said -
but I'm careful to initialize all 4 struct members( the ... area) . I guess I just wanted to defer the array initializing until later in my code, which now that I look at it, I don't...
-
November 26th, 2012, 07:14 PM
Its a access violation writing location 0xCCCCCCCC. I know this usually means writing to an unitialized variable but I thought that's what I'm trying to do on that line.
-
November 26th, 2012, 04:40 PM
Hi guys, I'm wondering why I get a crash when initializing the indices array below (bottom)-
struct TerrainGroupData
{
TerrainGroupData(){};
...
-
October 3rd, 2012, 08:32 AM
Sorry, I don't post here very often and a lot of other sites use <code> for tags. But I solved the problem, I had 2 headers including each other
-
September 29th, 2012, 09:03 PM
ok -
<code>
void updateCameraGoal(Real deltaYaw, Real deltaPitch, Real deltaZoom)
{
mCameraPivot->yaw(Degree(deltaYaw), Node::TS_WORLD);
// bound the pitch
if (!(mPivotPitch +...
-
September 29th, 2012, 06:51 PM
Hey guys, I was trying to write a character controller but when I went to add my pointer to my character I get error C2143: syntax error : missing ';' before '*'
I've looked at all my classes...
|
Click Here to Expand Forum to Full Width
|