Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by mik27

  1. M

    Does anyone have a C code to graph some antialiased lines?

    Re: Antialiased lines Another thing ... I remember that I had written it for a reverse Y VideoBuffer (like Windows DIB ... left -> right, DOWN -> UP) ... for a 'standard' frame VideoBuffer with the origin in left top corner (left -> right, up -> down) you must change the line in the previous...
  2. M

    Does anyone have a C code to graph some antialiased lines?

    Re: Antialiased lines Try this ... I assume that: The color (r, g, b) are float in [0, 1] space (you can easy change it in to [0,255]) VideoBuffer is a 'unsigned char *' (unsigned char pointer) to RGB 8/8/8 = 24bit video buffer VideoDimX, VideoDimY is the resolution X and Y of VideoBuffer...
  3. M

    Visual C++ and Visual Basic

    Yes you can call function VC ... but not directly! The method is to create a DLL with VC ... with the functions that you want to use in VB ... and then you can call the eported function from your VB program. How to call a DLL function from VB...
  4. M

    MS-DOS applications Under WinXP

    Simply using the VDM (Virtual DOS Machine) of XP ... windowed or full screen mode ... which is directly called from 16bit application ... when it run ... when you launch it (double click, or via RUN or CMD command line) ... but ... you must have the files 'autoexec.nt', 'config.nt' and...
  5. M

    VC++ 6 halts after running a function

    Re: VC++ 6 halt !!!!!!!! I tryed this code on my VisualC++ 6.0 SP6 (in a Win32 console application) ... and work fine ... it must work ;o) // have you this include? #include <malloc.h> int test() { char* temp=new char [3] ; //check for NULL ptr ... if 'new' don't work ...
  6. M

    VC++ 6 halts after running a function

    Re: VC++ 6 halt !!!!!!!! Your code crash on 'delete' operator!!! Try this ... // template declaration for 'strcpy' function #include <string.h> test () { char* temp=new char [4] ; // with ... // temp="123"; // you REassign to 'temp' the pointer of static ARRAY "123" ... // you don't...
  7. M

    Tools to devlop GUI to my project

    I use wxWidgets (wxWindows) ... an opensource portable GUI. Cross-platform GUI programming in C++ wxWidgets gives you a single, easy-to-use API for writing GUI applications on multiple platforms. Link with the appropriate library for your platform (Windows/Unix/Mac, others coming shortly) and...
  8. M

    Question in structures (C langauge) ?

    Is a pointer to a function ... look this example: //Your typedef struct typedef struct _selection { char prompt[MAX_PROMPT_LEN]; int (*function)(int); int fn_arg; } SELECTION; SELECTION mySel; //various func with same return value and passing...
  9. M

    Can windows platform application make using C?

    The best (old) book on Windows C programmnig ... using Win32 API ... is the 5Th edition of Programming Windows by Charles Pelzold (1998 MSPress) ... you can try to get it here ;o) ... in HelpFileFormat...
  10. M

    How to make program that reverses color with VC++?

    reverse coler with VC++ Hi ... It's all right... FindWindow(LPCTSTR lpszClassName, LPCTSTR lpszWindowName ) function is a good method to find a window ... and the "CLASS NAME" (LPCTSTR lpClassName ... first parameter) is a good idea to search a window ! The class name of MSWord 2003 is...

Part and Inventory Search

Back
Top