I'm experiencing a networking problem which I asked elsewhere and so this is the problem and this was the solution I was given, unfortunately the solution doesn't work in Windows10. The problem was non-existant six months ago, which is a latop and a desktop both running Windows10. As of the last few weeks I cannot connect to a shared folder which lives on the desktop from the laptop. When I attempt to connect to the shared folder from the laptop I'm prompt for the login and pass, and I've tried all the login and passwords which I have and nothing …

Member Avatar
Member Avatar
+0 forum 6

I was wondering how for example drop box or a NAS is coping with the different file systems on different operating systems when sharing a folder? I was reading more about the different file systems and noticed that they ol have their size limits or they all safe their files in a different way. But how is it possible to have shared network folder between these different operating systems and their file systems. Because for example a FAT32 file system cannot have files larger than 4GB. But what if a user with a NTFS file system shares a folder with …

Member Avatar
Member Avatar
+0 forum 2

Hi Group, I've written a macro to save a copy of the spreadsheet at the end of each day. I tried to test it as a shared file and learned the macro wouldn't work. Is this normal for a shared document? If so, is there a way around this? How can I do this? In advance, thanks for your help. Don

Member Avatar
Member Avatar
+0 forum 7

Expecting a spike in traffic on my website. Not sure what to do. I have a website thats currently on a shared server plan. It's been working fine. In about a week, I'm expecting a spike in traffic during a specific 4-day event. I could have as many as 1000 visitors at one time on my site. My site is basically a phpbb 3.0 forum. I'm not sure what would happen with such a spike. Would the server crash or would access to the site grow to a crawl? My host is offering to switch me to a VPS or …

Member Avatar
Member Avatar
+0 forum 2

Hi members, This is a program i wanted to implement semaphore between parent and child processes which are trying to access a shared variable called counter ... i dont know why it is not getting incremented during the child process !! someone help please !! #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <semaphore.h> #include <stdlib.h> #include <errno.h> #include <string.h> sem_t mutex; int counter; int main () pid_t child_pid; sem_init(&mutex, 0, 1); printf ("the main program process ID is %d\n", (int) getpid ()); child_pid = fork (); if (child_pid != 0) { printf ("This is the parent process, with id %d\n", …

Member Avatar
Member Avatar
+0 forum 2

Is it possible? If you know how let me know.

Member Avatar
Member Avatar
+0 forum 2

Hello everyone! I hope that someone could help with my C assignment. The main task is to demonstrate forking, piping, message queues, signals, and shared memory with an example that a rabbit female is waiting for a rabbit boy to tell her a poem, she gives a gift in return (plus other things that doesn't matter now). I started programming in C two months ago, and since it's different than C++ and Java it's giving me a lot of trouble, even to manage a string (yeah, char array). Since I don't really know how to wait for each other to …

Member Avatar
Member Avatar
+0 forum 1

I have a warning that I can;t get rid of: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. I am pretty sure it is becasue I have not dimentioned the variable but how do you dimention an IO.memorystream. Here is the code: Photograph1.Image = Photograph1.Image.FromStream(New IO.MemoryStream(arr)) Any help would be greatfull. The programms runs and works, its just got those annoying warnings.

Member Avatar
Member Avatar
+0 forum 5

hi friends I've a code to compute integral with area function in code. I used Fork, and for returned values I must use shared memory. now I need to embed a semaphore in my code to control the critical area(here is shared memory). I don't know how to embed semaphore in it. Here is the code: #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<sys/wait.h> #include<sys/types.h> #include<sys/shm.h> #include<semaphore.h> int area(int a,int b,int H) {return (((a*a)+(b*b))*H)/2;} sem_t sem; main() { int *value; pid_t pid; int i; int status; int result=0; int pids[10]; int shmid; key_t key; key=ftok("prog.c",0); shmid=shmget(key,1024,0644|IPC_CREAT); value=shmat(shmid,(void *)0,0); if(value==(int *)(-1)) perror("shmat"); if(sem_init(&sem,0,0)==-1) perror("Semaphore initialize …

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm wondering if someone can help me with a problem I've been trying to solve for almost a week now which concerns shared ranking (i.e. whilst I am trying to rank things in order of one field, if two or more entries share the same value then they receive the same ranking). I have a MySQL database as follows:- racedate | racetime | racecourse | horsename | forecast | rank | id The racedate for the purposes of this will always be the same. The racetime and racecourse together identify the race in question. forecast is the price given …

Member Avatar
Member Avatar
+0 forum 6

i created a dll file using vb.net then it has a shared function that will execute a stored procedure of mysql but my code is something long and when accessing it, it has a big risk that it can produce an error if there is an incorrect string input, i am asking an advice how i can make it much better or can point me something much better than my code as my reference. here is my code first i created a function named mysqlParamDatatype wiith 1 parameter, this function will detect the mysqldatatype of the mysql sproc parameter so …

Member Avatar
Member Avatar
+0 forum 1

can anyone show me the point to get the tutorial on how to print using shared printer in java (windows os) ? thank you all

Member Avatar
Member Avatar
+0 forum 8

Following is the one of code written by me for shared memory. Problem is that program donot come outside from marked loop and read numbers infinitely. "common.h" [CODE] struct common { int a[10],b[10],c[10],flag; }; [/CODE] p1.c [CODE] #include<stdio.h> #include<unistd.h> #include<stdlib.h> #include<sys/shm.h> #include"common.h" int main() { int running=1; void *shm=(void *)0; struct common *shared; int shmid; shmid=shmget((key_t)1234,sizeof(struct common),0666|IPC_CREAT); if(shmid==-1) { printf("shmget failed"); exit(EXIT_FAILURE); } shared=shmat(shmid,(void *)0,0); if(shared==(void *)-1) { printf("shmat failed"); exit(EXIT_FAILURE); } printf("Memory attached at %x\n",(int)shared); shared->flag=0; while(running) { printf("%d",shared->flag); if(shared->flag==0) { int i; printf("Enter the elements of first array on behalf of p1\n"); [COLOR="red"]for(i=0;i<10;i++) { //printf("%d\n",i); scanf("%d",&(shared->a[i])); fflush(stdin); }[/COLOR] …

Member Avatar
Member Avatar
+0 forum 3

I am creating a shared database to record requests entered by a team of 30. I need to record the Order Number, Reviewer Name, Date, Action Type(Order Type), Client Name, and a comments box for each order entered. When creating forms, Currently Reviewer Name and Date are auto-input so the reviewer will not have to enter this information. Client Name, Action Type are drop down boxes and Order Number is manual input. All are required inputs excepting the comments field. Can 30 people add to one table all at the same time? Or is a more practical approach 30 tables …

Member Avatar
Member Avatar
+0 forum 3

Here's the problem I'm trying to solve: I've written a DLL that's used as a plugin within another program. Within the DLL is a number of structure allocations which represent the positions of points in a mesh (over time). These allocations can be very very large. If another instance of the main program is started and my plugin is loaded, I would like to be able to access (read) these allocated structures from the first DLL instance. I would not be changing the info in memory, I just need to read it. I can obviously write the structure to a …

Member Avatar
Member Avatar
+0 forum 19

I am relatively new to Python and just have a couple quick questions about using file paths in Python code. 1) As I was recently playing around with the command line, I could not get a file path to work correctly unless I used forward slashes in the path...for example: [code=python]reader = csv.reader(open('C:/Folder/Folder/file.txt', 'wb'))[/code] However, I wrote a program previously that used the backslash and everything worked just fine. Is there a time to use the backslash and time to use the forward slash or does it not matter? 2) I was also trying to use the path to a …

Member Avatar
Member Avatar
+0 forum 1

Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the audio has finished. I have tried with events, but (correct me if I am wrong) when using events a thread has to wait until the other sets the event; and it is not may case, because in my processor thread the processor is working inside a loop that has to …

Member Avatar
Member Avatar
+0 forum 4

Im not familiar with the correct terminology to use with this. I have a form that i need to use in two different projects, and the form can remain identical for each project. I have read that there are code bases in other ides, where i could make a shared directory and just link to the file i want to include. anytime i change that form it is updated and shared between each program. kind of like a php include('') .. libraries/dlls (maybe im missing something) but i dont see a way to share an actual form (interface and code) …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone. i have an issue with a server program i'm developing for a university project. The issue is the following: The server program i'm building uses shared memory and forks. However i have a problem as to how can i destroy the shared memory segments i've created. A simplified version of my code is as follows | | \ / v [CODE] int main() { //connection to clients an stuff prossid = fork() if(prossid == 0) { //do stuff for child prossess } else { close(ns)//if it's the father prossess close the connection with the client program } }[/CODE] …

Member Avatar
Member Avatar
+0 forum 3

Hello I do manger 5 PC running Windows XP in which one serves as internet server( with shared Dial Up). Before the connection was alright but now the client PC Hardly Connect easily, even though they recieve Automatic IP the internet connection do break at times and all the client will stop browsing, while the server is still browsing. Please what more can i do Thanks

Member Avatar
+0 forum 0

Hi All, My knowledge of databases and Access is almost zero but none the less I have to try and solve a problem with a small home-grown Access database and hoping someone can help. I've done many searches and can't locate what I thought would be an easy answer. There was a posting on this site by cassyjack with an answer by jbennet that I thought for sure would fix our issue but no joy. We have a small database with a few Tables, a couple of Forms, and a couple of Queries and Reports. There are about 5 users …

Member Avatar
+0 forum 0

The End.