Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Maurader

    directory dialog box

    I'm getting an access violation when i get to BOOL bRetVal = ::SHGetPathFromIDList(pIIL, szResult); any ideas why?
  2. Maurader

    directory dialog box

    how do i create a dialog box that will prompt the user to select a directory??
  3. Maurader

    create directory

    is there a way to check if the directory already exists? or is it necessary?
  4. Maurader

    create directory

    how do i create directories on the harddrive from my program?
  5. Maurader

    button group

    if i have a radio button group, how can i determine the index of the radio button that is currently selected without saying Updata(true); int index = m_button; ??
  6. Maurader

    hiding dialog box

    I have a MFC DLL that is being called from another program, and I have a modal Dialog box that pops up. Is there a way I can hide/minimize the dialog box without minimizing the program? Thanks, Duckman
  7. Maurader

    disabling all buttons in group

    how do i disable all buttons in a radio button group?
  8. Maurader

    3D vector

    is there a way to create a vector of vectors of vectors? and how would i initialize such a beast? Thanks!
  9. Maurader

    import dialog box

    how do I import a dialog box created in another project into the current project?
  10. Maurader

    pointer trouble

    ahh, things are starting to clear up...thanks a lot for you detailed explanations!
  11. Maurader

    pointer trouble

    here's my reasoning: allPoints[0] returns double[3] so &(allPoitns[0]) returns a pointer to double[3]? I also tried without the "&" since i'm thinking double[3] is actually an address of the first element of the array... but it's giving me an error saying that there is a difference...
  12. Maurader

    pointer trouble

    p_3d is actually an API typedef, and it's used to hold XYZ coordinates of points in 3-space. mmm, my application (not stress test!) is that I have a solid, and have a triangulated mesh genereated, which means i've created a surface out of adjacent triangles that entirely covers my solid. my...
  13. Maurader

    deleting memory

    what if it's a built-in type like double/int?
  14. Maurader

    deleting memory

    will the memory be cleared if i said myVector.clear()?
  15. Maurader

    deleting memory

    If I have a function struct myStruct{ double myDouble; } func(vector <myStruct> &myVector){ myStruct dynamicMyStruct; dynamicMyStruct = new myStruct; myVector.push_back(dynamicMyStruct); } how do I delete the memory associatted with dynamicMyStruct? I cannot delete it at the end of the...
  16. Maurader

    pointer trouble

    instead of using a vector, what should I use? crap, i copied that code entirely wrong...i actually have triangle tri tri.points[0] = &(allPoints[0]); a little bit confused on what allPoints[0] returns...a struct? or an address? thanks a lot!
  17. Maurader

    pointer trouble

    if: typedef double p_3d[3]; and struct triangle{ p_3d* points[3] // three points to p_3d } and I have a vector <p_3d> allPoints, when I do triangle.points[0] = &(allPoints[i]) I get '&' requires l-value what is the correct way to do this assignment? thanks!
  18. Maurader

    removing duplicates, updating pointers

    I have an array of points, which form the vertices a triangles. I also have an array of triangles, each of which has a 3 pointers pointing to 3 elements of the array. The original array contains duplicate points, as one point may be the vertex of more than one triangle. I need to delete all...
  19. Maurader

    security

    sort of...except that I'm hoping that when I move my code to another computer, and i recompile on that computer, a C++ function will read the computer's ID, instead of me having to find out manualy the ID and code it as some kind of string literal..but then, there's also the problem of how to...
  20. Maurader

    security

    so then do i need to hard code the ID's? and i have to re-hard code everytime i move to another ocmputer?

Part and Inventory Search

Back
Top