Search:

Type: Posts; User: davebaggott

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,897

    I got a couple of errors when I compiled it,...

    I got a couple of errors when I compiled it, shown below. Also here is the code.

    Firstly, the new code you gave - the first error refers to this. In the GetModuleFileName should modulePath be '*'...
  2. Replies
    9
    Views
    1,897

    once again, thankyou for the help adrian, however...

    once again, thankyou for the help adrian, however -

    The GetCurrentDirectory method gets the directory you run the code from.

    At times, it is necessary to run my application from elsewhere,...
  3. Replies
    9
    Views
    1,897

    I have no idea on how to use the API calls - I...

    I have no idea on how to use the API calls - I know this is wrong but it should give an indication of what I am trying to do.

    My application will be on a cd, but I cant be sure that the cd is d:,...
  4. Replies
    9
    Views
    1,897

    directory and windows version?

    Have you any idea how easy it is to get a couple of things form the OS?

    I need the current drive (or drive letter if possible) as some people may not have d:\ as their cd-rom drive

    I also need...
  5. Replies
    4
    Views
    1,554

    CString to char - possible??

    I have a class which inlcudes this line for the function -

    inline CString GetFile() {return File;}

    I am trying to get data in from a dialog list box, using the OnDblClick() this is the code...
  6. Replies
    9
    Views
    7,567

    thanks for all the help, just one last thing,...

    thanks for all the help,

    just one last thing, my data has gone!!

    the lines are there, but it doesn't show any data - any ideas. i have moved the char x bit to the top, and removed the line you...
  7. classes in an exe. objects from text file.

    I am creating a class to manage some data, to use in an application, and have a data file. Each line of the data file should be an object of my new class. The data is comma separated, but could...
  8. Replies
    9
    Views
    7,567

    That was very fast, thankyou. Compilation errors...

    That was very fast, thankyou.
    Compilation errors below though, any ideas?

    mitaDlg.cpp
    C:\dave\mita\mitaDlg.cpp(112) : error C2660: 'eof' : function does not take 1 parameters...
  9. Replies
    9
    Views
    7,567

    list box in mfc, get data from file

    I think this is the right place now.

    I am trying to create an application which is a dialog box with a listbox, populated with data from a file.

    Obviously i can create a simple mfc exe for the...
Results 1 to 9 of 10