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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by avivhal

  1. avivhal

    sand clock object

    Hi, Does anyone know if there is an MFC class to represent the "sand clock"? Thanks.
  2. avivhal

    Problems with DrWatson.

    I have a PC with allo the dev tools from microsoft. I wrote some changes to the software(in VC++ ,MFC) that my company has and didn't have any problems on my PC(with WINNT) but when other users in the company tryed using the software on winnt they got Dr Watson. I tryed the tool DRWTSN32 and...
  3. avivhal

    dll global variables

    I have a dll project in visual c++ and I want to have a variable which will change by different exe files which use this dll. for example if i have "int i=0; //global var of the dll file ..... int func { if (....) i++; } " I would like i to be 1 for the next time func is...
  4. avivhal

    using structure var in different files

    I have the following struct: typedef struct IPHWNDTAB { HWND hWnd; char IP[30]; }IPHANDLE; typedef IPHANDLE FAR IpHandle[5]; I want to use the var "IpHandle" in different files in my visual c++ project. some of the files are *.c files that create a dll and some are *.cpp files which...
  5. avivhal

    how to transfer data between VC++ projects.

    how can i transfer variable from one project to another? for example should i write in one project: extern int x; x=1; wnd in another i would like to write: int y; y=x; i dont want to use assembly or writing to files but just the extern system with functions or vars. Thanks, Aviv.
  6. avivhal

    calling a function from different VC++ project

    I am doing TCP/IP stuff , but this is the lowest software level that needs to communicate with one level higher.
  7. avivhal

    calling a function from different VC++ project

    I'm trying to call a function from more then 1 project . I do the following: in one project i wrote: int ChosenPort; extern int GetPort(){return ChosenPort;} from another i try to call the function: int ChosenPort; ChosenPort=GetPort(); I get a linking error: error LNK2001: unresolved...
  8. avivhal

    how to get sys font size?

    I need to open a CFormView window in a certain size depending on the system font definition. How can I know if large fonts or small fonts are defined? Thanks for the answer, Aviv.
  9. avivhal

    fread problems

    I wanted to get a checksum of a file. when I wrote the following function with "#define READ_BUFFER_SIZE 1024" It didn't get the right checksum for very big files(it did work for smaller files). I changed it to "#define READ_BUFFER_SIZE 2048" and it worked!it shouldnt really...

Part and Inventory Search

Back
Top