Originally posted by: nahur
does not work for me in debug mode i am using vc5 sp3 nt 4 sp3
ReplyOriginally posted by: Spandan
My OS is Win98 and this application does not run on it.
I downloaded the code and then run the release exe.
I showed an icon like image at the center of the desktop what I guess was a splash screen.
Then nothing.
A minute later I pressed Ctrl+Alt+Del It showed Net Manager (not responding).
I was online at that time.
So ifthe NetManager does not run when net is on then what is it for?
I even Rebuilded the whole source in VC++5.It took som 3 minutes or more I guess to build it . Again it
hanged.
Please suggest if there isw som mistake.
Hope to get an improved version.
Spandan
By the way the zip-file that I downloaded is of 315KB.But on the URL above, its written 198KB. I could unzipp and build that file so there is no question of errror any way.
ReplyOriginally posted by: Ming Zhu
You have forgotten to release all the resources, which you had
Some more to say, the code has not been written clearly. There
regards
Hi,
allocated with the 'new' keyword. You will find memory leaks in
the output window when you run this project with debug mode.
are too many global variables and functions, which should be
avoided by a C++ programmer.
Ming
Reply
Originally posted by: Masaaki Onishi
Hi.
My Windows 95 never connects to the network.
I got another problem of netmanag.ini file.
If we open this program at first time, program generates netmanag.ini
file.
If we close this program without saving the satus, netmanag.ini
is just a blank file.
And next time, when I open the program,
this line, if(SouborProfilu.Open(m_sIniFilePath, CFile::modeRead)) fails. So, I deleted Try and catch
blank.
But even though I try to save the setting, I can't save these.
So netmanag.ini is also the blank file.
Even though this code is very interesting to me, we must check these.
When I try to open this program, my Windows 95 stopped and reboot my
computer more than five times. But now a little bit stable.
But the button like Add on the file property page, these buttons
never works. I guess this reason is that my computer doesn't connect
to the network? But we need this remedy.
I try to fix these problems, but if someone finds this, please
post your solution.
Take care.
-Masaaki Onishi-
Reply
Originally posted by: vinu
Hello,
Thanks for working out this nice piece of code , but i am getting resource errors while compiling. The
error
is "code page unknown" ( the czhec LANG definition part ). It would be very helpful if you
could
give me some info on how to avoid this. I am new to MFC & use VC 5.0.
Thank you,
Vinu
Originally posted by: Masaaki Onishi
Hi.
I found some bugs on Windows 95
1) I fixed resource file problems.
->Delete the code of the other language.
2) DLL files like WS2_32.dll and WS2Help.dll
-> I copied two dlls from Windows NT.
3) Application never starts.
->After I debug the code, m_dlgPropSheet->SetActivePage(5) fails.
So I delete this line.
At last, I can open the program. But,
1)Net property page never opens and if I click this, program is
stopped.
-> I didn't figure it out yet. Related to 3).
2)Except above problem, I can't quit this program by menu and
X button.
Take care.
-Masaaki Onishi-
Reply
Originally posted by: Petr Stejskal
There are updated many bugs and the code will be cleaner.
New functions available!
Petr
Originally posted by: Todd Barker
By design, the EnumerateWin95NetProviders() function is supposed to return a NULL delimited list of
network providers. The problem is that EnumerateWin95NetProviders() does not insert the NULL between each
string it retrieves from the registry, but rather assumes that the buffer that was passed in was
zero-initialized before calling the function.
The easiest way to fix this, is to simply add the following before the call to
EnumerateWin96NetProviders():
memset(netProviders, 0, sizeof(netProviders));
The list of Network providers retrieved from the registry under Windows 95/98 is corrupted.
EnumerateWin95NetProviders(netProviders, &numProviders);