help with error:msvcrt:MSVCRTD_operator_new_dbg Not allowed

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

help with error:msvcrt:MSVCRTD_operator_new_dbg Not allowed

Post by Sundy »

I installed Ubuntu8.10+Wine 1.1.15+Oracle9 and everthing is set. But once I run a excecutable program which works properly under Windows, the error poped out:


err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

Does anyone know how to solve this problem?

Thanks a lot
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: help with error:msvcrt:MSVCRTD_operator_new_dbg Not allo

Post by vitamin »

Sundy wrote:err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

Does anyone know how to solve this problem?
Try native msvcrt.dll it might fix the problem (winetricks vcrun6) http://wiki.winehq.org/winetricks
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

Post by Sundy »

Thank you Vitamin for reply
But I replaced msvcrt.dll with winetricks vcrun6 as you said, the error
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

is still there.

Does anyone have any ideas what I should do?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

help with error:msvcrt:MSVCRTD_operator_new_dbg Not allowed

Post by austin987 »

On Wed, Mar 4, 2009 at 3:56 PM, Sundy <[email protected]> wrote:
Thank you Vitamin for reply
But I replaced msvcrt.dll with winetricks vcrun6 as you said, the error
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

is still there.

Does anyone have any ideas what I should do?





Set it to native in winecfg.

--
-Austin
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

Post by Sundy »

The problem is still there!

err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

I used Ubuntu8.10+Wine 1.1.15+Oracle9

When I run the program which works properly under Windows the error poped out:
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

I replaced msvcrt.dll with winetricks vcrun6 as what vitamin said, then set it to native in winecfg as austin said, but the error is still there
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2
I deleted or modified...\windows\sysytem32\msvcrt.dll,the same error poped up. It looks like winecfg doesn't work.

Does anyone have any ideas what I should do?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sundy wrote:I replaced msvcrt.dll with winetricks vcrun6 as what vitamin said, then set it to native in winecfg as austin said, but the error is still there
Set to native what exactly?
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

Post by Sundy »

Here's my problem in detail. I got stuck. I appreciate if someone could help me out. I really need help!!!!! Thank you very much!



1)I installed unbuntn8.1+wine1.1.15. If I run wine notepad, the notepad window poped out, meaning Wine is installed properly.

2)I run wine winecfg opening wine set-up window ,select msvcrt,click add, edit to native, then apply, then I run wine notepad, the following error occured:

err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\system32\\notepad.exe") not found

3)Search ../.wine/drive_c/windows/system32/, there is a msvcrt.dll , if I run wine regedit, I could also see
HKEY_CURRENT_USER\software\wine\DLLOverrides\msvcrt is set to native.

Question: Why does not the Wine I installed support native DLL?
If I change to wine1.1.16, the same proplem occures.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

help with error:msvcrt:MSVCRTD_operator_new_dbg Not allowed

Post by austin987 »

On Sun, Mar 8, 2009 at 3:09 PM, Sundy <[email protected]> wrote:
Here's my problem in detail. I got stuck. I appreciate if someone could help me out. I really need help!!!!! Thank you very much!



1       I installed unbuntn8.1+wine1.1.15. If I run wine notepad, the notepad window poped out, meaning Wine is installed properly.

2       I run wine winecfg opening wine set-up window ,select msvcrt,click add, edit to native, then apply, then I run wine notepad, the following error occured:

err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\system32\\notepad.exe") not found

3       Search ../.wine/drive_c/windows/system32/, there is a msvcrt.dll , if I run wine regedit, I could also see
HKEY_CURRENT_USER\software\wine\DLLOverrides\msvcrt is set to native.

Question: Why does not the Wine I installed support native DLL?
If I change to wine1.1.16, the same proplem occures.
Did you actually install the DLL?


--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sundy wrote:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\system32\\notepad.exe") not found
Setting that dll to native means Wine will not use it's own. So that error message is correct.
Sundy wrote:3)Search ../.wine/drive_c/windows/system32/, there is a msvcrt.dll
It's a "fake dll" - resources only no code. Wine creates these for program that insist on seeing this dll in system32 directory.
Sundy wrote:Question: Why does not the Wine I installed support native DLL?
It does. You actually have to manually put that native dll where Wine can find it (either system32 dir or directory with the executable you run).
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

Post by Sundy »

Somehow it still doesn't work well

I still have unbuntn8.1+wine1.1.15+oracle9
I set and verified that wine does surpport native.dll.

Now I need to install an client.exe
But the following errors poped out

fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2
err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2

And the installation seems to stop there does not respond.

Thank you very much vitamin for reply!
Sundy
Level 1
Level 1
Posts: 6
Joined: Tue Mar 03, 2009 12:12 pm

Post by Sundy »

Does Wine support the DLL I wrote myself? How to register ? Do I need to declear that? I have already declear that I put my DLL under ../windows/system32/, and I used native msvcrt.dll and msvcrtd.dll. When I run it, the error err:msvcrt:MSVCRTD_operator_new_dbg Not allowed nBlockUse value: 2 doesn't pop out again. But it stopped before my window appears. It looks like it did not use my DLL. How should I make it recognize my own DLL?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sundy wrote:How should I make it recognize my own DLL?
What does your dll do? Is it replacing any of Wine's own dlls?
Locked