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 bkrike 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: joeGrammar
  • Content: Threads
  • Order by date
  1. joeGrammar

    delphi syntax

    Can anyone tell me why this is not ok and what I have to do to make this initialization work? I'm more of a C guy type TPart = record name: String; size: Integer; dt: Integer; end; const cpha30_11: array[0..2] of TPart = ( ('A0101', 6, 0), ('A0203', 2, 0)...
  2. joeGrammar

    TApi components

    Hi there, I am writing a application in delphi which needs to receive data over a modem. My question is, is there a way to read the data from the modem and store it in a variable for manipulation? thanks
  3. joeGrammar

    Async component libraries

    Hi guys, I'm trying to use the async component library to read data coming in from a modem. Does anyone know how I get get the data and store it in a string for manipulation? Thanks
  4. joeGrammar

    variable parameters

    Does anyone see anything wrong with this code? CALL: printDetailLine(0,szLine,0); (szLine is a zero-terminated string) FUNCTIONS: inline LOGIC Report::printDetailLine( int dummy, ... ) { va_list argptr; LOGIC bStatus; va_start( argptr, dummy ); bStatus =...
  5. joeGrammar

    checking for directory

    Is there a way in C++ to check if a filename is a directory?
  6. joeGrammar

    FILE*

    I want to compare the value of a file pointer after subsequent operations. I have a situation where I have a FILE* as a private member of a class and it doesn't seem to be retaining its value between member functions. So: How do I display the value of a file pointer?
  7. joeGrammar

    dlls

    Is there a way to find out which dlls are in memory when executing a MSVC program? Thanks
  8. joeGrammar

    dynamic allocation

    Check out this piece of code, This is producing memory faults upon the end of my program void DeleteAllElements() { STD_NAMESPACE for_each(vector<T*>::begin(), vector<T*>::end(), ---> delete_function() ); } This is the...
  9. joeGrammar

    diagnostic tools

    Can anyone recommend a good memory usage diagnistic tool? My program is have trouble destructing and I wanna see where the errors are coming from.... Thanks lads
  10. joeGrammar

    Major Error

    I'm building a gigantic program(prolly 500000 lines) and I'm performing a trace of the steps. Apparently the program works fine, but as it is exiting I'm getting this message Debug Assertion Failed. File dbgheap.c Line: 1076 Expression: _pFirstBlock == pHead I know this is probably a memory...
  11. joeGrammar

    string class

    Just say I have some thing like this const char* temp = &quot;test&quot;; string value; What is the proper way to assign the const char* to the string. ie value=temp will not work, what will?
  12. joeGrammar

    debugging a dll

    Hey guys(and the odd girl) I'm trying to debug my application and I want to trace what is called in my dll. The problem is the debugger will not trace the dll, is there a way to do this? Or does anyone know of a good debugger for Windows?
  13. joeGrammar

    linking with a dll

    Hey dudes, could someone check out these unresolved symbols spawning from my dll. They are all exported, it seems to be name mangling, but each function has extern &quot;C&quot; in front of it. Can anyone make any suggestions, this is driving me looptyloo 03120101.obj : error LNK2001...
  14. joeGrammar

    Name mangling

    Hello dudes, I'm trying to export/import dll classes and functions, but it doesn't seem to be working properly. These are some of the unresolved symbols I'm getting: __imp__GetAppName@0 GetPyblUsingPymntId@24 My question is, is the @24 a name mangling thing, will this not resolve? If so...
  15. joeGrammar

    dllimport error

    Here is my DLL code #include <iostream.h> #if defined(DLL) #define dllapi __declspec(dllexport) #else #define dllapi __declspec(dllimport) #endif class dllapi abstract { public: abstract(); ~abstract(); virtual void pvfun() = 0; void dumbfun(); }; #if !defined (DLL) class dllapi...
  16. joeGrammar

    dll interface

    If any of you find yourself creating a DLL in which you are going to create several console applications in which you wish to define a class, but don't wish to declare it several times, you may wish to do the following 1. declare the class within the dll (this will save you from repeating code...
  17. joeGrammar

    exporting classes in a non-mfc dll

    Something tells me this may be a pain in the arse. Has anyone ever done this? Let me know
  18. joeGrammar

    defining outside of scope

    If I want to define something declared in a dll, in a console application that accesses the dll... is this possible?
  19. joeGrammar

    abstract classes

    A question for all you pure virtual function experts out there Say I have created a dll and I wanted to define functions within a class in a console application accessing this dll... then I would have to make the functions pure virtual and in turn make the class abstract. When defining these...
  20. joeGrammar

    CFileFind

    CFileFind is a great little tool if you have a large list of files you'd like to change the extension to. You don't even have to specify anything on the command line. All you have to do is create a console application with MFC support, create a CFileFind variable and use it as such: bool var...

Part and Inventory Search

Back
Top