Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for beaute

Hello I was looking at ideas on how to restrict copying to/from USB devices on a network. After brainstorming I thought of creating a Windows Service (installed on all network workstations) that monitors USB devices and their activity. If, for example, a user attempts to copy a file that meets …

0
64
Member Avatar for beaute

I am trying to learn about marshaling structures and DLL's. [URL="http://msdn.microsoft.com/en-us/library/ef4c3t39(v=vs.80).aspx"]I'm following this example[/URL]. The code builds and compiles just fine. But when I run it, the lines where the call to the function is returned; it makes the call to the function from the DLL, goes through it, but …

Member Avatar for beaute
0
94
Member Avatar for beaute

I have function which I have created a DLL for. I'm trying to call this function from a C++ program using some code I found online. I know the code works fine when the function in the DLL uses the convention call [ICODE]__stdcall[/ICODE], however, I don't want to use this …

Member Avatar for mike_2000_17
0
143
Member Avatar for Arjunah

Your problem is that you're not using `strcmp` correctly. [Refer to C++ Reference strcmp](http://www.cplusplus.com/reference/clibrary/cstring/strcmp/). Correct if-statement is: if(strcmp(maxy,"yes")==0){ do something; } else{ do something else; } Also, please use `[CODE]` tags next time.

Member Avatar for WaltP
0
177
Member Avatar for beaute

I have the following piece of code which I'm trying to understand. I know what this code does, but I don't get what each element mean. Can somebody please explain it to me? [CODE]typedef int(__stdcall * pICFUNC)(int, int); pICFUNC add; add = pICFUNC(lpfnGetProcessID);[/CODE] Basically, this code allows me to prototype …

Member Avatar for Ancient Dragon
0
150
Member Avatar for beaute

I have a program written in C on LINUX environment. I have another wrapper application written in C++ on Windows. I have a DLL of my C code which I cannot change/modify (I also have access to the original source code) but without exports. I cannot modify the original source …

Member Avatar for vijayan121
0
621
Member Avatar for beaute

I am still trying to resolve the problem I described in [URL="http://www.daniweb.com/software-development/cpp/threads/388174"]this thread[/URL] where I basically have a DLL written in native C and want to develop a wrapper function for it and call the C functions from within a C++ application. The solution described in that thread works, but …

Member Avatar for beaute
0
466
Member Avatar for beaute

Hello. I have a problem and I would love it if I could get some insight on it. I have read the forums with many answers about the subject, but I'm still having problems so I'm writing here. Basically I was following [URL="http://tom-shelton.net/index.php/2008/12/11/creating-a-managed-wrapper-for-a-lib-file/"]this[/URL] guide which is for creating Managed Wrapper …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for beaute

Hello, I'm trying to read dictionary words from a file and store the output in a struct element of type unsigned char *. I keep getting a bunch of memory related errors and segmentation faults which Im sure are totally related to me trying to access something that's not really …

Member Avatar for csurfer
0
141
Member Avatar for beaute

Hello, I'm trying to understand Big O notation, specifically to understand how to calculate it for a given program. I have my lecture notes but I don't exactly get what they're saying. I understand that there is a solid definition of O(N). For example; [code]F(N) = O(G(N)) reads that F …

Member Avatar for Rashakil Fol
0
207
Member Avatar for beaute

Hello, I'm trying to solve an assignment that I have, but I don't want to get into the details of the assignment and confuse everyone. But, the basic idea is that I have to read a file, containing a list of team names and information about matches, and then I'd …

Member Avatar for cikara21
0
108