|
I don't think it wil work since it is a dual-core computer - so only one CPU will be stucked..
Eli
|
|
|
|
|
You're right. It won't work.
You could try to starve memory using the /burnmemory switch.
Boot Parameters to Manipulate Memory[^]
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Thanks for your reply,I will try that.
In case it is working - is it mean that ,for some reason,the operating system can't get enough physical memory(which is very weird because it is not consistent).
Thanks again,
Eli
|
|
|
|
|
That option is just to simulate a machine with less physical memory.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
eli15021979 wrote: 1. We're looking for an API which causes the operating system to hangs (so when we'll fiind a
solution we will be able test it.
What if you turned off ICMP replies from the server?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
How can i programming direct map using c++?
|
|
|
|
|
Hello
You can use the one from the STL. have a look to std::map.
Regards
Franck
|
|
|
|
|
How can I change or move the icons of an existing too bar? In other words, I would like to insert an icon like in the middle, How do I create room for it?
Thanks
sft
|
|
|
|
|
Goto Resource Menu. select toolbar. then select the last icon. this can be modified according to your needs. you just need to drag and drop the menu items to the place where you like.
All the best.
|
|
|
|
|
dear all
i have read something in internet how to call c++ .dll, and tried to declare functions in vb 6, but however after i compiled, the error was there:" can't find DLL entry point in xxxx.dll". so how to invoke the c++ member function in one .dll, someone can give me help to realize step by step. thanks a lot in advance.
note: probably one library has several classes, so how can i know which library i can use or how to use it?
rgds
modified on Wednesday, May 13, 2009 9:09 PM
|
|
|
|
|
Are you exporting the C++ class from the DLL?
If so, the member function names are mangled and exported.
Use a tool like depends.exe that comes along with Visual Studio and look at the exported function name.
Use the same name in your VB code.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
thanks for your reply. i didn't export. how to export it? i got .DLL only with object file library. as well as documentation. thanks
|
|
|
|
|
Read the documentation for Exporting from a DLL[^]
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
thanks a lot. i have read the articles how to export functions names in .dll. but this .dll was created by user. so here i just got .dll. nothing else, so how to export the function names? thanks.
|
|
|
|
|
Do you mean somebody else has created the dll and not you?
If so, the functions have already been exported.
Use Dependency Viewer (depends.exe) and open the dll file.
It will list all the functions that have been exported.
Check the actual name of the function and use that in the VB code.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
yes, somebody already created the .dll, i just would like to use it. so how i can use these function directly? also one library has several classes, how to use it properly? thanks..
|
|
|
|
|
my code is following:
Private Declare Function DataFormat Lib "icon_vc80_40d.dll" (ByVal cpIpAddress As String, _
ByVal dnsFlag As Boolean) As Boolean
Private Sub Command1_Click()
Dim a As String
Dim b As Boolean
Dim c As String
a = Text1.Text
c = DataFormat(a, True)
Text2.Text = c
End Sub
i used this code to test the .dll, but the error occurred: didn't find .dll file. or couldn't find entry point of .dll. what is problem?
Note: ICON_API icon::DataFormat::DataFormat ( const DataFormat& df,
bool cloneComponents = true
)
Copy constructor.
Parameters:
[in] df DataFormat object to copy.
[in] cloneComponents Specifies if a deep or shallow copy is made.
Thread Safety:
Not thread safe. The data being copied can change at any time.
could you help me to check, is this right? the Note above just showed dataformat() detail.
modified on Thursday, May 14, 2009 2:46 AM
|
|
|
|
|
I made a suggestion twice in my earlier posts.
Please look at that.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
thanks a lot, i have documentation of .dll, so i know the actual function name, is this right? sorry, i dun know more this point. now i used the code to test one function DataFormat() what i posted in previous reply. so the error occurred: file not found: icon.dll. so what is problem? and also i have several classes in one library, how i can call the functions properly?thanks.
rdgs
|
|
|
|
|
dear friend
i have downloaded the Dependency Viewer software and installed it, however i just could get the .dll in .exe file. so can't get export funcions. any problem? thanks a lot
|
|
|
|
|
Open the .DLL file in dependency viewer and look at the right hand side pane.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
however i couldn't open it. software just reminded me to choose type which will be open, after that, just showed me how many dll. i downloaded dependency viewer 1.0. what is problem i made. thanks.
|
|
|
|
|
zhiyuan16 wrote: so how to invoke the c++ member function in one .dll
I guess only c functions exported from the dll can be called from VB.
|
|
|
|
|
thanks for your reply. i knew i need to export the c++ dll function first, and then i can call it. but i don't know how to export step by step? i got the dll already. how to export? please help me. thanks a lot
rgds
|
|
|
|
|
You can call a c function exported in a c/c++ dll from a VB application. And to export a c function all you have to do is put the following keywords in front of the function to export as shown below
extern "C" __declspec( dllexport ) void AnotherCFunc();
extern "C" - is used to avoid the name mangling
|
|
|
|