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. Warrioruw

    GENERAL VHDL Question

    Hi all, I have some difficulities in programing VHDL. It is often the case that simulation timing diagram does not match what I expected, or sometimes I don't know why a certain value appear at another clock cycle. In plain text, I don't understand how VHDL code really works. How do I think in...
  2. Warrioruw

    MAC Troubleshooting

    Greeting all, Scenario: I have a SMC Wire router, and it is connected with 4 client PCs. Background: MAC address is the unique number assigned to NIC(Network Interface Card)by the NIC manufacture. Problem: The router works as a DHCP server and supposed to assign unique(& dynamic) IP address...
  3. Warrioruw

    Stealing Internet Resource

    Hi all, I am sharing my DSL internet with a floor-mate by using a D Link router. The internet account is mine, and router is his, so he installed the driver for the router but the router is in my room because of wiring. The download speed for DSL is suposed to be 300Kb/s, however, the speed...
  4. Warrioruw

    CFileFind::FindFile

    Hi all, I wonder why FindFile returns true when I pass a file directory path like "C:\Programs\\New Folder". By the way, for the definition of directory path, someone prefers the path with back slash '\' at the end, but someone prefers no '\' at the end. The reasons are: With '\', it is...
  5. Warrioruw

    XP Plug and Play Support

    Hi all, I am having a problem when I plug my USB flash disk, but XP Home does not recognize it, and in Device Manager, it only shows "Unknown Device" under Universal Serial Bus. So I look into the Properties, and it shows "Driver not required or no driver installed". This is very strange...
  6. Warrioruw

    CArray::SetAtGrow

    Hi all, In VC++ 6.0 help document, it is suggested to use SetSize before using CArray. The reason is the following: "If you do not use SetSize, adding elements to your array causes it to be frequently reallocated and copied. Frequent reallocation and copying are inefficient and can fragment...
  7. Warrioruw

    How to return a structure?

    Hi all, I want to return a structure in a function, but compiler complains that I don't have copy constructor for the structure. Does anyone know how to create a copy constructor for a structure? Thanks.
  8. Warrioruw

    Directory Selection Dialog

    sorry, forgot to mention that the dialog box is only for directory selection.
  9. Warrioruw

    Directory Selection Dialog

    Hi all, Anyone knows how to create a selection dialog box, and you can select directory listed in that dialog? We usually have File Open Dialog to select specific file. Thx.
  10. Warrioruw

    Initialize Variable

    Hi all, This is just a simple question, and I hope you don't mind. Is it a good idea to initialize variables? For example, double a; //if you don't initialize it, compiler will //assign number such as -9.2559631349318e+061 For the concern of memory storage, I thought it...
  11. Warrioruw

    Working with XML

    I suggest you read some documents about XML DOM, that may help to move pointer around XML file.
  12. Warrioruw

    Memory Debugging: 0xC0000005 Access Violation

    Thanks, guys, I think you are right.
  13. Warrioruw

    Memory Debugging: 0xC0000005 Access Violation

    Hi all, I experienced an error message when I tried to run the program in debug mode, here it is: "First-chance exception in Sapphire_DGB V2.exe: 0x0000005: Access Violation." If you have any suggestion on how to deal with this kind of problem, please reply. Appreciated.
  14. Warrioruw

    CArray

    Another question is that when I try to use member function of CArray<Sample, Sample> def, the list of functions didn't not show up. I had #include <afxtempl.h>. Thanks
  15. Warrioruw

    CArray

    Is it possible to add copy constructor or assignment operator to struct? As far as I know, it can be done in class. If it is possible, could you tell me how to do that? Thanks
  16. Warrioruw

    CArray

    Hi all, I have a CArray of struct, and I want to assign or add a new element of struct type to the CArray, but got error message, something like "No = operator" or "No constructor for struct". Here is the sample code: struct Sample{ CUIntArray Index; CRect Rct; CDblPoint Point; //user...
  17. Warrioruw

    Example needed - struct

    Hi all, Could anyone give an example of struct data type? (not just the declaration, but the implementation) Thx.
  18. Warrioruw

    Passing by address vs pointer

    Hi all, I am a bit of confused with parameter passing. What is the difference bettwen passing by address and by pointer? For example, you have a function: void Addition(int&amp; a, int&amp; b) vs void Addition(int* a, int* b) Thanks.
  19. Warrioruw

    Virtual Functions

    Hi all, I am creating an interface class that will contain virtual functions. The actual implementation of these virtual functions will be created in other classes that specify the functionalities. Simply to say, it's a one-to-many relationship. One interface with virtual functions, many...
  20. Warrioruw

    Call Excel in Access

    Hi all, I want to create a Access database which uses Excel to graph my data, because Excel is very capable of doing graph and chart. And I want to call Excel object programmably in Access VB enviroment. Any help would be appreciated.

Part and Inventory Search

Back
Top