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 Chriss Miller 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: gismo
  • Content: Threads
  • Order by date
  1. gismo

    Multihread ansi C in visual Studio 6 on windows 7

    Is it possible to multi thread an ansi C console application on a 32 bit windows 7 platform using _beginthread. Also is the entire application subject to the 2 gig memory/application of windows or can each thread allocate 2 gigs memory. I already have the 32 bit app but don't want to rewrite for...
  2. gismo

    [b]commctrl.h VC10 64bit[\b]

    I have a C program that compiles fine in 32 bit but when I try and compile in 64 bit I get the error: error LNK2019: unresolved external symbol __imp_InitCommonControls referenced in function ProgressBar. I've included windows.h and commctrl.h. In the project \properties\VC++ Directories\Include...
  3. gismo

    Calloc memory allocation

    I have a program that has many calloc allocations for 2D arrays and finally a calloc call a = calloc(rc, sizeof( char)); The program runs fine for smaller file sizes but when file sizes get larger this calloc returns a pointer to NULL; I have freed all previous calls to calloc before this last...
  4. gismo

    How do I read a csv file with missing values

    I need to read a csv file that has missing values. The program is suppose to assign the values from the csv to 5 arrays. The program works fine when all fields have values. The problem is when the program encounters ,, instead of a value it skips the pointer assignment. When it encounters a...
  5. gismo

    return array of type double from VC to VB

    I am writing a C dll and need to know how to return an array of type double from visual C NOT C++ to Visual Basic. Both VC and VB are version 6.0.
  6. gismo

    Replace existing file with save

    I am passing a new or existing file to the sub listed below. If the file exists I want to replace it with the new data while keeping the original file name. It currently appends data to an existing file with each call to the sub. Thanks in advance Sub SaveToFile(FileNameOrNumber As Variant)...
  7. gismo

    SET CONTROL PROPERTY FROM VARIANT

    I have a collection that contains control properties such as MyForm.Mycontrol.Text stored as type variant. Is it possible to loop through the collection and set each property to a value. The way I'm doing it now is looping through the collection and within that loop, looping though each...
  8. gismo

    MDIChild Form Load Invisible

    Is there a way to load MDIchild forms invisibly? I have tried using move to move them off the screen and setting the form.visible property to false but they still flicker visibly on the screen as they load before they move. I need them loaded but not visible.
  9. gismo

    CONTROL ARRAYS AND TYPENAME

    I'm trying to distinguish between textboxes that are in control arrays and those that aren't in control arrays on a form. If Text1 is not a control array and Text2 is a control array I can do Dim ControlType1 as string Dim ControlType2 as string ControlType1 = TypeName(Text1) ControlType2 =...
  10. gismo

    PASS double** using stdarg

    I am trying to write a function that receives a varying number of double ** as args. when I try to acces the double ** I get an unhandled exception access violation. Can someone tell me whats up. //num is the number of arguements being passed. arguements will be double** void...
  11. gismo

    IS IT POSSIBLE TO CREATE A PROGRESS BAR IN C?

    Is it possible to create a progress bar on a message box in C. I'm creating a C dll not C++ though I'm using the MS Visual C++ compiler with no MFC as a console application.
  12. gismo

    Serialize TextBox Text

    I have forms with text boxes on them. I would like users to be able to enter text in the boxes and then be able to save the text to a file which can later be used to restore the text to the textbox. I believe that I need to use serialization. Does anyone have sample code to show me how to...
  13. gismo

    How do I convert String to an executable statement

    I'm passing an mathematical equation as a string from visual basic to a C function the contents of the LPCSTR would look like SI0=(SI1 + SI2) * SI3 / SI4; Where SI1,SI2,SI3, and SI4 are variables that exist in the function. How do I convert the string into an executable line of code.
  14. gismo

    R6002 Error "Floating point not loaded"

    I'm trying to convert some C programs into a dll in Visual c++. The subs will be called from a visual basic program. when the sub readfile is called I get the error R6002 Floating point not loaded. if I change the floats to int and change the data the dll works fine. Can anyone help me with...
  15. gismo

    visual basic multipage

    I'm running VB 6.0 and trying to use a multipage form for the first time. I'm loading it from MicroSoft forms V2.0. I have been trying to figure out how to drag and drop controls such as picture boxes and comboboxes etc to specific pages of the multipage. I drag the control to the page tab that...
  16. gismo

    upgrade from dos to win 2000

    I am finding my training difficult I need to find out how to upgrade my op system from dos to win 2000 to make sure menus are linked into cobol

Part and Inventory Search

Back
Top