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 wOOdy-Soft 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: *

  • Users: butthead
  • Content: Threads
  • Order by date
  1. butthead

    Deleting a class from dll causes error

    access violation at address xxxxxxxx in module test.dll write of address xxxxxxxx and I somtimes get a read address of FFFFFFFF error I have a class that is instantiated with new from a dll. when I delete it I get the error. if I just create the class object as so in a function Classwidget...
  2. butthead

    subclassing

    a recent post has directed my attention to the subject of subclassing that I have heretofore not been aware of. all the items I can find in the builder help files refers to building a new component. I have a few questions. 1. is the term subclassing just refering to the method of...
  3. butthead

    clean up after "erase ()"

    I ceate an object with "new". I add this to a vector using "push_back ()". I remove the object with "erase ()". question does erase do the delete stuff to clean up the trash, or do I have to do it myself. thanks in advance. tomcruz.net
  4. butthead

    delete file

    I have never been able to use the remove funtion to delete files in the builder environment. so I have relied upon the DeleteFile function native to builder. I am writing some code that I wish to keep strictly C++ or C and not rely upon the borland stuff. I am looking for portablilty. could...
  5. butthead

    reliable return pointer

    char *Strip (char *str) { const int x = strlen (str) + 1; char *buff1 = new char [x]; char buff2 [25]; strcpy (buff1, str); for (int y = 0; y < x; y++) { if (buff1 [y] != ',') buff2 [y] = buff1 [y]; else { buff2 [y] =...
  6. butthead

    happy new year

    I would just like to take this opportunity to wish everybody a happy new year. tomcruz.net
  7. butthead

    new page ()

    the code below doesnt print a 20 page document. it just prints the first page and then keeps shooting out blanks. any suggestions. [/CODE] TPrinter *P; P = Printer(); int Xpos = 100; int Ypos = 100; int LineHeight; LineHeight = LineHeight = RichEdit1->Font->Size * 5...
  8. butthead

    printing howto

    I would be interested in discovering the arcane art of printing. As it seems that everyone is relying upon ready built code, I can find very little documentation with builder or on the net. may be I am not asking jeeves the correct question. I did find some code here...
  9. butthead

    searching for *[Combo8]*

    SELECT WeldList.* FROM WeldList WHERE ( ((WeldList.Date) Between [Forms]![Frm WeldList Search]![StartDate] And [Forms]![Frm WeldList Search]![EndDate]) and ((WeldList.WS) = [Forms]![Frm...
  10. butthead

    way over my head

    Not being very proficient at access I am at a loss for where to start at this task. I also am not very adept at vba (C++ is my environment) . My SQL is not to advanced. I have a database that tracks a group of welders and their welds. The purpose is to be able to check quickly whether a...
  11. butthead

    dispalying results of empty set

    I have a sub report that must be displayed regardles of the value of the results of the expression below. =Count([Qry Distint count of repairs]![Repair]) the problem I am having is that if the value of the query is an empty set I get an error when I want a value of "0" instead. the report...
  12. butthead

    you got to read this

    if ya aint read this already you got to have it. this author was mentioned earlier and I have already read some of it I really do like his style. thanks for the tip. http://www.soldierx.com/books/CHARLIE_CALVERT'S_BORLAND_C++BUILDER_UNLEASHED/ tomcruz.net
  13. butthead

    private vs public

    in the class definition below I have chosen to declare certain items as private versus public. what does one use as the basis of deciding what is public and what is private. I know that private protects certain elements from outside sources but the only outside source I can think of is the...
  14. butthead

    export vector from dll

    the records vector is declared in a class as follows class Table { vector<string> __declspec(dllexport) Records; } The class is included in the dll that I am exporting from. I can access the individual items in the vector by other means as below. char* __declspec(dllexport) TableRecord...
  15. butthead

    truncating file

    scenario I have a file that is 200 bytes. I want to chop the last 50 bytes without rewriting the whole file. can I do this or must I resign my self to the rewrite. I am creating a database engine and have found the hardest part of the whole thing so far is handling the delete in an efficient...
  16. butthead

    c and printf

    I am new to cgi and am having trouble with example programs. All the basic examples that I have come across use a simple printf to display the output. void main () { printf(&quot;Content-type: text/html\n\n&quot;); printf(&quot;<HTML><HEAD><TITLE>Hello!</TITLE></HEAD>\n&quot;)...
  17. butthead

    CGI - C language

    I am quite new to apache and the whole web server business. The question I have is about cgi applications. I am running apache 2.0 on a win98 machine. I have 2 domains going as of now. and I have cgi enabled. the call to the perl app printenv.pl works fine. I just declare this to inform...
  18. butthead

    BDE Deployment

    I just wanted to relay some websites to y'all about distributing the borland database engine. The first site gave me an install program that actually installs a portable BDE. And guess what, it works. http://www.ibinstall.defined.net/dl_bdeinfo.htm http://www.bdesupport.com/deploy.htm...
  19. butthead

    my backup program

    As I promised, I would have a functional program ready soon. I hope some of you will download this and give me your critique. I know it needs tweaking and some error checking couldnt hurt but it is usable in its present form. Any reponse would be great. go to for a screen shot...
  20. butthead

    directory delete

    Is there a function to delete a directory including subs. Sort of like a complement to the forcedirectory function. I will otherwise have to give myself a refressher course on tree's. I guess I could use a while loop to repeatedly got thru an array but I see nothing but ugly in that method...

Part and Inventory Search

Back
Top