Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~19.2K People Reached
About Me

I'm a recent graduate from BEng Electronics & Computer Systems. I'm now working as a software engineer in C/C++/VB (just a beginner!). I also have about a year of Java development experience.

PC Specs
HPZ200 Windows 7 Professional 32-bit Intel Xeon 2.53GHz 4GB RAM, 500GB HD
Favorite Forums
Favorite Tags
Member Avatar for ftl25

Hi, Does anyone know of some code analysis tools (add-ins) for VB6? I used to use checkstyle and some other tools for Java, and am looking for something similar for our VB6 project. There is a huge codebase, and as I'm just starting out in VB coding, I'd like advice …

Member Avatar for IssamLahlali
0
1K
Member Avatar for ftl25

Hi, I have the following paragraph: [I]The pet owner is responsible for the cost of the treatment given to a pet. The owner is invoiced for the treatment arising from each examination, and the details recorded on the invoice include the invoice number, invoice date, owner number, owner name and …

0
54
Member Avatar for ftl25

Hi, I have the following paragraph: [quote] The practice provides various treatments for all types of pets. These treatments are provided at a standard rate across all clinics. The details of each treatment include a treatment number, a full description of the treatment, and the cost to the pet owner. …

0
56
Member Avatar for ftl25

Hi, Can anyone advise a good ER modelling tutorial/book or program? It is very time consuming to do ER diagrams in word. Also, has anyone else has come across the 'Pet Practice' database modelling problem? Thanks.

0
57
Member Avatar for ftl25

Hi. I have just downloaded infozip for integration with some of our vb6 software. I got it working however, when I check the zip folder, I see that a directory structure has been created for each path contained in the filenames. E.g., I have a list of files as follows: …

0
80
Member Avatar for ftl25

Hi, I have the task of creating an export tool - where a list of files are gathered and zipped up and placed into a folder of the user's choosing. So far I have gathered a list of files and put them in a list box for the user to …

Member Avatar for ftl25
0
192
Member Avatar for ftl25

Hi, I am writing a program in VB6 where I'm adding an "Import/Export" option to the file menu. Starting with export, I basically need to find all files matching a particular filename and zip and export them to a folder. Currently I am simply finding all the files (with different …

Member Avatar for AndreRet
0
1K
Member Avatar for ftl25

Hi, How do I check if a member of a struct is null? I've tried: [CODE]if(ErrorInfo->TestName != NULL)[/CODE] The above method returns true even when [B]ErrorInfo->TestName[/B] contains nothing (debug shows it as 0xccccccc, ""). [CODE](!(strcspn(ErrorInfo->TestName, "") == 0))[/CODE] The above method throws an access violation. I've tried other ways too …

Member Avatar for ftl25
0
9K
Member Avatar for ftl25

Hi, Can anyone advise on how I can convert a string to a hex string? [B](And subsequently perform an AND operation on two hex strings.)[/B] I have a string value passed in (e.g., 1006), and I want to turn that into hex (0x1006). I have tried the following: [CODE] [B]// …

Member Avatar for gerard4143
0
228
Member Avatar for saloth

Hi, i'm making a simple texteditor from VB6, and i use Visual C++ as my back end. i call a function where in I will read another text file and put it in a structure. this is the function: void loadR() { ifstream file; file.open("C:/CaseStudy/CaseStudy/Rsrvd.txt",ios::in); for (i=0; i<44; i++) { …

Member Avatar for ftl25
0
191
Member Avatar for ftl25

Hi guys, I need to write a piece of code which takes two strings (char arrays) containing hex values and perform an AND operation on them. (The aim is to mask bits from the first value). A Mask value of all Fs means that we don't want to mask any …

Member Avatar for ftl25
0
112
Member Avatar for ftl25

Hi. Is is possible to create a lookup table of function pointers to functions with variable numbers/types of arguments? If not, can anyone recommend a solution for my problem? I have a list of commands corresponding to functions with variable types/numbers of arguments. Some don't take any arguments. I was …

Member Avatar for vijayan121
0
2K
Member Avatar for ftl25

Hi, I have a structure defined in my header file as follows: [CODE] struct TestInformation { int TestPointer; // pointer to the selected test long TestPointerValue; // the value contained within the pointer long TestSize; // the size of a test char *TestText; // the text contained within a test …

Member Avatar for ftl25
0
245
Member Avatar for ftl25

Hi. I am currently building a small DLL (~20 functions so far) project to sit between a larger DLL and a VB project. I am now at a stage where I want some advice before proceeding (I can fairly easily make changes at this stage, but if I continue it …

Member Avatar for mike_2000_17
0
113
Member Avatar for ftl25

I have a look up table as follows: [CODE] // A structure to hold all the commands and function pointers typedef struct { char functionName[256];// The function name is used to refer to the function pointer int (_stdcall *myfunction)(char *, char *); // This defines the function pointer } LOOKUP_TABLE; …

0
36
Member Avatar for ftl25

Hi folks, I am writing an application in C, but I have the OOP functionality that C++ provides. (i.e., I can only use C library functions). I have a function as follows in TSL1.cpp: [CODE] void TSL1_ExecuteTest (char *sCmdInt[]) /******************************************************************************* Name: TSL1_ExecuteTest Description: This function executes tests from current TSL1 …

Member Avatar for ftl25
0
181
Member Avatar for ftl25

Hi. I am trying to create a look up table in C. I have attempted it, but there are compilation errors occurring. Can anyone tell me what i'm doing wrong/offer any advice? I have in my header file the following: [code] struct { (void)(*function)(); const char* functionName; } lookUpTable[] = …

Member Avatar for gerard4143
0
2K
Member Avatar for ftl25

Hi I am creating a DLL which will often make calls to another DLL. I have gone through the procedure of getting a handle to the other DLL and this works fine for some function calls. It seems like the functions which don't modify a parameter work fine. The access …

Member Avatar for ftl25
0
611
Member Avatar for xheavenlyx

Before I ask the question I realize that selection of a programming language depends on the context of a problem at hand. Related to this I would like to know (if anyone) how many of you use which language for programming microcontrollers, embedded systems and even generally on PC. Here …

Member Avatar for stevephillips
0
213
Member Avatar for guru_iyer

I need to get an output like: 1 1 11 11 111 111 1111111 I tried a lot and came to the following program. But i'm getting output like: 1 1 11 11 111 111 1111111 Please help me correct this program. The preview of the shape was not coming …

Member Avatar for Adak
0
146
Member Avatar for ftl25

Hi. I am writing a DLL application in C (using VC6) which calls external DLL functions. Some of those calls execute and return without a problem, but some others don't. When I say they don't return, I mean that either they don't return at all, or else they take a …

Member Avatar for Ancient Dragon
0
72
Member Avatar for ftl25

I have an array of strings as follows: [CODE]char *sCmdInt[8];[/CODE] I need to use elements from the array to pass to another dll. The function takes two LPSTRs as parameters. What I need to do is copy two elements from the array into ints/longs, and then create two LPSTRs from …

Member Avatar for Ancient Dragon
0
99
Member Avatar for Newtothis123

/* About this program: - This program counts words. - The specific words that will be counted are passed in as command-line arguments. - The program reads words (one word per line) from standard input until EOF or an input line starting with a dot '.' - The program prints …

Member Avatar for ftl25
0
674
Member Avatar for ftl25

I have an array of strings as follows: [CODE] char *sCmdInt[8];[/CODE] I am filling this array by tokenizing a line of text from a file. I then want to check if element 0 of the array is equal to a value. Eg: [CODE] if (sCmdInt[0] == "ReadMemory32") { // do …

Member Avatar for ftl25
0
134
Member Avatar for ftl25

Hi. I am a C/C++ newbie. I am looking for advice on best practice. I am building an application which will take an input command (string), compare it with a list of stored commands, and go off to the relevant function. What i'd like to know is; what is the …

Member Avatar for mike_2000_17
0
177